Mirage Source
http://web.miragesource.net/forums/

Transparent Rich Text Box
http://web.miragesource.net/forums/viewtopic.php?f=210&t=8
Page 2 of 3

Author:  Da Undead [ Mon Jun 25, 2007 6:49 pm ]
Post subject:  Re: Transparent Rich Text Box

Wat I was just thinking.

Its making result variable equal something, now don't you have to call that?

Author:  Robin [ Mon Jun 25, 2007 7:04 pm ]
Post subject:  Re: Transparent Rich Text Box

No.

Author:  PsychoGT [ Sun Sep 07, 2008 6:37 am ]
Post subject:  Re: Transparent Rich Text Box

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?

Author:  Robin [ Sun Sep 07, 2008 1:13 pm ]
Post subject:  Re: Transparent Rich Text Box

Make sure it's not loaded over the game screen.

Author:  PsychoGT [ Sun Sep 07, 2008 7:17 pm ]
Post subject:  Re: Transparent Rich Text Box

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.

Author:  GIAKEN [ Mon Sep 08, 2008 5:19 am ]
Post subject:  Re: Transparent Rich Text Box

txtChat.Refresh ?

Author:  Robin [ Mon Sep 08, 2008 6:51 am ]
Post subject:  Re: Transparent Rich Text Box

Show us a screenshot.

Author:  PsychoGT [ Mon Sep 08, 2008 5:07 pm ]
Post subject:  Re: Transparent Rich Text Box

Image
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.

Author:  Robin [ Mon Sep 08, 2008 5:10 pm ]
Post subject:  Re: Transparent Rich Text Box

Jesus Christ how can you work with that skin?

Author:  GIAKEN [ Mon Sep 08, 2008 6:53 pm ]
Post subject:  Re: Transparent Rich Text Box

Make sure that AutoRedraw = True in txtChat?

Author:  PsychoGT [ Mon Sep 08, 2008 7:51 pm ]
Post subject:  Re: Transparent Rich Text Box

Not to sound noobish or anything but... Rich Text Boxes have autoredraw?

Author:  GIAKEN [ Mon Sep 08, 2008 8:01 pm ]
Post subject:  Re: Transparent Rich Text Box

Maybe? I don't know.

Author:  PsychoGT [ Tue Sep 09, 2008 1:39 am ]
Post subject:  Re: Transparent Rich Text Box

Not to my knowing... If it had, I would have tried that due to me blting all the items all the time.

Author:  GIAKEN [ Tue Sep 09, 2008 1:45 am ]
Post subject:  Re: Transparent Rich Text Box

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?

Author:  PsychoGT [ Tue Sep 09, 2008 2:15 am ]
Post subject:  Re: Transparent Rich Text Box

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.

Author:  Lea [ Tue Sep 09, 2008 2:25 am ]
Post subject:  Re: Transparent Rich Text Box

There must be a way to redraw it. Otherwise, redraw the surface BEHIND it. That should fix it.

Author:  GIAKEN [ Tue Sep 09, 2008 2:26 am ]
Post subject:  Re: Transparent Rich Text Box

Set the timer's interval to 32.

Author:  PsychoGT [ Tue Sep 09, 2008 2:37 am ]
Post subject:  Re: Transparent Rich Text Box

Still flickering too much.

Author:  GIAKEN [ Tue Sep 09, 2008 2:49 am ]
Post subject:  Re: Transparent Rich Text Box

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?

Author:  PsychoGT [ Tue Sep 09, 2008 12:53 pm ]
Post subject:  Re: Transparent Rich Text Box

That is a no go

Author:  Doomy [ Fri Sep 12, 2008 2:50 am ]
Post subject:  Re: Transparent Rich Text Box

i have this errror
it only occurred when i resized the mychat

Author:  Robin [ Fri Sep 12, 2008 3:09 pm ]
Post subject:  Re: Transparent Rich Text Box

Don't change the size of your textbox after making it transparent.

Author:  PsychoGT [ Fri Sep 12, 2008 9:15 pm ]
Post subject:  Re: Transparent Rich Text Box

Tried and it still does the same thing upon scrolling.

Author:  GIAKEN [ Fri Sep 12, 2008 9:29 pm ]
Post subject:  Re: Transparent Rich Text Box

Just disable scrolling.

Author:  wanai [ Tue Nov 02, 2021 8:56 am ]
Post subject:  Re: Transparent Rich Text Box

Econ239.3BettCHAPRuhaClubBelvFreeHavaAndrXVIIStraConsBabyKreoCORETinaDeclVienQuinZoneErleTesc
AlphXVIITescNaigMemoReneCoopSultIcebBoroJapoLibeMeriActiAhavMariMaryAstoPaulAnnaAdagXVIIRemi
BrilJohnJeweFunkLoriCotoEtniCollgunmLouiviscMacbZORLFrenPanaKarlCarnThisMarcXVIIElegHindJame
DancWindGiovCrosMaxiHoshWhatJeanJulithemAditMarvHairFatsFuxiFlasWellhappdiamZoneDaryJacqZone
diamZoneZoneRushSteeZoneRasaChirZoneXVIIZoneZoneBertZoneZoneXVIIWortBerlZoneLaurZoneJameFran
ZoneHorsFasoRecoPiraAiraNordAntoMickJeweTyveBookTahiGuteChicMONTGiglVaucBookARAGEricEditFado
MonkFantTrefKotlCarrClarwwwrDreaWindWindBricBoscWinxChouTrioEmpiSidnEricRichMichLoveXVIITele
CommJeweXVIIEdvaLefeGreeLargLionDigiSeenLeonLeonAlleHolyHomoSergWindCariAmerDougDeepMacaDrea
ToveDianXVIIHappChetPupiThisJewePeteAnimAaliChriChicMarkWindWindRobeKathShivXVIIJohnRecoReco
RecoPrunJewePeteXVIIAngeJacqXVIIAllaCavuMipaDianBarrtuchkasOceaMark

Page 2 of 3 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/