Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
Using FrameRgn for displaying system colors
..msdn    Add comment     W32 Constants      Translate this page
The FrameRgn function draws a border around the specified region by using the specified brush.
Code examples:
Using FrameRgn for displaying system colors
BOOL FrameRgn(
  HDC hdc,     // handle to device context
  HRGN hrgn,   // handle to region to be framed
  HBRUSH hbr,  // handle to brush used to draw border
  int nWidth,  // width of region frame
  int nHeight  // height of region frame
FoxPro declaration:
DECLARE SHORT FrameRgn IN gdi32;
    INTEGER hdc,;
    INTEGER hrgn,;
    INTEGER hbr,;
    INTEGER nWidth,;
    INTEGER nHeight
[in] Handle to the device context.

[in] Handle to the region to be enclosed in a border. The region"s coordinates are presumed to be in logical units.

[in] Handle to the brush to be used to draw the border.

[in] Specifies the width, in logical units, of vertical brush strokes.

[in] Specifies the height, in logical units, of horizontal brush strokes.
Return value:
If the function succeeds, the return value is nonzero. If the function fails, the return value is zero.
Word Index links for the FrameRgn :
Translate this page:
  Spanish    Portuguese    German    French    Italian offers instant, free translations of text or web pages.
Created: 2001-08-27 12:00:00
Modified: 2001-11-26 16:03:26
Visited in last 7 days: 32
User Contributed Notes:
There are no notes on this subject.

Copyright 2001-2018 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.39), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (
18 sec.Function: 'CLSIDFromString'
36 sec.Function: 'CeCreateFile'
54 sec.Function: 'GdipCreateSolidFill'
1.2 min.Function: 'CommitTransaction'
1.5 min.Function: 'CeCreateProcess'
1.8 min.Function: 'CallWindowProc'
2.08 min.Function: 'GdipGetImageGraphicsContext'
2.37 min.Function: 'CryptDeriveKey'
2.67 min.
Function group: 'Filled Shape'
2.95 min.Function: 'GetMappedFileName'
Advertise here!