25-06-2007, 06:49 PM
Wat I was just thinking.
Its making result variable equal something, now don't you have to call that?
Its making result variable equal something, now don't you have to call that?
Transparent Rich Text Box
|
25-06-2007, 06:49 PM
Wat I was just thinking.
Its making result variable equal something, now don't you have to call that?
25-06-2007, 07:04 PM
No.
Quote:Robin:
07-09-2008, 06:37 AM
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?
07-09-2008, 01:13 PM
Make sure it's not loaded over the game screen.
Quote:Robin:
07-09-2008, 07:17 PM
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.
08-09-2008, 05:19 AM
txtChat.Refresh ?
08-09-2008, 06:51 AM
Show us a screenshot.
Quote:Robin:
08-09-2008, 05:07 PM
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.
08-09-2008, 05:10 PM
Jesus Christ how can you work with that skin?
Quote:Robin:
08-09-2008, 06:53 PM
Make sure that AutoRedraw = True in txtChat?
08-09-2008, 07:51 PM
Not to sound noobish or anything but... Rich Text Boxes have autoredraw?
08-09-2008, 08:01 PM
Maybe? I don't know.
09-09-2008, 01:39 AM
Not to my knowing... If it had, I would have tried that due to me blting all the items all the time.
09-09-2008, 01:45 AM
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?
09-09-2008, 02:15 AM
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.
09-09-2008, 02:26 AM
Set the timer's interval to 32.
09-09-2008, 02:37 AM
Still flickering too much.
09-09-2008, 02:49 AM
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?
09-09-2008, 12:53 PM
That is a no go
12-09-2008, 02:50 AM
i have this errror
it only occurred when i resized the mychat
12-09-2008, 03:09 PM
Don't change the size of your textbox after making it transparent.
Quote:Robin:
12-09-2008, 09:15 PM
Tried and it still does the same thing upon scrolling.
12-09-2008, 09:29 PM
Just disable scrolling.
|
« Next Oldest | Next Newest »
|