Theme support for tToolbar

Postby Antonio Linares » Fri Aug 24, 2007 7:36 am

Tim,

> The sample has a vertical doted line ... how is that formed.

Windows toolbar draws it

>
Also, you have a dark, full height, separator but the XP format is a shorter, lighter, line vertically centered. Is there a fix or setting to attain that capability.
>

I have shown it running in Vista. In XP it may look different, as it is based on the default used theme.

Please run samples\rebars.prg in Vista
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Vista

Postby TimStone » Fri Aug 24, 2007 4:40 pm

All of my programming is done on a Vista machine and that is what I'm talking about. The separator line of rebars.prg is a dark black, full length vertical line in Vista ... but if I look at other Windows programs ( ie. Outlook ) that have separators, its is a partial vertical line in the theme color.

Tim
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2945
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Postby Antonio Linares » Fri Aug 24, 2007 4:46 pm

Tim,

FWH uses standard Windows controls. Outlook, as many other products from Microsoft, use controls that are non standard and whose APIs are not publically available
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby James Bott » Fri Aug 24, 2007 4:48 pm

Tim,

>but if I look at other Windows programs ( ie. Outlook ) that have separators,

Most of the MS Office apps (if not all) do not use the standard Windows toolbars. I think MS intentionally limits the standard to make it more difficult for programmers to make products that look similar Office products.

James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby James Bott » Fri Aug 24, 2007 4:52 pm

Sorry to be redundant, I see Antonio beat me with the answer.

James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Separator

Postby TimStone » Fri Aug 24, 2007 4:55 pm

Sorry, but almost all of my non-microsoft programs work the same way ... shorter, less bold, vertical line as a separator.
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2945
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Postby Antonio Linares » Fri Aug 24, 2007 5:17 pm

Tim,

We use the standard Windows one. Maybe those applications are painting the separator instead of using the built-in one
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby James Bott » Fri Aug 24, 2007 6:06 pm

Tim,

Outlook Express and fwh\samples\toolbar3.prg's separators look the same on my PC under XP.

Note that the separator can be modified by the theme, so it may look different running on the same OS with different themes. However, I don't know why FWH apps wouldn't show the same separator for the current theme.

James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 34 guests