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:
Obtaining the bounding rectangle for the specified device context
GetBoundsRect
..msdn    Add comment     W32 Constants      Translate this page
The GetBoundsRect function obtains the current accumulated bounding rectangle for a specified device context. The system maintains an accumulated bounding rectangle for each application. An application can retrieve and set this rectangle.
Code examples:
Obtaining the bounding rectangle for the specified device context
Declaration:
UINT GetBoundsRect(
  HDC hdc,            // handle to device context
  LPRECT lprcBounds,  // bounding rectangle
  UINT flags          // function options
);
FoxPro declaration:
DECLARE INTEGER GetBoundsRect IN gdi32;
    INTEGER   hdc,;
    STRING  @ lprcBounds,;
    INTEGER   flags
Parameters:
hdc
[in] Handle to the device context whose bounding rectangle the function will return.

lprcBounds
[out] Pointer to the RECT structure that will receive the current bounding rectangle.

flags
[in] Specifies how the GetBoundsRect function will behave.
Return value:
The return value specifies the state of the accumulated bounding rectangle; it can be one of the following values.
Word Index links for the GetBoundsRect :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-12-31 17:59:54
Modified: 2001-12-31 18:01:54
Visited in last 7 days: 25
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.234.247.118)
15 sec.Function: 'GetIpAddrTable'
31 sec.Function: 'GetLocaleInfo'
47 sec.Function: 'GetMappedFileName'
1.05 min.Function: 'FindVolumeMountPointClose'
1.28 min.Function: 'GdipIsStyleAvailable'
1.53 min.Function: 'CreateEnhMetaFile'
1.82 min.Function: 'CallWindowProc'
2.1 min.Function: 'CopyImage'
2.37 min.Function: 'CryptReleaseContext'
2.63 min.Function: 'FrameRgn'
Google
Advertise here!