Using Win32 functions in Visual FoxPro Image Gallery
Clipboard
..msdn
AddClipboardFormatListener
ChangeClipboardChain
CloseClipboard
CountClipboardFormats
EmptyClipboard
EnumClipboardFormats
GetClipboardData
GetClipboardFormatName
GetClipboardOwner
GetClipboardSequenceNumber
GetClipboardViewer
GetOpenClipboardWindow
GetPriorityClipboardFormat
GetUpdatedClipboardFormats
IsClipboardFormatAvailable
OpenClipboard
RegisterClipboardFormat
RemoveClipboardFormatListener
SetClipboardData
SetClipboardViewer
Code examples:
GetOpenClipboardWindow
..msdn    Add comment     W32 Constants      Translate this page
Retrieves the handle to the window that currently has the clipboard open.
Code examples:
Declaration:
HWND WINAPI GetOpenClipboardWindow(void);
FoxPro declaration:
DECLARE INTEGER GetOpenClipboardWindow IN user32
Parameters:
This function has no parameters.
Return value:
If the function succeeds, the return value is the handle to the window that has the clipboard open. If no window has the clipboard open, the return value is NULL.
Usage:
hWindow = _screen.HWnd && _vfp.hWnd
? hWindow

IF OpenClipboard(hWindow) = 1
    ? GetOpenClipboardWindow()
    CloseClipboard()
ENDIF
My comment:
If an application or DLL specifies a NULL window handle when calling the OpenClipboard function, the clipboard is opened but is not associated with a window. In such a case, GetOpenClipboardWindow returns NULL.
Word Index links for the GetOpenClipboardWindow :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2015-01-28 17:38:26
Modified: 2015-01-28 17:40:11
Visited in last 7 days: 7
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.92.141.211)
3 sec.Links
8 sec.Function: 'CeWriteRecordProps'
12 sec.Function: 'waveOutSetVolume'
17 sec.Function: 'WideCharToMultiByte'
22 sec.Function: 'RegisterRawInputDevices'
26 sec.Function: 'ReportEvent'
30 sec.Function: 'FtpRenameFile'
34 sec.Function: 'ChooseFont'
44 sec.Function: 'ChangeClipboardChain'
50 sec.Function: 'SetSuspendState'
Google
Advertise here!