CRhinoUiPrintWidthListCtrl.
More...
#include <RhinoSdkUiPrintWidthListCtrl.h>
CRhinoUiPrintWidthListCtrl.
- NoKeywords
/ / Copyright (c) 1993-2007 Robert McNeel & Associates. All rights reserved. / Rhinoceros is a registered trademark of Robert McNeel & Associates. / / THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY. / ALL IMPLIED WARRANTIES OF FITNESS FOR ANY PARTICULAR PURPOSE AND OF / MERCHANTABILITY ARE HEREBY DISCLAIMED. /
/ For complete Rhino SDK copyright information see http://www.rhino3d.com/developer. / //////////////////////////////////////////////////////////////
◆ columns
Enumerator |
---|
name_column | |
appearance_column | |
column_count | |
◆ CRhinoUiPrintWidthListCtrl()
CRhinoUiPrintWidthListCtrl::CRhinoUiPrintWidthListCtrl |
( |
| ) |
|
◆ ~CRhinoUiPrintWidthListCtrl()
virtual CRhinoUiPrintWidthListCtrl::~CRhinoUiPrintWidthListCtrl |
( |
| ) |
|
|
virtual |
◆ AppendPrintWidth()
int CRhinoUiPrintWidthListCtrl::AppendPrintWidth |
( |
double |
print_width | ) |
|
Description: Appends a print width to the end of the control. Parameters: print_width - [in] the print width to append. Returns: >=0 - index of the inserted item. -1 - print_width already exist.
◆ DisplayUnits()
Description: Returns the current display unit system. Returns: The current display unit system. See Also: SetDisplayUnits
◆ FindPrintWidth()
int CRhinoUiPrintWidthListCtrl::FindPrintWidth |
( |
double |
print_width | ) |
const |
Description: Finds a print width that is displayed in the control. Parameters: print_width - [in] the print width to find. Returns: >=0 - index of the item. -1 - print width cannot be found.
◆ Initialize()
void CRhinoUiPrintWidthListCtrl::Initialize |
( |
| ) |
|
Description: Initializes the control. Remarks: Call this member from CDialog::OnInitDialog().
◆ InsertPrintWidth()
int CRhinoUiPrintWidthListCtrl::InsertPrintWidth |
( |
int |
item, |
|
|
double |
print_width |
|
) |
| |
Description: Inserts a print width into the control. Parameters: item - [in] index of the item to insert. print_width - [in] the print width to insert. Returns: >=0 - index of the inserted item. -1 - print_width already exist.
◆ OnCustomDraw()
afx_msg void CRhinoUiPrintWidthListCtrl::OnCustomDraw |
( |
NMHDR * |
pNMHDR, |
|
|
LRESULT * |
pResult |
|
) |
| |
◆ OnHeaderEndTrack()
afx_msg void CRhinoUiPrintWidthListCtrl::OnHeaderEndTrack |
( |
NMHDR * |
pNMHDR, |
|
|
LRESULT * |
pResult |
|
) |
| |
◆ OnSize()
afx_msg void CRhinoUiPrintWidthListCtrl::OnSize |
( |
UINT |
nType, |
|
|
int |
cx, |
|
|
int |
cy |
|
) |
| |
◆ PreCreateWindow()
virtual BOOL32 CRhinoUiPrintWidthListCtrl::PreCreateWindow |
( |
CREATESTRUCT & |
cs | ) |
|
|
protectedvirtual |
◆ PreSubclassWindow()
virtual void CRhinoUiPrintWidthListCtrl::PreSubclassWindow |
( |
| ) |
|
|
protectedvirtual |
◆ SelectedPrintWidth()
bool CRhinoUiPrintWidthListCtrl::SelectedPrintWidth |
( |
double & |
print_width | ) |
|
Description: Returns the selected print width. Parameters: print_width - [out] the print width to retrieve. Returns: TRUE - if an item is selected. FALSE - if an item is not selected.
◆ SetDisplayUnits()
Description: Sets the current display unit system. Parameters: display_units - [in] the units system. The default is ON::LengthUnitSystem::None. See Also: DisplayUnits
◆ SetSelectedPrintWidth()
void CRhinoUiPrintWidthListCtrl::SetSelectedPrintWidth |
( |
double |
print_width | ) |
|
Description: Selects print width that exists in the control. Parameters: print_width - [in] the print width to select.
◆ SizeAppearanceColumn()
void CRhinoUiPrintWidthListCtrl::SizeAppearanceColumn |
( |
| ) |
|
Description: Automatically sizes the appearance column.
◆ SizeNameColumn()
void CRhinoUiPrintWidthListCtrl::SizeNameColumn |
( |
| ) |
|
Description: Automatically sizes the name column.