cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

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

How to use the OTK C++ function uifcActivateDialog?

wang666Tk
10-Marble

How to use the OTK C++ function uifcActivateDialog?

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

 

1 REPLY 1
AndrewK
Community Manager
(To:wang666Tk)


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.

Announcements


Top Tags