Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
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
Hi wang666Tk
Thank you for your question.
Your question seems clear, but if there are any additional details or context you could add to your initial inquiry, it will increase your chances to receive meaningful help from other Community members.