Sign in to follow this  
theOcelot

Solved: Cross-platform way to get specific client area [wxWidgets]

Recommended Posts

I'm programming with wxWidgets. I want to create windows which have a specific client area. On my windows computer, I can measure the discrepancy between the window size I specified and what the device context reports, and hard-code that into my window-creation, but this will obviously break on platforms with different-sized decorations. Further, it gives me a slightly nasty feeling inside. To make things more complicated, the windows which I would like to have with a specific size may be further nested in a wxNotebook. I realize I may just have to suck it up, or do something annoying like make an invisible window and measure it. Is there any hope for me? [Edited by - theOcelot on January 21, 2009 4:52:41 PM]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this