Posts: 67
Threads: 24
Joined: Feb 2009
When window is opened to full size, I can resize and move the Chat Box in my online game so I can easily read everyones comments without such a small chat box. But as soon as I resize the window the chat box goes back to its small size again. How can I get it to stay the same big in the window without becoming smaller when i shrink the window.
Posts: 12,072
Threads: 140
Joined: Dec 2002
With siz you can resize the chat box control to the width of the window. Resize all parent controls too. But it will not always work.
Posts: 67
Threads: 24
Joined: Feb 2009
MoveWindow child(1029 "" "RichEdit20W" win("Chat") 0xD 534 516) 380 450 308 99 1
thats what i got so far, but how can i get it to siz to the end of the window screen? so that way when shrinked, it just goes all the way to right, in width
Posts: 12,072
Threads: 140
Joined: Dec 2002
Instead of 380 450 308 99 use variables. Get parent window width using function GetWinXY.