BB FlashBack SDK: FBRecorder

AddWndToList

Description

Adds a window to the list of windows that will be recorded.
 

Syntax

[C#/C++]
public Bool AddWndToList (HWND hWnd)

[VB.NET]
Public Function AddWndToList (ByVal hWnd As HWND) As Boolean

Parameters

hWnd - handle of the window to be added.
 

Remarks

The SDK can restrict what it records to a number of windows, rather than a region or everything on the desktop.

The set of windows to be recorded can be specified by passing their handles to the AddWndToList method, or by passing a process ID to SetProcessId. In the latter case, all windows owned by that process will be recorded.

In this mode, FlashBack SDK will record a movie with the same dimensions as the entire desktop, but all areas outside of the specified windows will be blacked out.

Only one monitor at a time can be recorded, so all the windows must be displayed on the same monitor. If they are displayed on a secondary monitor, that monitor must be selected for recording by the SelectMonitor method.

See Recording Windows and Regions for details.

Note: to record a single window, use the RegionFromHWND method.
 

See Also

FBRecorder::ClearWndList  FBRecorder::RemoveWndFromList