1.获取和设置窗口额外数据:
MG_EXPORT DWORD GUIAPI GetWindowAdditionalData (HWND hWnd);
/**
* \fn DWORD GUIAPI GetWindowAdditionalData (HWND hWnd)
* \brief Retrives the first additional data of a window.
*
* This function retrives the first additional data of the specified window
* \a hWnd.
*
* \param hWnd The handle to the window.
* \return The first additional data of the window.
*
* \sa SetWindowAdditionalData
*/
MG_EXPORT DWORD GUIAPI SetWindowAdditionalData (HWND hWnd, DWORD newData);
/**
* \fn DWORD GUIAPI SetWindowAdditionalData (HWND hWnd, DWORD newData)
* \brief Sets the first additional data of a window.
*
* This function sets the first additional data of the specified window
* \a hWnd.
*
* \param hWnd The handle to the window.
* \param newData The new first additional data of the window.
* \return The old first additional data of the window.
*
* \note For a dialog box created by \a DialogBoxIndirectParam,
* its second additional data used internally by the system to save
* the return value of the box. So you should avoid setting the
* second additional data of a dialog box.
*
* \sa GetWindowAdditionalData
*/
2.设置和获取窗口过程:
MG_EXPORT WNDPROC GUIAPI GetWindowCallbackProc (HWND hWnd);
/**
* \fn WNDPROC GUIAPI GetWindowCallbackProc (HWND hWnd)
* \brief Retrives the callback procedure of a window.
*
* This function retrives the window callback procedure of the specified window
* \a hWnd.
*
* \param hWnd The handle to the window.
* \return The callback procedure of the window.
*
* \sa SetWindowCallbackProc
*/
3.获取和设置窗口文本:
MG_EXPORT int GUIAPI GetWindowText (HWND hWnd, char* spString, int nMaxLen);
/**
* \fn int GUIAPI GetWindowText (HWND hWnd, char* spString, int nMaxLen)
* \brief Copies the text of a window's into a buffer.
*
* This function copies the text of the specified window \a hWnd into the buffer
* pointed to by \a spString. The function gets the window text by sending
* an MSG_GETTEXT message to the window.
*
* \param hWnd The handle to the window.
* \param spString The pointer to a buffer rec