The virtual function table of mItemClass.
More...
#include <mitem.h>
The virtual function table of mItemClass.
- BOOL (*setProperty)(mItem *self, int id, DWORD value);
The function sets the value of the specified properties. - Parameters
-
id | The property id. |
value | The property value. |
- Returns
- TRUE on success, otherwise FALSE.
- DWORD (*getProperty)(mItem *self, int id);
The function gets the value of the specified properties. - Parameters
-
- Returns
- the property value on success, otherwise -1.
- BOOL (*isSelectedItem)(mItem *self);
The function is used to decide whether the item is selected or not. - Returns
- TRUE for selected status, otherwise FALSE.
- BOOL (*isEnabledItem)(mItem *self);
The function is used to terminate whether the item is enabled or not. - Returns
- TRUE for enabled status, otherwise FALSE.
- void (*setItemEditor)(mItem *self, hEditor editor);
The function is used to set the item editor. - Parameters
-
editor | The handle of editor. |
- hEditor (*getItemEditor)(mItem *self);
The function is used to get the item editor. - Returns
- The editor handle on success, otherwise HWND_NULL.
- void (*setItemAddData)(mItem *self, DWORD addData);
The function is used to set the addtional data. - Parameters
-
addData | The additional data. |
- DWORD (*getItemAddData)(mItem *self);
The function is used to get the additional data. - Returns
- The additional data.
- void (*setItemImage)(mItem *self, DWORD image);
The function is used to set the item image. - Parameters
-
addData | The handle of image. |
- DWORD (*getItemImage)(mItem *self);
The function is used to get the item image. - Returns
- The pointer of image, otherwise 0.
- BOOL (*setItemString)(mItem self, char string);
The function is used to set the item string. - Parameters
-
- Returns
- TRUE on success, otherwise FALSE.
- char* (*getItemString)(mItem *self);
The function is used to get the item string. - Returns
- The item text, otherwise NULL.
- void (*setItemFlags)(mItem *self, DWORD flags);
The function is used to set the item flags. - Parameters
-
- DWORD (*getItemFlags)(mItem *self);
The function is used to get the item flags.
- BOOL (*setItemHeight)(mItem *self, int height);
The function is used to set the item height. - Parameters
-
- Returns
- TRUE on success, otherwise FALSE.
- int (*getItemHeight)(mItem *self);
The function is used to get the item height.
The documentation for this struct was generated from the following file: