Common Question 30
How do I programmatically Undo the zoom?
OCX users set PEactions = UNDO_ZOOM (19)
VCL users set PEactions := gUndoZoom
You will need to call the SendMessage Windows function and send WM_COMMAND to the handle of the ProEssentials object.
You will be sending the menu id 53053 which signifies the object to undo the zoom. This is done as follows:
SendMessage(m_hObject, WM_COMMAND, (WPARAM) MAKELONG(53053, 0), 0L);
©2017 Gigasoft, Inc. | All rights reserved.
Gigasoft is a registered trademark, and ProEssentials a trademark of Gigasoft, Inc.