M MyNameIsnt Nov 20, 2003 #1 Thanks if you can help me out. It is for the same source I posted already (which I did figure out the problem )
Thanks if you can help me out. It is for the same source I posted already (which I did figure out the problem )
C Champika Nirosh Nov 20, 2003 #2 Hi, You can drag it just by putting this code in the form class protected override void WndProc(ref Message msg) { if (msg.Msg == 0x0084) // WM_NCHITTEST msg.Result = (IntPtr) 2; // HTCAPTION else base.WndProc(ref msg); } Nirosh.
Hi, You can drag it just by putting this code in the form class protected override void WndProc(ref Message msg) { if (msg.Msg == 0x0084) // WM_NCHITTEST msg.Result = (IntPtr) 2; // HTCAPTION else base.WndProc(ref msg); } Nirosh.