Skip to content

Instantly share code, notes, and snippets.

@nullcoding
Created August 21, 2012 21:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nullcoding/3419720 to your computer and use it in GitHub Desktop.
Save nullcoding/3419720 to your computer and use it in GitHub Desktop.
WM_CREATE without Genesis
switch(msg)
{
case WM_CREATE:
{
HWND hStatus = CreateWindowEx(NULL, STATUSCLASSNAME, NULL, WS_CHILD | WS_VISIBLE |
SBARS_SIZEGRIP, CW_USEDEFAULT, 650, CW_USEDEFAULT, CW_USEDEFAULT,
pWnd, (HMENU)IDC_MAIN_STATUS,
GetModuleHandle(NULL), NULL);
//then make EVERYTHING ELSE IN THE WINDOW!!!
//etc...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment