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
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
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
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
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
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
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
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
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