Now, I have a problem with the method GetWindowhandle(). I do this:
1.I create a window in windows vs2010 and layout some buttons and lables
2.I also create a documentwindow in the MainWindow to show video
3.but when i use GetWindowHandle() to get the HWND of the child documentwindow, I find that the Hwnd is same with the HWnd of the MainWindow.
now ,i want to put a window as the child component of the mainwindow. At the same time i want get the hwnd of the child component, not the parent hwnd.
so anyone can help me how to get it !