License delivery maintenance is planned for Saturday, July 26, between 12:00 and 20:00 CEST. During this time, you may experience outages or limited availability across our services, including BIMcloud SaaS, License Delivery, Graphisoft ID (for customer and company management), Graphisoft Store, and BIMx Web Viewer. More details…
2020-08-05
08:31 AM
- last edited on
2021-09-15
09:54 AM
by
Noemi Balogh
Solved! Go to Solution.
2020-08-13 05:23 AM
2020-08-05 09:43 AM
2020-08-05 10:11 AM
Ralph wrote:Thank you. But I was wondering if the dialog can keep showing while the program call SetValue? I can only make the dialog show itself by calling "dialog.Invoke()". But the dialog shown by Invoke() seems to be a still one and the progress bar of it doesn't move.
I haven't used that specific control, but I assumeProgressBar::SetValuewould do it.
2020-08-05 11:24 AM
scandi wrote:What is the context? Are you displaying something like a progress window while a process is running? If so, you probably want a palette rather than a modeless dialog. You might need to call a redraw method on a progress bar if the value is changed too.
I was wondering if the dialog can keep showing while the program call SetValue? I can only make the dialog show itself by calling "dialog.Invoke()". But the dialog shown by Invoke() seems to be a still one and the progress bar of it doesn't move.
2020-08-05 11:46 AM
Ralph wrote:Thank you. I will try the palette. Is there any sample for that?
scandi wrote:What is the context? Are you displaying something like a progress window while a process is running? If so, you probably want a palette rather than a modeless dialog. You might need to call a redraw method on a progress bar if the value is changed too.
I was wondering if the dialog can keep showing while the program call SetValue? I can only make the dialog show itself by calling "dialog.Invoke()". But the dialog shown by Invoke() seems to be a still one and the progress bar of it doesn't move.
Also, if this is a progress window, you might want to use Archicad's standard process feedback UI. Take a look at the documentation forAPIIo_InitProcessWindowID- it provides a code sample. There's probably a C++ wrapper for that too if you hunt around - the documentation for this is mostly absent though.
2020-08-05 01:41 PM
scandi wrote:Take a look at
I will try the palette. Is there any sample for that?
2020-08-06 04:41 AM
Ralph wrote:Thanks a lot!
scandi wrote:Take a look at
I will try the palette. Is there any sample for that?OwnerDrawnListBoxPalettein DG_Test or BrowserPalettein BrowserControl.
2020-08-13 05:23 AM