![]() |
Transparent Rich Text Box - Printable Version +- Mirage Source (https://mirage-engine.uk/forums) +-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61) +--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18) +---- Forum: Resources (https://mirage-engine.uk/forums/forumdisplay.php?fid=49) +---- Thread: Transparent Rich Text Box (/showthread.php?tid=4) Pages:
1
2
|
Re: Transparent Rich Text Box - Da Undead - 25-06-2007 Wat I was just thinking. Its making result variable equal something, now don't you have to call that? Re: Transparent Rich Text Box - Robin - 25-06-2007 No. Re: Transparent Rich Text Box - PsychoGT - 07-09-2008 I have a question on this. Code works fine for me except one small problem. When the RichTextBox for receiving the text such as chat, game data, etc starts to scroll... It smears all the text upward as if it isnt clearing then reapplying or something. Any suggestions? Re: Transparent Rich Text Box - Robin - 07-09-2008 Make sure it's not loaded over the game screen. Re: Transparent Rich Text Box - PsychoGT - 07-09-2008 It isnt loaded over the game screen. The only solution I have found so far to make it not smear is to make the richtextbox invisible then visible again after each time the text changes, but then the colors are not saving with that. Re: Transparent Rich Text Box - GIAKEN - 08-09-2008 txtChat.Refresh ? Re: Transparent Rich Text Box - Robin - 08-09-2008 Show us a screenshot. Re: Transparent Rich Text Box - PsychoGT - 08-09-2008 txtChat.Refresh doesnt work, tried that. I found that if you minimize and then maximize the game, the text is fixed untill it starts scrolling again if that helps as well. Thanks for any help you can provide. Re: Transparent Rich Text Box - Robin - 08-09-2008 Jesus Christ how can you work with that skin? Re: Transparent Rich Text Box - GIAKEN - 08-09-2008 Make sure that AutoRedraw = True in txtChat? Re: Transparent Rich Text Box - PsychoGT - 08-09-2008 Not to sound noobish or anything but... Rich Text Boxes have autoredraw? Re: Transparent Rich Text Box - GIAKEN - 08-09-2008 Maybe? I don't know. Re: Transparent Rich Text Box - PsychoGT - 09-09-2008 Not to my knowing... If it had, I would have tried that due to me blting all the items all the time. Re: Transparent Rich Text Box - GIAKEN - 09-09-2008 Are you sure .Refresh doesn't work? I'm not sure if the chat box is called txtChat... Make sure the form or picture box or whatever the chat box is in has AutoRedraw = True? Re: Transparent Rich Text Box - PsychoGT - 09-09-2008 alright after setting the redraw true in the gui, and refreshing the txtbox and gui pic when txt is sent it works untill you scroll the txtbox. any ideas on a command or what ever (-Tired right now-) to check the scrolling of a text box to call the refresh command there? If not I will just use a timer to refresh it. -Update- Timer makes it flicker too much. Re: Transparent Rich Text Box - GIAKEN - 09-09-2008 Set the timer's interval to 32. Re: Transparent Rich Text Box - PsychoGT - 09-09-2008 Still flickering too much. Re: Transparent Rich Text Box - GIAKEN - 09-09-2008 Well...look through all the events for it and just put txtChat.Refresh in them...like Click, DblClick, Change, OLEStartDrag? I'm not sure what OLEStartDrag does...but it might have to do with dragging the scroll bar? Re: Transparent Rich Text Box - PsychoGT - 09-09-2008 That is a no go Re: Transparent Rich Text Box - Doomy - 12-09-2008 i have this errror it only occurred when i resized the mychat Re: Transparent Rich Text Box - Robin - 12-09-2008 Don't change the size of your textbox after making it transparent. Re: Transparent Rich Text Box - PsychoGT - 12-09-2008 Tried and it still does the same thing upon scrolling. Re: Transparent Rich Text Box - GIAKEN - 12-09-2008 Just disable scrolling. |