• Advertisement
Sign in to follow this  

getting an m_hWnd from the D3DApplication class

This topic is 4760 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 need to access the m_hWnd to pass to my mouse function but I don't know how to get to it. any help? Nick

Share this post


Link to post
Share on other sites
Advertisement
Where does the mouse function exist? If it exists in its own class (like an InputClass), simply pass the HWND at the contruction of the InputClass and hold it in the class as a pointer member variable. Then use as need be.

Can you be a bit more specific as to what you need?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement