wxButton Look and feel problem

Questions about wxWidgets running on MS.NET, mono or Portable.NET ? Ask it here !
MuhammadSohail
Experienced Solver
Experienced Solver
Posts: 96
Joined: Fri Jun 17, 2005 1:53 pm
Location: Germany
Contact:

wxButton Look and feel problem

Postby MuhammadSohail » Fri Jan 27, 2006 2:21 pm

Hi all,

I want to button should be round at each corner but unfortunately it looks
square. I am using windows xp.
I am creating buttons as follows

wxButton* cancelButton = new wxButton( this, CANCEL_BUTTON_ID, "Cancel", wxPoint(-1,-1), wxSize(-1, 30) );

Someone help me to create round at corners button.

Thanks

Jorg
Moderator
Moderator
Posts: 3971
Joined: Fri Aug 27, 2004 9:38 pm
Location: Delft, Netherlands
Contact:

Postby Jorg » Fri Jan 27, 2006 3:23 pm

I assume you mean the XP theme?

You either have to include the wx.rc file to your own project, or create a manifest file for Windows XP to use the proper DLL that will render the buttons the modern style.

- Jorgen
Forensic Software Engineer
Netherlands Forensic Insitute
http://english.forensischinstituut.nl/
-------------------------------------
Jorg's WasteBucket
http://www.xs4all.nl/~jorgb/wb

Jorg
Moderator
Moderator
Posts: 3971
Joined: Fri Aug 27, 2004 9:38 pm
Location: Delft, Netherlands
Contact:

Postby Jorg » Fri Jan 27, 2006 4:08 pm

Please do not crosspost. I wasted time on this and you were already helped on another thread.

- Jorgen
Forensic Software Engineer

Netherlands Forensic Insitute

http://english.forensischinstituut.nl/

-------------------------------------

Jorg's WasteBucket

http://www.xs4all.nl/~jorgb/wb


Return to “wx.NET”

Who is online

Users browsing this forum: No registered users and 1 guest