The CREATESTRUCT structure defines the initialization parameters passed to the window procedure of an application.
typedef struct tagCREATESTRUCT { // cs LPVOID lpCreateParams; HINSTANCE hInstance; HMENU hMenu; HWND hwndParent; int cy; int cx; int y; int x; LONG style; LPCTSTR lpszName; LPCTSTR lpszClass; DWORD dwExStyle; } CREATESTRUCT;
Windows NT: If the window is being created from a dialog template, this
member is the address of a SHORT value that specifies the size, in bytes, of
the window creation data. The value is immediately followed by the creation
data. For more information, see the following Remarks section.
typedef struct tagMyData { // Define creation data here. } MYDATA; typedef struct tagMyDlgData { SHORT cbExtra; MYDATA myData; } MYDLGDATA, UNALIGNED *PMYDLGDATA; PMYDLGDATA pMyDlgdata = (PMYDLGDATA) (((LPCREATESTRUCT) lParam)->lpCreateParams);
file: /Techref/os/win/api/win32/struc/src/str02_23.htm, 4KB, , updated: 2000/4/7 12:20, local time: 2024/10/7 23:28,
98.84.18.52: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.org/techref/os/win/api/win32/struc/src/str02_23.htm"> CREATESTRUCT</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to massmind.org! |
.