Custom data type in ActiveX property
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
Hello, I making an activex control in C++. I need to create a property handler that will take in an enum: enum Views { aVIEW_DETAILS = LV_VIEW_DETAILS, aVIEW_ICON = LV_VIEW_ICON, aVIEW_LIST = LV_VIEW_LIST, aVIEW_SMALLICON = LV_VIEW_SMALLICON, aVIEW_TILE = LV_VIEW_TILE, } ViewType; ViewType CvbFileListCtrl::get_viewtype() { } void CvbFileListCtrl::set_viewtype(ViewType NewValue) { } Does anyone knows how to do this? Please help!!! iluha