Using Win32 functions in Visual FoxPro Image Gallery
Windows Multimedia
..msdn
AVIFileExit
AVIFileGetStream
AVIFileInfo
AVIFileInit
AVIFileOpen
AVIFileRelease
AVIFileWriteData
AVIStreamGetFrame
AVIStreamGetFrameClose
AVIStreamGetFrameOpen
AVIStreamInfo
AVIStreamLength
AVIStreamReadFormat
AVIStreamRelease
AVIStreamStart
AVIStreamTimeToSample
capCreateCaptureWindow
capGetDriverDescription
DrawDibClose
DrawDibDraw
DrawDibOpen
mciGetDeviceID
mciGetErrorString
mciSendCommand
mciSendString
midiOutClose
midiOutGetDevCaps
midiOutGetNumDevs
midiOutOpen
midiOutReset
midiOutShortMsg
mixerClose
mixerGetControlDetails
mixerGetDevCaps
mixerGetID
mixerGetLineControls
mixerGetLineInfo
mixerGetNumDevs
mixerOpen
mixerSetControlDetails
mmioAscend
mmioClose
mmioCreateChunk
mmioDescend
mmioFlush
mmioOpen
mmioRead
mmioSeek
mmioWrite
PlaySound
sndPlaySound
timeGetDevCaps
waveInAddBuffer
waveInClose
waveInGetDevCaps
waveInGetErrorText
waveInGetNumDevs
waveInGetPosition
waveInOpen
waveInPrepareHeader
waveInReset
waveInStart
waveInStop
waveInUnprepareHeader
waveOutClose
waveOutGetDevCaps
waveOutGetErrorText
waveOutGetNumDevs
waveOutGetPosition
waveOutGetVolume
waveOutOpen
waveOutPrepareHeader
waveOutReset
waveOutSetVolume
waveOutUnprepareHeader
waveOutWrite
Code examples:
Using Video Capture: displaying on FoxPro form frames and previewing video obtained from a digital camera
capCreateCaptureWindow
    Add comment     W32 Constants      Translate this page
The capCreateCaptureWindow function creates a capture window.
Code examples:
Using Video Capture: displaying on FoxPro form frames and previewing video obtained from a digital camera
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:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2004-06-04 19:02:35
Modified: 2009-02-23 13:00:39
Visited in last 7 days: 33
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.227.127.109)
19 sec.Function: 'NetUserGetGroups'
Function group: 'Network Management'
38 sec.
1 min.
Function group: 'GDI+ Pen'
1.32 min.Function: 'CeOidGetInfoEx'
Function group: 'Remote Application Programming (RAPI)'
1.6 min.Example: 'How to print FoxPro form'
2 min.Function: 'waveOutWrite'
Function group: 'Windows Multimedia'
2.33 min.Function: 'waveInGetDevCaps'
Function group: 'Windows Multimedia'
2.7 min.Function: 'mmioWrite'
Function group: 'Windows Multimedia'
3 min.
3.67 min.Example: 'Creating irregularly shaped FoxPro form using transparency color key'
Google
Advertise here!