Grabber::showDevicePage Method

Shows a device settings page.
Syntax:
bool showDevicePage( HWND hParent = 0 );
Parameter Description
hParent

The parent of this dialog. If set to 0 (this is the default), then the active window is used as the parent, because the page needs to be modal.

Return value:

true if the user selected a device and clicked OK, false otherwise. Check Grabber::getLastError for details about the error condition.

Remarks:

The device settings page allows easy configuration of the video capture device. The dialog allows the setting of the device, the video norm, the video format, the input channel, the frame rate and it shows the serial number of the currently selected device. Please note: The device must not be in live mode for the device settings page to work.

Information:

Introduced in version 2.0

See also: Grabber

<< Grabber