Skip to main content
16-Pearl
Jul 6, 2017 9:38 AM UTC
Solved

Creo Toolkit - Keep the UI Dialog Open

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

15-Moonstone
Jul 28, 2017 12:59 PM UTC

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

7 replies

2-Explorer
Jul 14, 2017 4:24 AM UTC

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

Translate
16-Pearl
Jul 17, 2017 4:10 AM UTC

@Ketan_Lalcheta

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.

Translate
2-Explorer
Jul 17, 2017 11:45 AM UTC

Correct. Issue is related to synchronous mode only. MFC does not ensure that application is asynchronous ONLY.

Translate