Page 2 of 2
Posted: Fri Aug 24, 2007 7:36 am
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
Vista
Posted: Fri Aug 24, 2007 4:40 pm
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
Posted: Fri Aug 24, 2007 4:46 pm
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
Posted: Fri Aug 24, 2007 4:48 pm
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
Posted: Fri Aug 24, 2007 4:52 pm
by James Bott
Sorry to be redundant, I see Antonio beat me with the answer.
James
Separator
Posted: Fri Aug 24, 2007 4:55 pm
by TimStone
Sorry, but almost all of my non-microsoft programs work the same way ... shorter, less bold, vertical line as a separator.
Posted: Fri Aug 24, 2007 5:17 pm
by Antonio Linares
Tim,
We use the standard Windows one. Maybe those applications are painting the separator instead of using the built-in one
Posted: Fri Aug 24, 2007 6:06 pm
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