list functions work for virtual window; add class name for virtual window

This commit is contained in:
Vincent Wei
2020-02-28 16:56:24 +08:00
parent dfe6c026ef
commit 69ab18b5ab

View File

@@ -6455,6 +6455,31 @@ MG_EXPORT int GUIAPI SetWindowZOrder(HWND hWnd, int zorder);
* - MSG_SETTEXT:
* - MSG_GETTEXTLENGTH:
*
* The following functions work for a virtual window:
*
* - DefaultWindowProc
* - GetWindowId
* - SetWindowId
* - GetThreadByWindow
* - GetWindowAdditionalData
* - SetWindowAdditionalData
* - GetWindowAdditionalData2
* - SetWindowAdditionalData2
* - GetClassName: always returns 'VIRTWINDOW' for a virtual window.
* - GetWindowCallbackProc
* - SetWindowCallbackProc
* - GetWindowCaption
* - SetWindowCaption
* - GetWindowTextLength
* - GetWindowText
* - SetWindowText
* - GetNotificationCallback
* - SetNotificationCallback
* - RegisterEventHookWindow
* - UnregisterEventHookWindow
* - RegisterKeyHookWindow
* - RegisterMouseHookWindow
*
* Since 5.0.0.
*
* @{
@@ -8156,7 +8181,7 @@ MG_EXPORT BOOL GUIAPI IsDialog (HWND hWnd);
*
* \return The handle to the parent, HWND_INVALID indicates an error.
*
* \note For a main window, this function always returns 0.
* \note For a main window, this function always returns HWNL_NULL.
* For HWND_DESKTOP or an invalid window handle,
* HWND_INVALID will be returned.
*
@@ -9473,6 +9498,7 @@ typedef struct _WNDCLASS {
typedef WNDCLASS* PWNDCLASS;
#define MAINWINCLASSNAME ("MAINWINDOW")
#define VIRTWINCLASSNAME ("VIRTWINDOW")
#define ROOTWINCLASSNAME ("ROOTWINDOW")
/**