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

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

Would like to know the instruction of ProUIDialogDialogstyleSet()

Bryan_Chen
10-Marble

Would like to know the instruction of ProUIDialogDialogstyleSet()

Hello Sirs:

For the 2nd argument(ProUIDialogStyle) of  ProUIDialogDialogstyleSet(), there are 7 kinds of option for setting.

I tried it with Article - CS276513, but didn't see obvious difference, would like to ask does any Sir has this function usage experience and please give me some instruction or suggestion. Thanks a lot.

1 ACCEPTED SOLUTION

Accepted Solutions

Hello Bryan,

the dialog style defines what the user will be able to pick with the mouse cursor inside the Creo window while your dialog is displayed.

  • If you choose a MODELESS style, it is possible to click and select anything in the Creo window behind your dialog. This option makes sense if the user shall be able to normally access Creo buttons and contents in the graphical area while your dialog is displayed.
  • If you choose PROUIDIALOGSTYLE_WORKING everything except your dialog is frozen and cannot be selected. This makes sense for instance if your dialog contains a progress bar and it has to be avoided, that the user clicks or selects anything in the Creo window or the ribbon before your task is completed,
  • Modal styles are the default and a mixture of the two points above. This should be usually used for a dialog which has a OK and Cancel button.

 

View solution in original post

2 REPLIES 2

Hello Bryan,

the dialog style defines what the user will be able to pick with the mouse cursor inside the Creo window while your dialog is displayed.

  • If you choose a MODELESS style, it is possible to click and select anything in the Creo window behind your dialog. This option makes sense if the user shall be able to normally access Creo buttons and contents in the graphical area while your dialog is displayed.
  • If you choose PROUIDIALOGSTYLE_WORKING everything except your dialog is frozen and cannot be selected. This makes sense for instance if your dialog contains a progress bar and it has to be avoided, that the user clicks or selects anything in the Creo window or the ribbon before your task is completed,
  • Modal styles are the default and a mixture of the two points above. This should be usually used for a dialog which has a OK and Cancel button.

 

Hello Fabian Wolf:

         Very Clear, thanks a lot.

Top Tags