Skip to main content
1-Visitor
August 18, 2021
Solved

Would like to know the instruction of ProUIDialogDialogstyleSet()

  • August 18, 2021
  • 1 reply
  • 1756 views

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.

Best answer by FabianWolf

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.

 

1 reply

14-Alexandrite
August 18, 2021

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.

 

1-Visitor
August 19, 2021

Hello Fabian Wolf:

         Very Clear, thanks a lot.