 |
capCreateCaptureWindow Add comment W32 Constants Translate this page |
 |
 |
The capCreateCaptureWindow function creates a capture window.
|
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
HWND VFWAPI capCreateCaptureWindow(
LPCSTR lpszWindowName,
DWORD dwStyle,
int x,
int y,
int nWidth,
int nHeight,
HWND hWnd,
int nID
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER capCreateCaptureWindow IN avicap32;
STRING lpszWindowName,;
INTEGER dwStyle,;
INTEGER x,;
INTEGER y,;
INTEGER nWidth,;
INTEGER nHeight,;
INTEGER hParent,;
INTEGER nID
|
 |
 |
 |
| Parameters: |
 |
lpszWindowName
Null-terminated string containing the name used for the capture window.
dwStyle
Window styles used for the capture window.
x
The x-coordinate of the upper left corner of the capture window.
y
The y-coordinate of the upper left corner of the capture window.
nWidth
Width of the capture window.
nHeight
Height of the capture window.
hWnd
Handle to the parent window.
nID
Window identifier.
|
 |
 |
| Return value: |
 |
Returns a handle of the capture window if successful or NULL otherwise.
|
 |
 |
| Usage: |
 |
hCapture = capCreateCaptureWindow("",;
BITOR(WS_CHILD,WS_VISIBLE), nLeft, nTop,;
640, 380, hParentWindow, 1)
|
 |
 |
| My comment: |
 |
Use BITOR(WS_CHILD, WS_VISIBLE) for dwStyle parameter. The class name for the window created with this function is usually ClsCapWin.
See also: CreateWindowEx, DestroyWindow |
 |
 |
| Word Index links for the capCreateCaptureWindow : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2004-06-04 19:02:35 | | Modified: | 2009-02-23 13:00:39 | Visited in last 7 days: 50 |