Is there a way to retrieve window handle from a CDialog derived class (like CWnd::m_hWnd member) ?
Thanks
HWND hWnd = GetSafeHwnd();
Should do the trick, but CDialog is itself derived from CWnd so m_hWnd would be accessable inside CDialog too
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With