Using Win32 functions in Visual FoxPro Image Gallery
Painting and Drawing
..msdn
DrawAnimatedRects
DrawCaption
DrawEdge
DrawFrameControl
GdiFlush
GdiGetBatchLimit
GdiSetBatchLimit
GetBkMode
GetBoundsRect
GetWindowDC
GetWindowRgnBox
LockWindowUpdate
PaintDesktop
SetBkColor
SetBkMode
SetWindowRgn
WindowFromDC
Code examples:
GdiFlush
..msdn    Add comment     W32 Constants      Translate this page
Flushes the calling thread`s current batch.
Code examples:
Declaration:
BOOL GdiFlush(VOID);
FoxPro declaration:
DECLARE INTEGER GdiFlush IN gdi32
Parameters:
This function has no parameters.
Return value:
If all functions in the current batch succeed, the return value is nonzero.

If not all functions in the current batch succeed, the return value is zero, indicating that at least one function returned an error.
Usage:
= GdiFlush()
My comment:
Batching enhances drawing performance by minimizing the amount of time needed to call GDI drawing functions that return Boolean values. The batch limit is maintained for each thread separately.

See also: GdiGetBatchLimit, GdiSetBatchLimit
Word Index links for the GdiFlush :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2008-01-04 13:38:27
Modified: 2008-01-04 13:50:25
Visited in last 7 days: 8
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.225.47.94)
4 sec.Function: 'AddPrinter'
8 sec.Function: 'OpenSCManager'
12 sec.
Function group: 'Remote Access Service (RAS)'
16 sec.Function: 'DestroyPhysicalMonitors'
20 sec.Function: 'LoadIcon'
24 sec.Function: 'FtpSetCurrentDirectory'
28 sec.Function: 'GetKeyboardLayoutName'
32 sec.Function: 'GdipSetWorldTransform'
36 sec.Function: 'JetInit'
40 sec.Function: 'GetIpAddrTable'
Google
Advertise here!