获得子窗口句柄,并传递消息
HWND hwndChild;
//获得子窗口句柄
hwndChild = FindWindow(NULL,”Point Cloud”);
//向子窗口发送消息
PostMessage(hwndChild, WM_COMMAND, MAKEWPARAM(IDC_PD_GEN, 0), 0);
HWND hwndChild;
//获得子窗口句柄
hwndChild = FindWindow(NULL,”Point Cloud”);
//向子窗口发送消息
PostMessage(hwndChild, WM_COMMAND, MAKEWPARAM(IDC_PD_GEN, 0), 0);