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

Creo Toolkit - Keep the UI Dialog Open

SOLVED
PARTHIBAN_K
Moonstone

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"
Tags (2)
1 ACCEPTED SOLUTION

Accepted Solutions

Re: Creo Toolkit - Keep the UI Dialog Open

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

Re: Creo Toolkit - Keep the UI Dialog Open

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

Re: Creo Toolkit - Keep the UI Dialog Open

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

Re: Creo Toolkit - Keep the UI Dialog Open

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

Re: Creo Toolkit - Keep the UI Dialog Open

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

Re: Creo Toolkit - Keep the UI Dialog Open

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"

Re: Creo Toolkit - Keep the UI Dialog Open

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

Re: Creo Toolkit - Keep the UI Dialog Open

Thanks a lot  @Eike_Hauptmann

Working perfectly now....

Parthiban Kannan

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