 |
DrawFrameControl ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
The DrawFrameControl function draws a frame control of the specified type and style. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| 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: |
 |
|
 |
 |
| • |
 |
| Created: | 2002-01-16 22:08:39 | | Modified: | 2002-01-16 22:10:44 | Visited in last 7 days: 23 |