Jump to content

  • Log In with Google      Sign In   
  • Create Account

Can't make edit box


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 invutil   Crossbones+   -  Reputation: 1912

Like
-1Likes
Like

Posted 03 September 2012 - 11:21 PM

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.

Edited by polyfrag, 04 September 2012 - 01:18 AM.


Sponsor:

#2 mrbastard   Members   -  Reputation: 1573

Like
2Likes
Like

Posted 04 September 2012 - 05:31 AM

What was the problem? How did you fix it?

Your experience may help somebody else in the future!


#3 invutil   Crossbones+   -  Reputation: 1912

Like
1Likes
Like

Posted 04 September 2012 - 06:26 PM

g_hWndMenu hadn't been set yet so I used the local hWnd.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS