| View previous topic :: View next topic |
| Author |
Message |
LV Guest
|
Posted: Mon May 24, 2004 5:24 am Post subject: Detect an Event when the dialog is dragged and move |
|
|
What 's the name of the event which is tiggered when Dialog Window is
dragged and moved by left click on the top blue window frame?
Thx for reply.
|
|
| Back to top |
|
 |
JD Guest
|
Posted: Tue May 25, 2004 11:47 am Post subject: Re: Detect an Event when the dialog is dragged and move |
|
|
"LV" <aaa (AT) oop (DOT) com> wrote:
| Quote: | What 's the name of the event which is tiggered when Dialog
Window is dragged [...]
|
WM_PIGLETTEING or maybe WM_PHOOING :-O
There is no actual event. Windows sends a message to the form
which is WM_MOVING. To receive notice, you'll have to subclass
the dialog. Then you have 2 choices of how to get at that
message. You must either override it's WndProc method or use a
message map.
~ JD
|
|
| Back to top |
|
 |
|