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:
Drawing Windows frame controls using the DrawFrameControl function
DrawFrameControl
..msdn    Add comment     W32 Constants      Translate this page
The DrawFrameControl function draws a frame control of the specified type and style.
Code examples:
Drawing Windows frame controls using the DrawFrameControl function
Declaration:
BOOL DrawFrameControl(
  HDC hdc,     // handle to device context
  LPRECT lprc, // bounding rectangle
  UINT uType,  // frame-control type
  UINT uState  // frame-control state
);
FoxPro declaration:
DECLARE INTEGER DrawFrameControl IN user32;
    INTEGER   hdc,;
    STRING  @ lprc,;
    INTEGER   uType,;
    INTEGER   uState
Parameters:
hdc
[in] Handle to the device context of the window in which to draw the control.

lprc
[in] Pointer to a RECT structure that contains the logical coordinates of the bounding rectangle for frame control.

uType
[in] Specifies the type of frame control to draw.

[in] Specifies the initial state of the frame control.
Return value:
If the function succeeds, the return value is nonzero.
My comment:
MSDN: note that the use of LoadBitmap to load OEM bitmaps is deprecated and is supported only for backwards compatibility. New applications should use DrawFrameControl to draw system elements.
Word Index links for the DrawFrameControl :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2002-01-16 22:08:39
Modified: 2002-01-16 22:10:44
Visited in last 7 days: 20
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.162.154.91)
13 sec.Function: 'DestroyIcon'
26 sec.Function: 'CryptGetProvParam'
40 sec.Function: 'GetClipCursor'
52 sec.Function: 'EnumPrinterData'
1.1 min.Function: 'GdiSetBatchLimit'
1.32 min.Function: 'EnableWindow'
1.53 min.Function: 'FindFirstUrlCacheEntry'
1.73 min.Function: 'GetClipboardViewer'
1.92 min.
Function group: 'Version Information'
2.13 min.Function: 'DragAcceptFiles'
Google
Advertise here!