ryonn Posted June 4, 2009 Author Share Posted June 4, 2009 Hi there,Is there a guide or method to make the richtextbox to store the chat to be transparent?Please helpThanks Link to comment Share on other sites More sharing options...
ryonn Posted June 4, 2009 Author Share Posted June 4, 2009 Hi,I have found a way to make my RTB to be transparent.The thing is however, the picscreen always refreshes to be on top, hence my textbox is covered by picscreen.How can I handle this?Please help Link to comment Share on other sites More sharing options...
Robin Posted June 4, 2009 Share Posted June 4, 2009 You can't.Transparent controls can't be set above the DirectDraw area. The only way to have a chat box within the gamescreen itself is to program it to use DirectDraw. Link to comment Share on other sites More sharing options...
ryonn Posted June 8, 2009 Author Share Posted June 8, 2009 Hi Robin,Thank you for replying this.Is there any guide to make achatbox in a DD?Thanks Link to comment Share on other sites More sharing options...
Robin Posted June 8, 2009 Share Posted June 8, 2009 Store all the lines of text in a circular array, so you don't get a stupid amount of text in memory.Have a simple rendering system which is based off a small integer value which can be control by a programmed "scroll bar".```For i = SCROLLBARVALUE to SCROLLBARVALUE + [max lines in chat] DrawText(textArray(i), x, y)next```It's fairly simple, you just need to know how to edit the incoming message packets and have them stored in an array, instead of in an RTB. Link to comment Share on other sites More sharing options...
ryonn Posted June 9, 2009 Author Share Posted June 9, 2009 hi Robin,Thanks for the reply.Is it a good idea to use Tile to be the textbox transparent background? Link to comment Share on other sites More sharing options...
ryonn Posted June 12, 2009 Author Share Posted June 12, 2009 I am trying to add picture/object to the picscreen.hwnd or clipper, but I do not know how. Please help :( 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