SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
The ToolBarEdit function sets the input focus to a control on the built-in tool bar for editing by the user.
C
void SftPrintPreview_ToolBarEdit(HWND hwnd, int style);
C++
void CSftPrintPreview::ToolBarEdit(int style);
hwnd
The window handle of the Print Preview control.
style
Defines the control to receive the input focus:
style | Description |
---|---|
SFTPRINTPREVIEW_TOOLBAR_PAGE | The edit control used to enter the current page number receives the input focus. |
SFTPRINTPREVIEW_TOOLBAR_ZOOM | The combo box used to enter the zoom factor receives the input focus. |
The ToolBarEdit function sets the input focus to a control on the built-in tool bar for editing by the user.
This function is typically used to allow access to editable tool bar fields from an application's menu. The OnViewPageEdit and OnPreviewZoomEdit menu handlers used with C++/MFC use the ToolBarEdit function.
C
SftPrintPreview_ToolBarEdit(hwndPreview, SFTPRINTPREVIEW_TOOLBAR_ZOOM);
C++
m_Preview.ToolBarEdit(SFTPRINTPREVIEW_TOOLBAR_ZOOM);
See Also C/C++ API | C++ Classes | Notifications