[VC++]如何利用this获得窗口句柄

this->GetSafeWnd();  
  pWnd->GetSafeWnd();
HWND  
hWnd=this->GetSafeWnd();
原文地址:https://www.cnblogs.com/boneking/p/1337803.html