Q: how to get a themed scrollbar
-
I have a VC6 app (no manifest resource) which has a window with several children; The main part of the window is covered by a scrolling edit window (but with only a vertical scrollbar). The SB is 'blue' with etched horizontal lines, and is (presumably) done by the edit control non-client stuff as normal (it's a regular edit control). I want to put several windows underneath the edit control, such as tab selection stuff (think Excel workbook), and a horizontal scrollbar under around half the window (again, think Excel). However, when I create the scrollbar, it appears as a 'standard grey/gray' boring old scrollbar (not like the one in the edit window). Is there a relatively simple way I can make it render in a more modern style? I'm presuming themes here, but being a retro kind of guy (hey, I have clients who still run Windows 95 and 98 X| ) I haven't done anything with them yet; any pointers, hints or samples welcomed. Incidentally, does anyone have a link to the 'ThemeExplorer' sample mentioned in MSDN Oct 2001, which looks like it might be useful at some point? (And yes, I am moving to VS2005, slowly. I didn't realise my code was so non-compliant with more recent standards... :omg: Steve S Developer for hire
-
I have a VC6 app (no manifest resource) which has a window with several children; The main part of the window is covered by a scrolling edit window (but with only a vertical scrollbar). The SB is 'blue' with etched horizontal lines, and is (presumably) done by the edit control non-client stuff as normal (it's a regular edit control). I want to put several windows underneath the edit control, such as tab selection stuff (think Excel workbook), and a horizontal scrollbar under around half the window (again, think Excel). However, when I create the scrollbar, it appears as a 'standard grey/gray' boring old scrollbar (not like the one in the edit window). Is there a relatively simple way I can make it render in a more modern style? I'm presuming themes here, but being a retro kind of guy (hey, I have clients who still run Windows 95 and 98 X| ) I haven't done anything with them yet; any pointers, hints or samples welcomed. Incidentally, does anyone have a link to the 'ThemeExplorer' sample mentioned in MSDN Oct 2001, which looks like it might be useful at some point? (And yes, I am moving to VS2005, slowly. I didn't realise my code was so non-compliant with more recent standards... :omg: Steve S Developer for hire
-
Um, yes, sometimes it might. I should, however, have checked that my manifest was being correctly compiled into the resources, which, as it turned out, wasn't, because I'd used what I assumed would be a predefined value for the ID, rather than '1'.:sigh: Irritatingly, the standard controls I was using (list view/richedit/tree) all had visual styles, so I didn't spot it straight away.... Steve S Developer for hire