How to use the OTK C++ function uifcActivateDialog?
- May 3, 2024
- 1 reply
- 1239 views
I tried wrapping OTK C++ to create a dialog. What I learned is that it is possible to manipulate the user interface of CREO when setting the style of the dialog to uifcDIALOG_STYLE_PARENT_AND_MENU_MODAL. At the same time, when you open the dialog interface of other creo, the dialog created by OTK will be closed. In general, there are no exceptions as follows the sample code. LIKE:
uifcCreateDialog, uifcActivateDialog, uifcExitDialog and uifcDestroyDialog return 0 and
no exception is thrown.
But I get an exception when I call the function uifcActivateDialog in a function that is rewrapped. After the uifcActivateDialog dialog is blocked, an exception occurs when open other CREO dialog boxes.
Thanks in advance.
Versions:
Creo Parametric 9.0 - 64 bit
Windows 10 64 Bit
C++ Object Toolkit

