Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Moagly

Ne Idea how to retrieve hwnd in glut?

This topic is 5961 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I would like to use dinput and daudio in my game, however i''m using glut and would like to know if there is a way i can retrieve the window handle for initialising dx stuff. cheers moagly

Share this post


Link to post
Share on other sites
Advertisement
HWND GetActiveWindow();

HWND GetForegroundWindow();

To the vast majority of mankind, nothing is more agreeable than to escape the need for mental exertion... To most people, nothing is more troublesome than the effort of thinking.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!