J
Jim H
I'm new to gui programming. I'm just doing some testing with forms. I've
dropped a com control on a form. When a user clicks and holds the mouse
down on the control I'd like to drag the form around with the mouse. How
would I do this? Even is it were a simple control like a label or panel,
how would I do this?
I guess it comes down to 2 questions:
1. How do I get mouse movement messages if the control does not offer these
messages? Can I get them from some base control. It's ok if I'm taking the
controls ability to process mouse messages away.
2. How do I determine if the mouse button is currently down?
Thanks
jim
dropped a com control on a form. When a user clicks and holds the mouse
down on the control I'd like to drag the form around with the mouse. How
would I do this? Even is it were a simple control like a label or panel,
how would I do this?
I guess it comes down to 2 questions:
1. How do I get mouse movement messages if the control does not offer these
messages? Can I get them from some base control. It's ok if I'm taking the
controls ability to process mouse messages away.
2. How do I determine if the mouse button is currently down?
Thanks
jim