Original Post
I''m having troble with this code.
g_hWnd = CreateDialog(hInst, MAKEINTRESOURCE(IDD_Mouse), 0, NULL);
if(g_hWnd == NULL)
MessageBox(g_hWnd, "NULL" , "Error", MB_OK);
UpdateWindow(g_hWnd);
ShowWindow(g_hWnd, nCmdShow);
I beleave it''s returning a Null to g_hWnd, and not the instance like it should. I don''t get any errors, the program runs but it doesn''t make a dialog window.