Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!


We're also offering banner ads on our site from just $5! 1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


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 polyfrag   Crossbones+   -  Reputation: 1873

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 polyfrag   Crossbones+   -  Reputation: 1873

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