Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
How to keep the Creo Toolkit UI Dialog at Open state until the user manually closes it.
At present my dialog disappears automatically when I am opening other dialog operations
Solved! Go to Solution.
Use the modeless thing
After your ProUIDialogActivate() Just remove the ProUIDialogDestroy command.
You need to do it on the side where you do the Exit ... .
So a modeless Dialog works not the same way as a std. dialog.
Parent_Modal blocks the parent dialog.
Modeless don't block it. So use it. 🙂
Br,
Eike
I donot think that is possible with Toolkit. I tried to create MFC project to overcome this limitation, but could not get success for project creation.
Do let me know please if you get any useful option on this
Hi I didn't tried with MFC, but I developed win32 Application. Since it asynchronous you won't get this problem.
The problem I am facing only with synchronous applications.
Correct. Issue is related to synchronous mode only. MFC does not ensure that application is asynchronous ONLY.
Hi klalcheta,
you need to change your dialog mode. You can do that inside of the resource file or with a ProUIDialogDialogstyleSet(). Just change it to Modeless 🙂 You find more about this inside the Helpfiles.
Br,
Eike
I have tried ProUIDialogDialogstyleSet() to
PROUIDIALOGSTYLE_MODELESS → It not showing my dialog
PROUIDIALOGSTYLE_PARENT_MODAL → It's alway keeps open but I unable to zoom or rotate the model inside
the CREO
Do you've any idea with PARENT_MODEL allows zoom and rotate the model
Thanks in advance
Use the modeless thing
After your ProUIDialogActivate() Just remove the ProUIDialogDestroy command.
You need to do it on the side where you do the Exit ... .
So a modeless Dialog works not the same way as a std. dialog.
Parent_Modal blocks the parent dialog.
Modeless don't block it. So use it. 🙂
Br,
Eike
Thanks a lot @Eike_Hauptmann
Working perfectly now....