Skip to main content
gamedev.net
🔒 Locked

Inactive Window?

Started by CodeNow Sep 15, 2005 at 7:55 AM 0 replies 300+ views
Original Post
CodeNow
CodeNow
Hi, I have a strange issue. I am creating a Window using the CreateWindow API call (in C++) but do not show the window at that time. I wait until I have created an instance of Direct3D and the device for it as well as initializing DirectInput. When I am ready to show the window, I use the ShowWindow API call with SW_NORMAL. Everything works on one of my laptops. On the other, the window opens but is inactive. Is there a way to make sure that the window opens as active. Is there any reason why it might work on one and not the other? Thanks in advance.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.