1. Call To HttpGetRequest() In Wininet.ew Seems to Hide My wxProgressDialog
- Posted by euphoric (admin) Apr 27, 2023
- 535 views
I've got a wxProgressDialog keeping my user updated through various function calls.
After calling HttpGetRequest(), the progress dialog disappears, moved behind other windows (?).
If I watch the windows while holding Alt+TAB, I can see the progress dialog being updated; I guess it's just covered by the main frame now.
How do I get it back to (and keep it in) the foreground in cases like this?
2. Re: Call To HttpGetRequest() In Wininet.ew Seems to Hide My wxProgressDialog
- Posted by ghaberek (admin) Apr 27, 2023
- 522 views
I've got a wxProgressDialog keeping my user updated through various function calls.
After calling HttpGetRequest(), the progress dialog disappears, moved behind other windows (?).
If I watch the windows while holding Alt+TAB, I can see the progress dialog being updated; I guess it's just covered by the main frame now.
How do I get it back to (and keep it in) the foreground in cases like this?
That's... weird.
This thread: wxProgressDialog wxMessageDialog z-order indicates there may be an issue where other dialogs can mess up the z-order for wxProgressDialog. Looks like they issued a fix in 2017 but the binaries you're using are probably from 2015.
Are you setting any flags when you call HttpGetRequest? By default the flags parameter is set to INTERNET_FLAG_NO_UI which the documentation says "disables the cookie dialog box" so that could be at least part of the issue here.
-Greg
3. Re: Call To HttpGetRequest() In Wininet.ew Seems to Hide My wxProgressDialog
- Posted by euphoric (admin) Apr 27, 2023
- 512 views
Are you setting any flags when you call HttpGetRequest?
No, I'm only passing the first parameter (sequence url).