现在有什么代码可以隐藏标题栏呀??...

来源:百度知道 编辑:UC知道 时间:2024/07/02 16:18:30
喏`````上面..题目

按F11

你是编程人员么
<P>BR><BR>using System;<BR>using System.Collections.Generic;<BR>using System.ComponentModel;<BR>using System.Data;<BR>using System.Drawing;<BR>using System.Text;<BR>using System.Windows.Forms;<BR>using System.Runtime.InteropServices;</P>
<P>namespace 拖动窗体<BR>{<BR> public partial class Form1 : Form<BR> {<BR> [DllImport("user32.dll")]<BR> public static extern int ReleaseCapture();<BR> [DllImport("user32.dll")]<BR> public static extern int SendMessage(IntPtr hwnd, int wMsg, int wParam, int lParam);<BR> public const int WM_SYSCOMMAND = 0x0112;<BR> public const int SC_MOVE = 0xF010;<BR> public const int HTCAPTION = 0x0002;</P>
<P><BR> public Form1()<BR> {<BR> InitializeComponent();<BR>