[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
oWin:drawitem( <nIdCtl, <nItemStruc> ) -> <void>
------------------------------------------------------------------------------
PARAMETER:
<nIdCtl> Specifies the identifier of the owner-drawn control that has
sent the WM_DRAWITEM message. This parameter is zero if the
message was sent by a menu.
<nItemStruc> Is a pointer to the DRAWITEMSTRUCT structure that
contains information about the owner drawn control to be
drawn and the type of drawing required.
This ( C-)Structure is defined as following and stored as a
clipper string:
DRAWITEMSTRUCT:
INT CtlType Specifies the control type ( button, box .. )
INT CtlID Control Identifier
INT itemID Menu item identifier
INT itemAction Menu drawing action ( on focus, select..)
INT itemState Menu status ( checked, disabled .. )
HWND hwndItem window ( controls ) or menu handle
HDC hDC device context for drawing operation
RECT rcItem boundary rectangle of the control
DWORD itemData value assigned to the control
DESCRIPTION:
The WM_DRAWITEM message is sent to the owner of an owner-drawn
button, combo box, list box, or menu when a visual aspect of the button,
combo box, list box, or menu has changed.
This method is the receiver of that message, and sends it directly to
to the object of the adressed control which then is responisble for
the repainting.
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson