VSDRAWITEMSTRUCT VSDRAWITEMSTRUCT VSDRAWITEMSTRUCT VSDRAWITEMSTRUCT VSDRAWITEMSTRUCT Struct

Definition

Represents information used by IVsImageButton to draw an owner-drawn control.

public value class VSDRAWITEMSTRUCT
struct VSDRAWITEMSTRUCT
public struct VSDRAWITEMSTRUCT
type VSDRAWITEMSTRUCT = struct
Public Structure VSDRAWITEMSTRUCT
Inheritance
VSDRAWITEMSTRUCTVSDRAWITEMSTRUCTVSDRAWITEMSTRUCTVSDRAWITEMSTRUCTVSDRAWITEMSTRUCT

Fields

CtlID CtlID CtlID CtlID CtlID

Represents the identifier of the control.

CtlType CtlType CtlType CtlType CtlType

Represents the control type.

hdc hdc hdc hdc hdc

A handle to a device context; this device context must be used when performing drawing operations on the control.

hwndItem hwndItem hwndItem hwndItem hwndItem

A handle to the control for the button.

itemAction itemAction itemAction itemAction itemAction

Represents the required drawing action.

itemData itemData itemData itemData itemData

This is zero for a button control type.

itemid itemid itemid itemid itemid

The identifier for the item, not used for buttons.

itemState itemState itemState itemState itemState

The visual state of the item after the current drawing action takes place.

rcItem rcItem rcItem rcItem rcItem

A rectangle that defines the boundaries of the control to be drawn. This rectangle is in the device context specified by the hdc member. The system automatically clips anything that the owner window draws in the device context buttons.

Applies to