Using Win32 functions in Visual FoxPro Image Gallery
Font and Text
..msdn
CreateFont
DrawText
GetCharABCWidths
GetTextAlign
GetTextCharacterExtra
GetTextColor
GetTextExtentPoint32
GetTextFace
GetTextMetrics
SetTextAlign
SetTextCharacterExtra
SetTextColor
TextOut
Code examples:
Creating a clipping region from the path selected into the device context of a form
Creating a window using CreateWindowEx function
How to put a horizontal text scrolling on the form (a news line, marquee)
How to put a vertical text scrolling on the form (a movie cast)
Printing text on the client area of the main VFP window
Printing text on the main VFP window
Printing text with the Escape function
Splash Screen for the VFP application
Using Font and Text functions
Using FrameRgn for displaying system colors
Vertical Label control
TextOut
    Add comment     W32 Constants      Translate this page
Writes a character string at the specified location, using the currently selected font, background color, and text color.
Code examples:
How to put a horizontal text scrolling on the form (a news line, marquee)
How to put a vertical text scrolling on the form (a movie cast)
Vertical Label control
Creating a window using CreateWindowEx function
Splash Screen for the VFP application
Creating a clipping region from the path selected into the device context of a form
Using FrameRgn for displaying system colors
Printing text with the Escape function
Printing text on the main VFP window
Printing text on the client area of the main VFP window
Declaration:
BOOL TextOut(
  HDC hdc,           // handle to DC
  int nXStart,       // x-coordinate of starting position
  int nYStart,       // y-coordinate of starting position
  LPCTSTR lpString,  // character string
  int cbString       // number of characters
);
FoxPro declaration:
DECLARE INTEGER TextOut IN gdi32;
    INTEGER hdc,;  
    INTEGER x,;  
    INTEGER y,;  
    STRING  lpString,;  
    INTEGER nCount
Parameters:
hdc
[in] Handle to the device context.

nXStart
[in] Specifies the logical x-coordinate of the reference point that the system uses to align the string.

nYStart
[in] Specifies the logical y-coordinate of the reference point that the system uses to align the string.

lpString
[in] Pointer to the string to be drawn
Return value:
If the function succeeds, the return value is nonzero
My comment:
See also: DrawText, CreateFont
Word Index links for the TextOut :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-07-18 12:00:00
Modified: 2005-12-19 08:02:39
Visited in last 7 days: 44
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2014 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.1.68), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.226.80.55)
4 sec.
Function group: 'Shell Lightweight Utility APIs -- misc. functions'
Google
Advertise here!