Hide

SftPrintPreview/DLL 2.0 - Print Preview Control for C/C++

Display
Print

CSftPrintPreview_View::GetMenuResourceID Function

The GetMenuResourceID function is called to obtain a menu resource ID.

C++

virtual LPCTSTR CSftPrintPreview_View::GetMenuResourceID();

Returns

The return value is the resource identifier of a menu resource.

Comments

The GetMenuResourceID function is called to obtain a menu resource ID.

When defining a class derived from CSftPrintPreview_View, this virtual override is used to define the menu that should be in effect when the Preview view is the active view.

Example

C++

virtual LPCTSTR GetMenuResourceID() { return MAKEINTRESOURCE(IDR_PREVIEW); }

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


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.