FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Theme support for tToolbar
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Theme support for tToolbar
Posted: Fri Aug 24, 2007 07: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
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Vista
Posted: Fri Aug 24, 2007 04: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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Theme support for tToolbar
Posted: Fri Aug 24, 2007 04: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
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Theme support for tToolbar
Posted: Fri Aug 24, 2007 04: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

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Theme support for tToolbar
Posted: Fri Aug 24, 2007 04:52 PM

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

James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Separator
Posted: Fri Aug 24, 2007 04: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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Theme support for tToolbar
Posted: Fri Aug 24, 2007 05: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
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Theme support for tToolbar
Posted: Fri Aug 24, 2007 06: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

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10

Continue the discussion