An image to display in the center of the MDICLIENT control.
Set_Property(OLECtrlEntID, "OLE.MdiImage[CtrlId]", Image) |
Any valid Image.
Index | Description |
---|---|
CtrlId | Identifies a subclassed MDICLIENT control |
Applies To: MDICLIENT
The MdiImage property places an image in the center of the MDICLIENT control.
// Subclass my MDICLIENT control and add an image to it CtrlId = @Window:".MDICLIENT" Handle = Get_Property(CtrlId, "HANDLE") Send_Message(@Window:".OLE_SUBCLASS", "OLE.Subclass", Handle, CtrlId) Convert "." to ";" in CtrlId Set_Property(@Window:".OLE_SUBCLASS", "OLE.MdiImage[":CtrlId:"]", "BMPS\MyLogo.png") |