Why isn't my edit box showing up? Code: case WM_CREATE: g_hWndUsernameEdit = CreateWindow("username", NULL, WS_CHILD | WS_VISIBLE | WS_HSCROLL | WS_VSCROLL | WS_BORDER | ES_LEFT | ES_MULTILINE | ES_AUTOHSCROLL | ES_AUTOVSCROLL, //0, 0, 0, 0, g_hWndMenu, (HMENU)ID_USERNAMEEDIT, ((LPCREATESTRUCT)lParam)->hInstance, NULL); 0, 0, 0, 0, g_hWndMenu, NULL, ((LPCREATESTRUCT)lParam)->hInstance, NULL); return 0;
Doesn't work Code: case WM_CREATE: g_hWndUsernameEdit = CreateWindow("username", NULL, WS_CHILD | WS_VISIBLE | WS_HSCROLL | WS_VSCROLL | WS_BORDER | ES_LEFT, 0, 0, 100, 50, g_hWndMenu, NULL, ((LPCREATESTRUCT)lParam)->hInstance, NULL); return 0;
Doesn't work... Code: 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;