Theme support for tToolbar

User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

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
TimStone
Posts: 2536
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA
Contact:

Vista

Post by TimStone »

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
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

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
James Bott
Posts: 4654
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Post by James Bott »

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: 4654
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Post by James Bott »

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

James
User avatar
TimStone
Posts: 2536
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA
Contact:

Separator

Post by TimStone »

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
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

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
James Bott
Posts: 4654
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Post by James Bott »

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
Post Reply