创建无边框窗口之后怎么一直是忙碌状态?
{
hwnd = CreateWindowEx(0,
Class2 .GetName (),
Title ,
WindowStyle .WS_POPUP ,
x,
y,
Width ,
Height ,
IntPtr.Zero,
IntPtr.Zero,
Class2.GethInstance (),
0);
if (hwnd == IntPtr.Zero)
{
UInt32 errCode = GetLastError();
}
ShowWindow(hwnd, 1);
UpdateWindow(hwnd);
SetLayeredWindowAttributes(hwnd, RGB(255, 255, 255), 0, 2);
如果把风格改成0 就不会变成忙碌