Using Win32 functions in Visual FoxPro Image Gallery
Console
..msdn
AllocConsole
FillConsoleOutputAttribute
FillConsoleOutputCharacter
FreeConsole
GetConsoleScreenBufferInfo
GetConsoleWindow
GetStdHandle
ReadConsole
SetConsoleCursorPosition
SetConsoleTextAttribute
SetConsoleTitle
WriteConsole
Code examples:
Creating a console window for Visual FoxPro application
SetConsoleTextAttribute
..msdn    Add comment     W32 Constants      Translate this page
The SetConsoleTextAttribute function sets the attributes of characters written to the console screen buffer by the WriteFile or WriteConsole function, or echoed by the ReadFile or ReadConsole function.
Code examples:
Creating a console window for Visual FoxPro application
Declaration:
BOOL SetConsoleTextAttribute(
  HANDLE hConsoleOutput,
  WORD wAttributes
);

FoxPro declaration:
DECLARE INTEGER SetConsoleTextAttribute IN kernel32;
    INTEGER hConsoleOutput,;
    SHORT   wAttributes
Parameters:
hConsoleOutput
[in] Handle to a console screen buffer.

wAttributes
[in] Character attributes.
Return value:
If the function succeeds, the return value is nonzero.
My comment:
This function affects text written after the function call.
Word Index links for the SetConsoleTextAttribute :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2004-11-10 09:44:23
Modified: 2004-11-10 09:45:55
Visited in last 7 days: 15
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.81.178.153)
12 sec.Function: 'RegOpenKeyEx'
23 sec.Function: 'GetKBCodePage'
35 sec.Function: 'ConnectToPrinterDlg'
46 sec.Function: 'WinHttpOpenRequest'
58 sec.Function: 'ImageList_Remove'
1.15 min.Updates
1.33 min.
Function group: 'Remote Application Programming (RAPI)'
1.53 min.Function: 'SetWindowRgn'
1.72 min.Function: 'OpenWaitableTimer'
1.9 min.Function: 'GetAdaptersAddresses'
Google
Advertise here!