Hi,
I have a Picture control,and its ID is IDC_STATIC_SCREEN.
I want to retrive the window Handle of the Picture control.
Using MFC, I know how to do that:
Code:
void CLiveVideoDlg::DoDataExchange(CDataExchange* pDX)
{
   CDialog::DoDataExchange(pDX);
   //{{AFX_DATA_MAP(CLiveVideoDlg)
   DDX_Control(pDX, IDC_STATIC_SCREEN, m_staticScreen);
   //}}AFX_DATA_MAP
}
...
CStatic	m_staticScreen;
//Retrive the window Handle of the Video Screen
HWND hWnd = m_staticScreen.GetSafeHwnd() ;
...
But what shall do if I want to do the same thing by calling Win32 API ?
HWND hWnd = ?????;
Thank you!