Re: How to disable a control without changing appearance

2005-12-20 Thread Chris Rogers
Cool!! I was unaware of the Hook method. Using what you showed me, I can do away with a lot of code that I used to track the mouse and decide whether ornot it was currently over a control. As well as the code I used to move the object around on the screen. But when I use the hook method for the

Re: How to disable a control without changing appearance

2005-12-20 Thread Chris Rogers
Ok. I found the constants in WINUSER.h. On 12/20/05, Chris Rogers [EMAIL PROTECTED] wrote: Cool!! I was unaware of the Hook method. Using what you showed me, I can do away with a lot of code that I used to track the mouse and decide whether ornot it was currently over a control. As well as the

Re: [aswin32] Re: How to disable a control without changing appearance

2005-12-19 Thread Lynn. Rickards
Chris Rogers wrote: Sorry, about the lack of information in my original post. I just assumed, this being a perl-win32 group that Win32::GUI was a given. I'll try to be more specific in the future. I tried $control-Enable(0) but the control still gets greyed out. I'm using activestate perl

Re: [aswin32] Re: How to disable a control without changing appearance

2005-12-19 Thread Chris Rogers
Point taken on the default assumption of what this list is about. Thanks for the tip on the background color. It appears that the changing appearance is handled directly by the OS when we send it a message to disable the control. It also appears that the two parts of the process WM_DISABLE and

Re: How to disable a control without changing appearance

2005-12-19 Thread May, Robert
Chris Rogers wrote: [snip] The whole idea is to be able to use the mouse to grab any control on a given Win32::GUI window and drag it to a new location. Sort of a gui designer. Apologies for my first response, I completely mis-understood What you were trying to do. Is this better? Look at

Re: [aswin32] Re: How to disable a control without changing appearance

2005-12-18 Thread Robert May
Lynn. Rickards wrote: Chris Rogers wrote: I'm looking for a way to disable a control (widget) without changing it's appearance. I would like to be able to do this for any type of control. Any help would be greatly appreciated. Thanks, Chris Tk? Win32? Either way, what comes to mind

Re: [aswin32] Re: How to disable a control without changing appearance

2005-12-18 Thread Chris Rogers
Sorry, about the lack of information in my original post. I just assumed, this being a perl-win32 group that Win32::GUI wasa given. I'll try to be more specific in the future. I tried $control-Enable(0) but the control still gets greyed out. I'm using activestate perl 5.8.7 and Win32::GUI 1.03 on

How to disable a control without changing appearance

2005-12-17 Thread Chris Rogers
I'm looking for a way to disable a control (widget) without changing it's appearance. I would like to be able to do this for any type of control. Any help would be greatly appreciated. Thanks, Chris ___ Perl-Win32-Users mailing list

Re: How to disable a control without changing appearance

2005-12-17 Thread Lynn. Rickards
Chris Rogers wrote: I'm looking for a way to disable a control (widget) without changing it's appearance. I would like to be able to do this for any type of control. Any help would be greatly appreciated. Thanks, Chris Tk? Win32? Either way, what comes to mind instead of disabling, is