Can't make edit box

Started by
1 comment, last by polyfrag 11 years, 7 months ago
Why isn't my edit box showing up?


case WM_CREATE:
g_hWndUsernameEdit = CreateWindow("edit", NULL, WS_CHILD | WS_VISIBLE,
0, 0, 100, 50, g_hWndMenu, (HMENU)ID_USERNAMEEDIT, g_hInstance, NULL);
return 0;


[edit] Never mind, fixed.
Advertisement
What was the problem? How did you fix it?

Your experience may help somebody else in the future!
[size="1"]
g_hWndMenu hadn't been set yet so I used the local hWnd.

This topic is closed to new replies.

Advertisement