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

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Creo Toolkit - Keep the UI Dialog Open

PARTHIBAN_K
16-Pearl

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

Parthiban Kannan

href="https://www.linkedin.com/in/parthiban-kannan/" target="_blank"
ACCEPTED SOLUTION

Accepted Solutions

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

View solution in original post

7 REPLIES 7

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

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

Parthiban Kannan

href="https://www.linkedin.com/in/parthiban-kannan/" target="_blank"

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

Hi @Eike_Hauptmann

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

 

Parthiban Kannan

href="https://www.linkedin.com/in/parthiban-kannan/" target="_blank"

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

Parthiban Kannan

href="https://www.linkedin.com/in/parthiban-kannan/" target="_blank"
Announcements


Top Tags