help on maximize method Topic is solved

If you have a cool piece of software to share, but you are not hosting it officially yet, please dump it in here. If you have code snippets that are useful, please donate!
Post Reply
sgerdan
In need of some credit
In need of some credit
Posts: 4
Joined: Sat Sep 08, 2007 11:03 am

help on maximize method

Post by sgerdan » Sat Sep 08, 2007 11:19 am

Hi,
I tried to have my app start maximized,but it takes up all the screen (no borders,no windows bar),which is not what i want.Is there a way to get it to maximize in the normal way?(the way it does when you click maximize button yourself)

Thanks.

tan
Moderator
Moderator
Posts: 1471
Joined: Tue Nov 14, 2006 7:58 am
Location: Saint-Petersburg, Russia

Post by tan » Sat Sep 08, 2007 11:58 am

OS: Windows XP Pro
Compiler: MSVC++ 7.1
wxWidgets: 2.8.10

sgerdan
In need of some credit
In need of some credit
Posts: 4
Joined: Sat Sep 08, 2007 11:03 am

Post by sgerdan » Sat Sep 08, 2007 12:59 pm

Thanks,that was helpful.
What was wrong was that i was keeping the style parameter as its
default value "wxFULLSCREEN_ALL",which caused the unwanted result.

Code: Select all

frame.ShowFullScreen(True,wx.FULLSCREEN_NOTOOLBAR)
is a good solution to this.[/code]

By the way ,i think i posted to the wrong forum section.sorry for that.

Post Reply