SftPrintPreview/DLL 2.0

ToolBarEdit

Softel vdm, Inc.

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);

Parameters

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.

Comments

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.

Example

C

SftPrintPreview_ToolBarEdit(hwndPreview, SFTPRINTPREVIEW_TOOLBAR_ZOOM);

C++

m_Preview.ToolBarEdit(SFTPRINTPREVIEW_TOOLBAR_ZOOM);

See Also  C/C++ API  |  C++ Classes  |  Notifications


Feedback / comments / error reports for this topic
© 2016 - Softel vdm, Inc. - www.softelvdm.com