santa-clause Posted April 9, 2013 Author Share Posted April 9, 2013 I found this tutorial it's a little old but it still works but i have one problem it works till i put it onto the picscreen because then frmMain just overwrites the transparency of the chat.how can i fix this?> Put this in modGameLogic, at the top.> > ```> > 'Eclipse Transparent chat, Tutorial Created by Akio!> > Public Declare Function SetWindowLong Lib "user32" Alias "SetWindowLongA" (ByVal hwnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) As Long> > Public Const GWL_EXSTYLE = (-20)> > Public Const WS_EX_TRANSPARENT = &H20&> ```> > Then, put this on the top of frmMain code.> > Dim result As Long> > result = SetWindowLong(txtChat.hwnd, GWL_EXSTYLE, WS_EX_TRANSPARENT)> > result = SetWindowLong(txtMyChat.hwnd, GWL_EXSTYLE, WS_EX_TRANSPARENT)> > If you want anyother transparent text boxes, copy" result = SetWindowLong(txtChat.hwnd, GWL_EXSTYLE, WS_EX_TRANSPARENT) " , and replace txtChat with textbox name.> > Thanks for reading,> > Akio> > Credits: I did not make the code, i found this a while ago on my comptuer, and i have no idea were it is from. Link to comment Share on other sites More sharing options...
zerohero Posted April 9, 2013 Share Posted April 9, 2013 Long story short, this is not a good solution and will be terrible at best if you ever did get it implemented with the functionality you are after. You need dx8 to truly do what you are trying. A detailed answer would only give the same conclusion, trust me I tried. Link to comment Share on other sites More sharing options...
santa-clause Posted April 9, 2013 Author Share Posted April 9, 2013 Ow okay but i don't wanna use dx8 i know how dx8 works (the basics)But this pc can't handle dx8 kinda a fail but wathever so i wanna use dx7. Link to comment Share on other sites More sharing options...
escfoe2 Posted April 21, 2013 Share Posted April 21, 2013 If you want to use something like this, you have to put it in to the game loop so it constantly updates the background of the chat box. Otherwise, this will set the chat box transparent and when you move, the background will not move with it. Now when you do this successfully, you'll notice just how awful of an idea this is in DX7 by your FPS. Good luck. Link to comment Share on other sites More sharing options...
damian666 Posted April 21, 2013 Share Posted April 21, 2013 why not just use the chat drawn to screen? Link to comment Share on other sites More sharing options...
escfoe2 Posted April 22, 2013 Share Posted April 22, 2013 There should be a tutorial for Evil Bunnie's chat rendering in the Tutorials section. I'll find you a link when I can. Just wanted to let you know about it and that it's an option like Damian mentioned. 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