CAPI problem: Howto ...
Hi all,
i'm looking for a solution to the following problem (I'm still in planning
the program so some details may not be correct. Sorry for that):
I have a CAPI window containing a pushbutton (other widget are left out for clarification)
The user needs to MOVE the button around in the window like in a GUI builder.
To do so i want to provide a mode where clicking the button does not show
the usual "click" action of the button but draws a selection rectangle around
it. Idealy this should work for other widgets also.
I don't want to change the visual apearance of the button so a simple disble will
not work.
I can imagine two possible solutions:
1. Redirecting the click event. Then the button will never see the event and the
enclosing window can handle it.
2. putting a pane with transparent background over the whole window. Then all
events should go to that pane and can be handled there.
Is one of this solutions possible ?
Are there other solutions for that problem ?
The application is MS-Windows only and doesn't need to be portable. However,
a portable solution is obviously prefered.
Thanks in advance
Kind regards
AHz