how to get window handle in MFC??
It's the m_hWnd member of your CWnd.
CWnd::GetSafeHwnd is a little "safer" because it can be used with a NULL CWnd pointer http://msdn.microsoft.com/en-US/library/d64ehwhz%28v=vs.80%29.aspx
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