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:
Enumerating data formats currently available on the clipboard
Monitoring clipboard content changes (VFP9)
Retrieving names for the registered clipboard formats
GetClipboardFormatName
..msdn    Add comment     W32 Constants      Translate this page
The GetClipboardFormatName function retrieves from the clipboard the name of the specified registered format. The function copies the name to the specified buffer.
Code examples:
Monitoring clipboard content changes (VFP9)
Enumerating data formats currently available on the clipboard
Retrieving names for the registered clipboard formats
Declaration:
int GetClipboardFormatName(
  UINT format,            // clipboard format to retrieve
  LPTSTR lpszFormatName,  // format name
  int cchMaxCount         // length of format name buffer
);
FoxPro declaration:
DECLARE INTEGER GetClipboardFormatName IN user32;
    INTEGER   format,;
    STRING  @ lpszFormatName,;
    INTEGER   cchMaxCount
Parameters:
format
[in] Specifies the type of format to be retrieved.

lpszFormatName
[out] Pointer to the buffer that is to receive the format name.

cchMaxCount
[in] Specifies the maximum length, in TCHARs, of the string to be copied to the buffer.
Return value:
If the function succeeds, the return value is the length, in TCHARs, of the string copied to the buffer.
My comment:
Registered clipboard formats are identified by values in the range 0xC000 through 0xFFFF.
Word Index links for the GetClipboardFormatName :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2002-01-27 13:14:40
Modified: 2002-01-27 13:16:59
Visited in last 7 days: 24
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.37), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.167.250.64)
13 sec.Function: 'FindFirstFile'
Function group: 'File Management'
25 sec.Function: 'mixerGetID'
36 sec.Function: 'GetTextCharacterExtra'
50 sec.Function: 'SetHandleInformation'
1.03 min.Function: 'UrlHash'
1.23 min.Function: 'GdipDeleteGraphics'
1.43 min.Function: 'CloseEnhMetaFile'
Google
Advertise here!