Hi,
We have an image browser application, working fine on Windows.
Now ported to Mac/Carbon, and there are some problems !
The browser windows are floating AUI panes. If we call a modal dialog (wxDialog), it disappears behind the floating panes.
If we set the dialog to "wxSTAY_ON_TOP", it appears in front of the floating pane, but a wxCalendarCtrl used in this dialog will be created behind the floating pane - which is not really fine.
Thanks in advance for any good idea
Josef
Kirix Support Forums
wxAUI Floating pane vs. wxDialog
9 posts
• Page 1 of 1
- JosefH
- Registered User
- Posts: 6
- Joined: Thu Nov 16, 2006 9:03 am
- Location: Hamburg / Germany
Hi Josef,
Can you post a screenshot? It might help me diagnose the problem a little better.
wxCalendarCtrl can be tricky, because there are multiple controls involved. Last I checked (about a year ago), reparenting doesn't work too well on calendar control. I'm not sure if this is the cause of your problem.
I also thought that, if you're working with wxDialog and something isn't working, it would be difficult to conceive that this would relate to a wxAUI problem. However, I could be wrong.
Best,
Ben
Can you post a screenshot? It might help me diagnose the problem a little better.
wxCalendarCtrl can be tricky, because there are multiple controls involved. Last I checked (about a year ago), reparenting doesn't work too well on calendar control. I'm not sure if this is the cause of your problem.
I also thought that, if you're working with wxDialog and something isn't working, it would be difficult to conceive that this would relate to a wxAUI problem. However, I could be wrong.
Best,
Ben
-
Ben - Kirix Support Team
- Posts: 525
- Joined: Mon Dec 19, 2005 6:29 am
Window layers
Hi Ben,
Thanks for your quick reply.
Attached you can see the window layers (as I told, Mac/Carbon), bottom to top:
- desktop with log window
- application main frame (IP number to be seen)
- calendar control
- browser (floating AUI pane)
- wxDialog (I have clicked on the deletion date control)
Regards
Josef
I hope I can attach this pdf file
[img]Y:\ImageDesk\wxAUI Layers.pdf[/img]
Thanks for your quick reply.
Attached you can see the window layers (as I told, Mac/Carbon), bottom to top:
- desktop with log window
- application main frame (IP number to be seen)
- calendar control
- browser (floating AUI pane)
- wxDialog (I have clicked on the deletion date control)
Regards
Josef
I hope I can attach this pdf file
[img]Y:\ImageDesk\wxAUI Layers.pdf[/img]
- JosefH
- Registered User
- Posts: 6
- Joined: Thu Nov 16, 2006 9:03 am
- Location: Hamburg / Germany
Sorry, ...
as I see I cannot post the image here
- JosefH
- Registered User
- Posts: 6
- Joined: Thu Nov 16, 2006 9:03 am
- Location: Hamburg / Germany
-
Ben - Kirix Support Team
- Posts: 525
- Joined: Mon Dec 19, 2005 6:29 am
- JosefH
- Registered User
- Posts: 6
- Joined: Thu Nov 16, 2006 9:03 am
- Location: Hamburg / Germany
One more problem
Hi Ben,
I have had to start with this: we appreciate your efforts very much! wxAUI is a really super package!
But : There is one more problem with the floating pane on Mac/Carbon. The Windows version works fine, the Mac version is only ok if our browser window is not floating.
We have a wxToolBar, a wxScrolledWindow and a wxTextCtrl on the pane. Writing text to the wxTextCtrl it appears on the main window.
I attach another screenshot. The text "A small truck..." should appear in the text control on the bottom right.
Wish you a happy weekend
Josef
http://www.codesco.com/webcdc/wxaui_textctrl.jpg
I have had to start with this: we appreciate your efforts very much! wxAUI is a really super package!
But : There is one more problem with the floating pane on Mac/Carbon. The Windows version works fine, the Mac version is only ok if our browser window is not floating.
We have a wxToolBar, a wxScrolledWindow and a wxTextCtrl on the pane. Writing text to the wxTextCtrl it appears on the main window.
I attach another screenshot. The text "A small truck..." should appear in the text control on the bottom right.
Wish you a happy weekend
Josef
http://www.codesco.com/webcdc/wxaui_textctrl.jpg
- JosefH
- Registered User
- Posts: 6
- Joined: Thu Nov 16, 2006 9:03 am
- Location: Hamburg / Germany
Hi Josef,
After looking at the screenshot, I feel like this is probably a bug in wxCalendarCtrl, perhaps specific to Max OS X.
Though I'm not entirely certain, the fact that this is in a dialog seems to mean to me that the bug is independent of wxAUI. Is this the case, or is the calendar control in an AUI frame?
Thanks,
Ben
After looking at the screenshot, I feel like this is probably a bug in wxCalendarCtrl, perhaps specific to Max OS X.
Though I'm not entirely certain, the fact that this is in a dialog seems to mean to me that the bug is independent of wxAUI. Is this the case, or is the calendar control in an AUI frame?
Thanks,
Ben
-
Ben - Kirix Support Team
- Posts: 525
- Joined: Mon Dec 19, 2005 6:29 am
wxDatePickerCtrl
Hi Ben,
The problem arises only on Mac/Carbon, the Windows version is ok.
The wxDatePickerCtrl is used in a normal wxDialog, which is called from the floating wxAUI pane.
- if the pane is not floating, everything is ok (without wxSTAY_ON_TOP set for the dialog)
- if the pane is floating, and I donot set wxSTAY_ON_TOP for the wxDialog, even the dialog is behind the floating pane (not on Win!)
- if the pane is floating, and wxSTAY_ON_TOP is set for the dialog, it comes to the front, above the floating pane, but the calendar control goes behind the pane
So it is a really special situation:
Mac/Carbon + floating pane + wxDialog + calendar control
(wxWidgets 2.63, wxAUI 0.92, Metroworks 8.3)
Regards
Josef
The problem arises only on Mac/Carbon, the Windows version is ok.
The wxDatePickerCtrl is used in a normal wxDialog, which is called from the floating wxAUI pane.
- if the pane is not floating, everything is ok (without wxSTAY_ON_TOP set for the dialog)
- if the pane is floating, and I donot set wxSTAY_ON_TOP for the wxDialog, even the dialog is behind the floating pane (not on Win!)
- if the pane is floating, and wxSTAY_ON_TOP is set for the dialog, it comes to the front, above the floating pane, but the calendar control goes behind the pane
So it is a really special situation:
Mac/Carbon + floating pane + wxDialog + calendar control
(wxWidgets 2.63, wxAUI 0.92, Metroworks 8.3)
Regards
Josef
- JosefH
- Registered User
- Posts: 6
- Joined: Thu Nov 16, 2006 9:03 am
- Location: Hamburg / Germany
9 posts
· Page 1 of 1
Return to wxAUI Questions, Thoughts & Feedback