Archived

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

Ne Idea how to retrieve hwnd in glut?

This topic is 5773 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
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