programming - windows - CREATESTRUCTWhat links here?
The CREATESTRUCT structure defines the initialization parameters passed to the window procedure of an application. These members are identical to the parameters of the CreateWindowEx function.

Syntax
    typedef struct tagCREATESTRUCT { 
      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; 


Memebers:

RemarksWindows NT/2000 or later: You should access the data represented by the lpCreateParams member using a pointer that has been declared using the UNALIGNED type, because the pointer may not be DWORD aligned. This is demonstrated in the following code example:



    typedef struct tagMyData { 
    // Define creation data here. 
    } MYDATA; 
 
    typedef struct tagMyDlgData { 
        SHORT cbExtra; 
        MYDATA myData; 
    } MYDLGDATA, UNALIGNED *PMYDLGDATA; 
 
    PMYDLGDATA pMyDlgdata = (PMYDLGDATA) (((LPCREATESTRUCT) lParam)->lpCreateParams); 


Requirements
programming - windows - CREATESTRUCT
programming - sqlite2 - c interface
programming - windows - listbox styles
The Second Amendment
bible - hebrew - 2 Sam 22:16
programming - Libre Calc - accessing cells
embedded systems - bacnet - NPDU Header
programming cg - environment variables
embedded systems - bacnet - Property Identifier
AutoCAD - Dialog Control Language (DCL) - boxed_row
programming - Libre Calc - reading and writing cell contents
programming - windows - CreateWindow
AutoCAD - Dialog Control Language (DCL) - spacer
Topical Bible - prayer - Hezekiah - at the news of his impending death
programming - sqlite3 - c interface - sqlite3_exec()
embedded systems - bacnet - Analog Input properties
Programming - Pascal - function - format
tk - tk widgets
filename:programming - windows - CREATESTRUCT
filename:programming%20%2D%20windows%20%2D%20CREATESTRUCT
last edit:December 03 2012 20:17:04 (4183 days ago)
ct = 1716075867.000000 = May 18 2024 19:44:27
ft = 1354583824.000000 = December 03 2012 20:17:04
dt = 361492043.000000