gdog12356 Posted April 24, 2011 Author Share Posted April 24, 2011 Hello, i was wondering if it was possible to have a transparent hotbar. I found this```Private Declare Function AlphaBlend Lib "msimg32.dll" (ByVal hdc As Long, ByVal lInt As Long, ByVal lInt As _ Long, ByVal lInt As Long, ByVal lInt As Long, ByVal hdc As Long, ByVal lInt As Long, ByVal lInt As Long, ByVal lInt _ As Long, ByVal lInt As Long, ByVal BLENDFUNCT As Long) As Long```. And robins```Sub SetTranslucent(ThehWnd As Long, nTrans As Integer)Dim attrib As Long attrib = GetWindowLong(ThehWnd, GWL_EXSTYLE) SetWindowLong ThehWnd, GWL_EXSTYLE, attrib Or WS_EX_LAYERED SetLayeredWindowAttributes ThehWnd, RGB(0, 0, 0), nTrans, LWA_ALPHAEnd Sub```. And soul told me i need to put it into a sperate form. If someone knows how to do this, could they please explain what i need to do? Basically i want to have the skill bar, transparent enough, so that if the player walks under it, than they can still see the player. :) thanks. Link to comment Share on other sites More sharing options...
GKO Posted July 15, 2011 Share Posted July 15, 2011 I think, umm. Wow. Im help less. :confused: Link to comment Share on other sites More sharing options...
GrimReaperReborn Posted July 15, 2011 Share Posted July 15, 2011 Its a very dumb way of doing it. Basically you place the hotbar into a separate form and I think this fades that form. You'll have to change all the code the refers to the hotbars. I recommend against this. Link to comment Share on other sites More sharing options...
GKO Posted July 15, 2011 Share Posted July 15, 2011 But does it make it appear transparent? Link to comment Share on other sites More sharing options...
Robin Posted July 15, 2011 Share Posted July 15, 2011 @GKO:> But does it make it appear transparent?_At a cost._If you want transparency then stop going down such convoluted routes. Just use CS:DE. Link to comment Share on other sites More sharing options...
Ruins of Hell Posted July 15, 2011 Share Posted July 15, 2011 How many times have I attempted to reiterate to you that this way is slow and pointless? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now