Click here to Skip to main content
15,896,201 members
Articles / Desktop Programming / Windows Forms

Dragging a Borderless Form

Rate me:
Please Sign up or sign in to vote.
5.00/5 (2 votes)
13 Jul 2010CPOL 6.2K   5  
A slightly different solution.using System.Runtime.InteropServices;private const int WM_NCLBUTTONDOWN = 0xA1;private const int HTCAPTION = 0x2;[DllImport("User32.dll")]private static extern bool ReleaseCapture();[DllImport("User32.dll")]private static extern int...

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer Energoservice
Russian Federation Russian Federation
Dmitry lives in Arkhangelsk, Russia. He has developed C# applications since 2007.

Comments and Discussions