Using Win32 functions in Visual FoxPro Image Gallery
File Management
..msdn
CopyFile
CopyFileTransacted
CreateDirectory
CreateFile
CreateFileTransacted
CreateHardLink
CreateSymbolicLink
DeleteFile
DeleteFileTransacted
FindClose
FindCloseChangeNotification
FindFirstChangeNotification
FindFirstFile
FindNextChangeNotification
FindNextFile
FlushFileBuffers
GetBinaryType
GetCurrentDirectory
GetDriveType
GetFileAttributes
GetFileAttributesEx
GetFileInformationByHandle
GetFileType
GetFullPathName
GetLongPathName
GetShortPathName
GetTempFileName
GetTempPath
LockFile
MoveFile
MoveFileTransacted
OpenFile
QueryDosDevice
ReadDirectoryChangesW
ReadFile
RemoveDirectory
RemoveDirectoryTransacted
ReplaceFile
SearchPath
SetCurrentDirectory
SetEndOfFile
SetFileAttributes
SetFilePointer
SetFilePointerEx
SetSearchPathMode
UnlockFile
WriteFile
_lclose
_lopen
Code examples:
How to convert a bitmap file to monochrome format (1 bpp)
Peer-to-peer LAN messenger built with Mailslot API functions
Running MSDOS Shell as a child process with redirected input and output (smarter RUN command)
Storing content of the Clipboard to a bitmap file
Storing screen shot of a form to bitmap file
Subclassing CommandButton control to create BackColor property
Using InternetSetFilePointer when resuming interrupted download from the Internet
Using mailslots to send messages on the network
Using named pipes for interprocess communication
Vertical Label control
Vertical Label control

User rating: 0/10 (0 votes)
Rate this code sample:
  • ~
More code examples    Listed functions    Add comment     W32 Constants      Translate this page Printer friendly version of this code sample
Before you begin:

It is not an extreme necessity, but sometimes you may need such control. Its main properties include font, V and H alignment, fore and back color, and direction (up and down).
 
  Members area. Log in to view this example.
 
  User name:
  Password:
 
 
  Forgot your password?
 
  Sign up for
the Membership
 
 


User rating: 0/10 (0 votes)
Rate this code sample:
  • ~
10099 bytes  
Created: 2003-04-22 17:06:17  
Modified: 2011-12-10 09:20:22  
Visits in 7 days: 181  
Listed functions:
CloseHandle
CreateCompatibleBitmap
CreateCompatibleDC
CreateFile
CreateFont
CreateSolidBrush
DeleteDC
DeleteObject
FillRect
GetDesktopWindow
GetDeviceCaps
GetDIBits
GetTextExtentPoint32
GetWindowDC
GlobalAlloc
GlobalFree
ReleaseDC
SelectObject
SetBkMode
SetTextColor
TextOut
WriteFile
ZeroMemory
Printer friendly API declarations
My comment:
The VLabel class is subclassed from the Image Control.

When invoked, the DrawLabel method creates a temporary bitmap file and passes its name to the Picture property of the control. On the Destroy event this temporary file is erased.

Also the Caption property name is changed to VCaption, somehow the Caption is not accepted (VFP6).

* * *
The Rotation property has been added to standard Label Control in VFP9. It specifies a number of degrees to rotate a control in a counterclockwise direction.

Word Index links for this example:
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
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 (23.20.129.162)
3 sec.Function: 'CharUpper'
7 sec.Function: 'IsWow64Process'
Function group: 'Process and Thread'
11 sec.
Function group: 'ODBC API'
16 sec.
Function group: 'GDI+'
21 sec.Function: 'CreateHardLink'
26 sec.
Function group: 'System Shutdown'
32 sec.
Function group: 'Error Handling'
37 sec.
Function group: 'Service'
42 sec.
Function group: 'Window Property'
45 sec.Function: 'CeRemoveDirectory'
Google
Advertise here!