Rhino C++ API
8.17
|
CRhinoUiPopDownLayerListCtrl. More...
#include <rhinoSdkUiLayerListCtrl.h>
Public Member Functions | |
CRhinoUiPopDownLayerListCtrl (CComboBox &cb) | |
virtual | ~CRhinoUiPopDownLayerListCtrl () |
bool | CalcSizeAndPosition (CRect &rect, bool &bPopDown) |
CComboBox & | ComboBox () |
bool | LayerHasChildren (int nItem) |
void | OnItemCollapsed (int nItem) |
void | OnItemExpanded (int nItem) |
afx_msg void | OnKeyDown (UINT nChar, UINT nRepCnt, UINT nFlags) |
afx_msg void | OnKillFocus (CWnd *pNewWnd) |
afx_msg void | OnLButtonUp (UINT nFlags, CPoint point) |
afx_msg void | OnMouseMove (UINT nFlags, CPoint point) |
afx_msg void | OnNMClick (NMHDR *pNMHDR, LRESULT *pResult) |
virtual BOOL32 | PreTranslateMessage (MSG *pMsg) |
virtual overrides More... | |
class CRhinoUiComboBox * | RhinoUiComboBox () |
virtual LRESULT | WindowProc (UINT message, WPARAM wParam, LPARAM lParam) |
![]() | |
CRhinoUiLayerListCtrl () | |
virtual | ~CRhinoUiLayerListCtrl () |
BOOL32 | DeleteAllItems () |
virtual void | DrawItem (LPDRAWITEMSTRUCT lpDrawItemStruct) |
bool | EnableMultipleSelect () const |
int | GetMaxIndentPixels () |
int | GetMaxStringPixels () |
void | Initialize () |
bool | LayerEditingEnabled () const |
int | LoadLayers (CRhinoDoc *doc, bool bShowReference=true, int set_current=-1) |
afx_msg void | OnChar (UINT nChar, UINT nRepCnt, UINT nFlags) |
afx_msg void | OnContextMenu (CWnd *pWnd, CPoint point) |
afx_msg BOOL32 | OnEraseBkgnd (CDC *pDC) |
afx_msg void | OnKeyDown (UINT nChar, UINT nRepCnt, UINT nFlags) |
afx_msg void | OnLButtonDblClk (UINT nFlags, CPoint point) |
afx_msg void | OnLButtonDown (UINT nFlags, CPoint point) |
afx_msg void | OnPaint () |
int | SelectedLayer () const |
int | SelectedLayers (ON_SimpleArray< int > &layer_list) const |
void | SetEnableMultipleSelect (bool bEnable) |
void | SetLayerEditingEnabled (bool bEnable=true) |
void | SetSelectedLayer (int layer_index) |
void | SetSelectedLayers (const ON_SimpleArray< int > &layer_list) |
void | SizeColumns () |
Protected Member Functions | |
void | ComboBoxSelectLayer (int layer_index) |
void | HidePopUpWindow () |
![]() | |
void | AppendItem (CRhinoDoc *doc, const CRhinoLayer *layer, bool bExpanded) |
void | AppendLayer (CRhinoDoc *doc, const CRhinoLayer *layer, bool bExpanded) |
void | Collapse (int nPos, int nItem) |
int | DoExpand (int nItem, bool bRecursive, int &nCounterInsert) |
int | Expand (int nPos, int nItem, bool bRecurse=false) |
int | GetItemIndent (int nItem) const |
int | InsertItem (int nItem, int nPos, const CRhinoUiLayerListCtrlItem &item) |
const CRhinoUiLayerListCtrlItem * | LayerFromItem (int nItem) const |
int | LayerIndexFromItem (int nItem) const |
void | OnClickColorColumn (int nItem) |
void | OnClickCurrentColumn (int nItem) |
void | OnClickLockedColumn (int nItem) |
void | OnClickNameColumn (int nItem) |
void | OnClickVisibleColumn (int nItem) |
virtual void | PreSubclassWindow () |
Protected Attributes | |
CComboBox & | m_ComboBox |
class CRhinoUiPopDownLayerWnd * | m_PopDownLayerWnd |
![]() | |
bool | m_bDrawHorzizontalGridLines |
bool | m_bKeepFocus |
bool | m_bLayerEditingEnabled |
bool | m_bShowReference |
CRhinoUiImageList | m_ilEmpty |
CRhinoUiImageList | m_ilImage |
CRhinoUiImageList | m_ilTree |
ON_ClassArray< CRhinoUiLayerListCtrlItem > | m_layers |
unsigned int | m_rhino_doc_sn |
Friends | |
class | CRhinoUiPopDownLayerWnd |
Additional Inherited Members | |
![]() | |
enum | columns { name_column = 0, color_column, current_column, visible_column, locked_column, column_count } |
enum | layer_images { no_layer_image = 0, current_image, visible_image, invisible_image, locked_image, unlocked_image, cached_visible_image, cached_locked_image, image_count } |
enum | state_images { no_state_image = 0, collapsed_image, expanded_image } |
CRhinoUiPopDownLayerListCtrl::CRhinoUiPopDownLayerListCtrl | ( | CComboBox & | cb | ) |
|
virtual |
bool CRhinoUiPopDownLayerListCtrl::CalcSizeAndPosition | ( | CRect & | rect, |
bool & | bPopDown | ||
) |
|
inline |
|
protected |
|
protected |
bool CRhinoUiPopDownLayerListCtrl::LayerHasChildren | ( | int | nItem | ) |
|
virtual |
Description Override this virtual function if you want to be notified when an item was collapsed.
Reimplemented from CRhinoUiLayerListCtrl.
|
virtual |
Description Override this virtual function if you want to be notified when an item was expanded.
Reimplemented from CRhinoUiLayerListCtrl.
afx_msg void CRhinoUiPopDownLayerListCtrl::OnKillFocus | ( | CWnd * | pNewWnd | ) |
afx_msg void CRhinoUiPopDownLayerListCtrl::OnLButtonUp | ( | UINT | nFlags, |
CPoint | point | ||
) |
afx_msg void CRhinoUiPopDownLayerListCtrl::OnMouseMove | ( | UINT | nFlags, |
CPoint | point | ||
) |
afx_msg void CRhinoUiPopDownLayerListCtrl::OnNMClick | ( | NMHDR * | pNMHDR, |
LRESULT * | pResult | ||
) |
virtual overrides
class CRhinoUiComboBox* CRhinoUiPopDownLayerListCtrl::RhinoUiComboBox | ( | ) |
|
virtual |
|
friend |
|
protected |
|
protected |