I wish to move whole form when user drags through the panel or label or any item i want. How can i do this in VisualC++ ? I know to do so in VB, but i am working in VisualC++. Any help?
I don't know if there are other alternatives to this, but you could create your own handler for WM_MOUSEDOWN (don't remember it exactly). Then all you do is work out the differences between the clicked position and the controller.
Also, in order for it to move you need to handle WM_MOUSEMOVE or something, to move the form with the pointer.
You could do this by simply having a boolean tell mousemove if it should react on mouse movements or not.