Re: [perl-win32-gui-users] [win32-gui] Displaying a button on a DC

2006-10-21 Thread Brian Millham
Thanks Rob, as usual, you have the answer! That was exactly what I was looking for. It is going to make me rethink Win32::GUI::Skin a bit, but I think that it will be for the better. It's early enough in the development process this rethink things. There have been about 70 downloads of Win32::GUI

Re: [perl-win32-gui-users] [win32-gui] Displaying a button on a DC

2006-10-21 Thread Robert May
Brian Millham wrote: I'm working on adding button support to Skin.pm. My question is how to draw a button on the DC, without it being overwritten by whatever is drawn on the DC. For a good example, try the sample Draw.pl included with Win32::GUI, and add a button to the window. The button will

[perl-win32-gui-users] Displaying a button on a DC

2006-10-21 Thread Brian Millham
I'm working on adding button support to Skin.pm. My question is how to draw a button on the DC, without it being overwritten by whatever is drawn on the DC. For a good example, try the sample Draw.pl included with Win32::GUI, and add a button to the window. The button will eventually be hidden b

Re: [perl-win32-gui-users] ANNOUNCE: Win32::GUI v1.04

2006-10-21 Thread Brian Millham
I downloaded 1.04 last night, and it's looking good! My Win32::GUI::Skin module worked with no problems, first try (except of course the warning about export) It didn't take long for me to update Skin.pm to take advantage of the new methods (ExtCreateRegion and SetWindowPos) that Rob kindly creat

[perl-win32-gui-users] onGotFocus event for a button

2006-10-21 Thread Octavian Rasnita
Hi, I want to remember the object that has the focus, so the next time the user switches to the application, the focus is set to the last object that had the focus when the application was put in the background (with alt+tab). I don't know if I have used the right method, but here is what I've do