Re: [perl-win32-gui-users] Setting attributes after creation

2001-10-08 Thread Marcus
On 08.10.01 at 14:13 [EMAIL PROTECTED] wrote: >I believe colors in Win32::GUI are in decimal form, rather than hex, so if >I'm right, then $win->Change(-background => [255,255,255]) should work. No luck so far, I've tried everyones various suggestions. AFAIK, you can use hexadecimal or decimals f

[perl-win32-gui-users] how do you read the contents of an edit control?

2001-10-08 Thread Ted Holmes
I am trying to read the contents of an edit control. The control is created by another application, so I have no control over it. I tried the code below, but the EM_GETLINE message is a strange one in that you need to place the buffer size in the first two bytes of the target string. Any hel

[perl-win32-gui-users] Setting attributes after creation

2001-10-08 Thread Marcus
How do you change the background colour of a window, or in general change any attribute after creation? I tried $win->Change(-background => "#FF"), but that didn't appear to do anything. Does anybody know how to do this? I didn't find the "Change" method in any of the samples. Btw, any chance