Is there a way of getting the hWnd variable from an MFC class?
After this information to implement DirectX stuff into an app that I am building.
Later,
This is a discussion on hWnd in MFC within the Windows Programming forums, part of the Platform Specific Boards category; Is there a way of getting the hWnd variable from an MFC class? After this information to implement DirectX stuff ...
Is there a way of getting the hWnd variable from an MFC class?
After this information to implement DirectX stuff into an app that I am building.
Later,
WebmasterMattD
WebmasterMattD.NET
The HWND is a member of CWnd..something like m_hWnd??
Thanks for that.
Did a simple google, and came up with this url
http://msdn.microsoft.com/library/de...a3a.m_hwnd.asp
In short it is a global variable in a CWnd class.
Later,
Last edited by WebmasterMattD; 08-01-2003 at 07:08 AM.
WebmasterMattD
WebmasterMattD.NET