Question about capDlgVideoSource
I am having a problem with the capDlgVideoSource . My problem is that my program only displays 2 of the 3 possible menus in the pop up menu from capDlgVideoSource.
I know that my video source supports all the menus (the one I really need is the one for selecting source, and that is the one that is missing), as I get them all in other applications.
The capDlgVideoSource macro displays a dialog box in which the user can control the video source. The Video Source dialog box might contain controls that select input sources; alter the hue, contrast, brightness of the image; and modify the video quality before digitizing the images into the frame buffer. You can use this macro or explicitly send the WM_CAP_DLG_VIDEOSOURCE message.
Here is how I call the capDlgVideoSource:
And here is how I create hWndCapWindow:
capDriverGetCaps(hWndCapWindow, &CapDrvCaps, sizeof (CAPDRIVERCAPS));
// Create the capture window
hWndCapWindow = capCreateCaptureWindow( TEXT("CaptureWindow"), WS_CHILD| WS_VISIBLE| SS_SIMPLE | WS_EX_LAYERED,
320,50, 640,480,hWnd, MAINWIN_ID);
SetLayeredWindowAttributes( hWndCapWindow, NULL, 150,NULL);
// Now that we have created the capture panel we can connect the first driver
if(capDriverConnect(hWndCapWindow,0) == 0)