Method WndUtil.CreateMessageOnlyWindow(+ 1 overload)
Overload
Creates native/unmanaged message-only window.
public static wnd CreateMessageOnlyWindow(string className, string name = null)
Parameters
Returns
Exceptions
AuException
Failed to create window. Unlikely. |
Remarks
Styles: WS_POPUP, WS_EX_NOACTIVATE. To destroy the window can be used any function, including API DestroyWindow, WndUtil.DestroyWindow, wnd.Close, API WM_CLOSE.
Overload(top)
Creates native/unmanaged message-only window and sets its window procedure.
public static wnd CreateMessageOnlyWindow(WNDPROC wndProc, string className, string name = null)
Parameters
Returns
Exceptions
AuException
Failed to create window. Unlikely. |
Remarks
Styles: WS_POPUP, WS_EX_NOACTIVATE.
Calls WndUtil.CreateWindow with keepAlive=true
.