Jump to content

View more

Image of the Day

WIP title screen for #DeathOfAPartisan #screenshotsaturday #gamedev https://t.co/qJNhfZCvd4
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Can't make edit box

4: Adsense

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   Members   

2479
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.


#2 mrbastard   Members   

1576
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   Members   

2479
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.