BCGSoft.Visualization Namespace > VisualManager Class : OnDrawMenuCheck Method |
Specifies the image from the IMAGES_IDS enumeration to draw.
Called by the framework on redrawing the menu item. Draws an image from IMAGE_IDS enumeration that indicates a current state of the menu item (checked or unchecked). Override this member function in your VisualManager-derived class to customize the redrawing of the checked menu item.
'Declaration Public Overridable Sub OnDrawMenuCheck( _ ByVal vd As DrawButtonDef, _ ByVal pointCheck As Point, _ ByVal checkType As IMAGES_IDS _ )
'Usage Dim instance As VisualManager Dim vd As DrawButtonDef Dim pointCheck As Point Dim checkType As IMAGES_IDS instance.OnDrawMenuCheck(vd, pointCheck, checkType)
public virtual void OnDrawMenuCheck( DrawButtonDef vd, Point pointCheck, IMAGES_IDS checkType )
public: virtual void OnDrawMenuCheck( DrawButtonDef* vd, Point pointCheck, IMAGES_IDS checkType )
public: virtual void OnDrawMenuCheck( DrawButtonDef^ vd, Point pointCheck, IMAGES_IDS checkType )
Specifies the image from the IMAGES_IDS enumeration to draw.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2