开发者

Display progress bar dialog on top of modal dialog

I am working on a wxWidget-based application. On the Mac, I am trying to open a progress bar dialog on a modal dialog, but it goes behind my modal dialog. While the progress dialog is there, I am not able to perform any operations in application, so functionality-wise it is correct, but I want to bring it to 开发者_如何学Gothe front, or send my modal dialog behind?

I would really appreciate if someone can point to some code reference as I am new to the Mac API.


Doing wxWindow::Raise() worked for me. Also make sure the progress dialog's parent is your modal dialog. With that said, putting the progress bar in the dialog itself would be a lot more slick.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜