Skip to main content
16-Pearl
July 6, 2017
Solved

Creo Toolkit - Keep the UI Dialog Open

  • July 6, 2017
  • 1 reply
  • 4039 views

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

Best answer by Eike_Hauptmann

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

1 reply

1-Visitor
July 14, 2017

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

16-Pearl
July 17, 2017

@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.

1-Visitor
July 17, 2017

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