adjust to a reasonable position for a main window with style WS_EX_AUTOPOSITION

This commit is contained in:
Vincent Wei
2020-03-01 18:38:52 +08:00
parent 48c2ad5388
commit 8f01d078d9
3 changed files with 21 additions and 3 deletions

View File

@@ -4641,9 +4641,9 @@ MG_EXPORT SRVEVTHOOK GUIAPI SetServerEventHook (SRVEVTHOOK SrvEvtHook);
* \brief The position of the main window will be determined by system.
*
* If a main window has this extend style when creating it, MiniGUI will
* determine the position of the main window. If the width or the height of
* the window specified in MAINWINCREATE structure is zero, MiniGUI will
* also determine a default size for the main window.
* determine the position in the screen for the main window. If the width
* or the height of the window specified in MAINWINCREATE structure is zero,
* MiniGUI will also determine a default size for the main window.
*
* Under the compositing schema, the compositor is responsible to calculate
* the position and the size for a main window.