Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » Look and Chameleon Technology » TopWindow skin
TopWindow skin [message #38151] Mon, 03 December 2012 00:54 Go to next message
bushman is currently offline  bushman
Messages: 134
Registered: February 2009
Experienced Member
hi, there,
Is there a way to replace the std frame of a TopWindow by a custom-designed frame? I'm using Windows 7.
I don't know if I've been clear enough, but I mean to change the look of the main app window top bar, with the close, minimize, maximize buttons, window frame border, etc.

I thought of using a PopUpWindow and setting its frame to a custom one by means of SetFrame(MyCustomFrame()); Could it be an alternative way to do it? Are there implications in the way of having this popup behaving differently from a strict TopWindow?

I'd rather not manipulate the Window API for that.

tks!

[Updated on: Mon, 03 December 2012 01:11]

Report message to a moderator

Re: TopWindow skin [message #38160 is a reply to message #38151] Mon, 03 December 2012 07:00 Go to previous messageGo to next message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

Hi,

On windows you should be able to use TopWindow::Frameless(), to get a Topwindow without the decorations. Then you can paint your own via SetFrame(), as you suggested.

Best regards,
Honza
Re: TopWindow skin [message #38173 is a reply to message #38160] Mon, 03 December 2012 11:55 Go to previous messageGo to next message
bushman is currently offline  bushman
Messages: 134
Registered: February 2009
Experienced Member
Well, sounds fine, I'll try this.
Tks!

[Updated on: Wed, 05 December 2012 22:22]

Report message to a moderator

Re: TopWindow skin [message #39038 is a reply to message #38160] Sat, 09 February 2013 08:51 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
dolik.rce wrote on Mon, 03 December 2012 01:00

Hi,

On windows you should be able to use TopWindow::Frameless(), to get a Topwindow without the decorations. Then you can paint your own via SetFrame(), as you suggested.

Best regards,
Honza


With GTK backend, it now works too...

Mirek
Previous Topic: look of ctrl with styled horz and vert scrollbars
Next Topic: TheIde and U++ apps don't look right under Ubuntu/Unity
Goto Forum:
  


Current Time: Thu Mar 28 15:18:56 CET 2024

Total time taken to generate the page: 0.01158 seconds