I am working on a program base on C++ and also using SiliconSoftware interface.
as you see from the attached pisture I am running the main window with the c++ win32 code, but the display window is created with frame grabber inteface with following code :
int Bits=8; int nId =::CreateDisplay(Bits,GrabberOptions::getWidth(),GrabberOptions::getHeight());SetBufferWidth(nId,GrabberOptions::getWidth(),GrabberOptions::getHeight());::DrawBuffer(nId,Fg_getImagePtrEx(fg,lastPicNr,0,_memoryAllc),lastPicNr,"");
but I want this Diplay window, open with within the Main Window.
How can I do it ? any idea?

Let’s say you have
assumig they are the native handles of sibling window obtained no matter how.
To make b a child of a, you have to do
Nowm you have to handle WM_SIZE from a and move b accordingly, so that it resize together with its (new) parent.