|
dispinterface _DRTXLabel
{
properties:
[id(DISPID_BACKCOLOR), bindable, requestedit] OLE_COLOR BackColor;
[id(DISPID_ENABLED), bindable, requestedit] boolean Enabled;
[id(DISPID_FONT), bindable] IFontDisp* Font;
[id(DISPID_FORECOLOR), bindable, requestedit] OLE_COLOR ForeColor;
[id(DISPID_HWND)] OLE_HANDLE hWnd;
[id(DISPID_TEXT), bindable, requestedit] BSTR Text;
[id(1)] VARIANT_BOOL DisplayStatusInLabel;
[id(2)] VARIANT UserData;
[id(3)] BSTR Nick;
[id(4)] VARIANT_BOOL UsePresence;
//}}AFX_ODL_PROP
methods:
[id(5)] enmStatus GetCurrentStatus();
[id(DISPID_ABOUTBOX)] void AboutBox();
};
dispinterface _DRTXLabelEvents
{
properties:
methods:
[id(0x00000001)]
void StatusChanged(enmStatus lStatus);
}; |
|