Firstly, since it is open source, you can see the implementation of cvShowImage for Windows here .
My C ++ Builder repository is a bit fuzzy, but I think you can skip all the CvWindow calls and use any GetDeviceContext () control (PaintBox?) For your DC and GetClientRect () to get its size.
Hope this helps.
source
share