The CreateMDIWindow function creates a multiple document interface (MDI) child window.
HWND CreateMDIWindow(
LPTSTR lpClassName, |
// pointer to registered child class name |
LPTSTR lpWindowName, |
// pointer to window name |
DWORD dwStyle, |
// window style |
int X, |
// horizontal position of window |
int Y, |
// vertical position of window |
int nWidth, |
// width of window |
int nHeight, |
// height of window |
HWND hWndParent, |
// handle to parent window (MDI client) |
HINSTANCE hInstance, |
// handle to application instance |
LPARAM lParam |
// application-defined value |
); |
Value |
Meaning |
WS_MINIMIZE |
Creates an MDI child window that is initially minimized. |
WS_MAXIMIZE |
Creates an MDI child window that is initially maximized. |
WS_HSCROLL |
Creates an MDI child window that has a horizontal scroll bar. |
WS_VSCROLL |
Creates an MDI child window that has a vertical scroll bar. |
If the function succeeds, the return value is the handle to the created window.
If the function fails, the return value is NULL. To get extended error information, call GetLastError.
Using the CreateMDIWindow function is similar to sending the WM_MDICREATE message to an MDI client window, except that the function can create an MDI child window in a different thread, while the message cannot.
Windows 95: The system can support a maximum of 16,364 window handles.
CreateWindow, RegisterClass, WM_MDICREATE
file: /Techref/os/win/api/win32/func/src/f10_4.htm, 6KB, , updated: 2000/4/7 11:19, local time: 2024/11/7 11:37,
18.117.254.221:LOG IN ©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://massmind.ecomorder.com/Techref/os/win/api/win32/func/src/f10_4.htm"> CreateMDIWindow</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to massmind.ecomorder.com! |
.