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
GetConsoleScreenBufferInfo
..msdn    Add comment     W32 Constants      Translate this page
The GetConsoleScreenBufferInfo function retrieves information about the specified console screen buffer.
Code examples:
Creating a console window for Visual FoxPro application
Declaration:
BOOL GetConsoleScreenBufferInfo(
  HANDLE hConsoleOutput,
  PCONSOLE_SCREEN_BUFFER_INFO lpConsoleScreenBufferInfo
);

FoxPro declaration:
DECLARE INTEGER GetConsoleScreenBufferInfo IN kernel32;
    INTEGER  hConsoleOutput,;
    STRING @ lpConsoleScreenBufferInfo

Parameters:
hConsoleOutput
[in] Handle to a console screen buffer.

lpConsoleScreenBufferInfo
[out] Pointer to a CONSOLE_SCREEN_BUFFER_INFO structure that receives the console screen buffer information.
Return value:
If the function succeeds, the return value is nonzero.
My comment:
typedef struct _CONSOLE_SCREEN_BUFFER_INFO {
COORD dwSize; 0:4
COORD dwCursorPosition; 4:4
WORD wAttributes; 8:2
SMALL_RECT srWindow; 10:8
COORD dwMaximumWindowSize; 18:4
} CONSOLE_SCREEN_BUFFER_INFO; total 22 bytes
Word Index links for the GetConsoleScreenBufferInfo :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2004-11-10 09:37:29
Modified: 2004-11-10 09:43:02
Visited in last 7 days: 21
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.91.38.173)
12 sec.Function: 'GetCursorPos'
25 sec.Function: 'GdipMeasureString'
39 sec.
Function group: 'GDI+ StringFormat'
52 sec.Function: 'CeReadFile'
1.1 min.Function: 'GetProductInfo'
1.35 min.Function: 'SetFocus'
1.6 min.Function: 'GdipCreateHBITMAPFromBitmap'
1.83 min.Function: 'waveOutUnprepareHeader'
2.08 min.Function: 'SetTimeZoneInformation'
2.35 min.Function: 'CM_Get_Sibling_Ex'
Google
Advertise here!