As per the title, how can I get a wxActivityIndicator to be the foremost control in a wxDialog-derived window?
The wxDialog window has a wxCalendarCtrl and wxDataViewCtrl in it and I'm trying to get a wxActivityIndicator to render on top of those controls and center it in the wxDialog window. Once the operation completes, I hide it. Additionally, if I could steal focus or prevent any controls from being active during the operation that would be beneficial too. Is that possible too?
What I've done so far is kind of place the wxActivityIndicator in-between the two controls with ReserveSpaceEvenIfHidden flag to true. But this isn't quite center and the reserved space looks weird when the wxActivityIndicator is hidden.
Overlay and center wxActivityIndicator over all other widgets Topic is solved
Re: Overlay and center wxActivityIndicator over all other widgets
There is no easy way to achieve what you want with wxActivityIndicator.
Check if wxBusyCursor, wxBusyInfo or wxProgressDialog could be alternatives.
Check if wxBusyCursor, wxBusyInfo or wxProgressDialog could be alternatives.
Use the source, Luke!