Partager via


Image Control

Creates an Image control that displays a .bmp picture.

Image

Remarks

An Image control is a graphical control that displays bitmaps that can't be changed directly. However, because an Image control has a full set of properties, events, and methods that other controls have, an Image control can respond to events and can be changed dynamically at run time.

For additional information about creating Images, see Using Controls.

Properties

Application BackStyle BaseClass
BorderColor BorderStyle Class
ClassLibrary ColorSource Comment
DragIcon DragMode Enabled
Height HelpContextID Left
MousePointer Name OLEDragMode
OLEDragPicture OLEDropEffects OLEDropHasData Property
OLEDropMode Parent ParentClass
Picture Stretch Tag
ToolTipText Top Visible
WhatsThisHelpID Width  

Events

Click DblClick Destroy
DragDrop DragOver Error
Init MiddleClick Event MouseDown
MouseEnter MouseLeave MouseMove
MouseUp MouseWheel OLECompleteDrag
OLEDragDrop OLEDragOver OLEGiveFeedBack
OLESetData OLEStartDrag RightClick
UIEnable    

Methods

AddProperty CloneObject Drag
Move OLEDrag ReadExpression
ReadMethod ResetToDefault SaveAsClass
WriteExpression WriteMethod Zorder

See Also

CREATE CLASS | CREATE FORM | DEFINE CLASS