how we can convert CWnd* to HWND
C / C++ / MFC
9
Posts
7
Posters
0
Views
1
Watching
-
-
CWnd* pMyCwnd = new CWnd(); pMyCwnd->m_hWnd // This is the HWND of CWnd class Too many plans make the health badly!!
-
you can use if you have a CWnd from m_hWnd --------------- HWND hWnd=this->m_hWnd;_**
**_
whitesky
-
Viorel. wrote:
HWND hwnd = *wnd
Does this really work ? Never seen it before... ~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus
-
Or you do this
CWnd *pWnd // whatever window your pointing to HWND MyHandle = (HWND) pWnd