Ok here's the deal. I wanted to start helping but i've been reading the auncments and stuff but i did see this topic come up. So i thought i would just through it out and see what the wine community had to say. I have build a few (simple)delphi programs test wine out to start working on it(wine that is). fixme:commctrl:FlatSB_SetScrollProp stub ok my question is this since this API is no longer in windows ( Comctl32.dll version 6 and higher do not support flat scroll bars) show i go ahead and write in the code or just go find something else more productive? If this is a stupid question just let me know like( hey it's in the doc's on wine and heres the web site.... ) that would be great. Thanks, -NH -Better living through Wine-
Hi Nathan,
Welcome to the world of Wine!
Implementing FlatSB support shouldn't be too hard. You just will need to subclass the window passed into the initialization function and then handle the messages just like in the ordinary scroll bars. Making them look 'hot' is relatively easy - just look at the code in toolbar.c (and now rebar.c for the chevron). It would be nice to have FlatSB support in Wine for completeness. My MSDN docs don't say anything about them being deprecated or absent from comctl32 v6. Where did you find this out from?
Rob
P.S. Please no HTML emails to the wine-* lists
-----Original Message----- From: wine-devel-admin@winehq.org [mailto:wine-devel-admin@winehq.org]On Behalf Of Nathan Hack Sent: 17 November 2003 21:21 To: wine-devel@winehq.com Subject: question new to the group
Ok here's the deal. I wanted to start helping but i've been reading the auncments and stuff but i did see this topic come up. So i thought i would just through it out and see what the wine community had to say. I have build a few (simple)delphi programs test wine out to start working on it(wine that is). fixme:commctrl:FlatSB_SetScrollProp stub ok my question is this since this API is no longer in windows ( Comctl32.dll version 6 and higher do not support flat scroll bars) show i go ahead and write in the code or just go find something else more productive? If this is a stupid question just let me know like( hey it's in the doc's on wine and heres the web site.... ) that would be great. Thanks, -NH -Better living through Wine-
On November 18, 2003 10:37 am, Robert Shearman wrote:
My MSDN docs don't say anything about them being deprecated or absent from comctl32 v6. Where did you find this out from?
I remember seeing the same thing as well: FlatSB are no longer supported in comctl32 v6. I wish I could point you to the exact place, but I feel too lazy at the moment to go search for it. :)
* Dimitrie O. Paun dpaun@rogers.com on Wed, Nov 19, 2003:
On November 18, 2003 10:37 am, Robert Shearman wrote:
My MSDN docs don't say anything about them being deprecated or absent from comctl32 v6. Where did you find this out from?
I remember seeing the same thing as well: FlatSB are no longer supported in comctl32 v6. I wish I could point you to the exact place, but I feel too lazy at the moment to go search for it. :)
http://msdn.microsoft.com/library/en-us/shellcc/platform/commctls/flatsb/fla...
Directly below the image.
Marcus
On Mon, 17 Nov 2003 16:21:02 -0500, Sir Nathan Hack scribed thus:
ok my question is this since this API is no longer in windows ( Comctl32.dll version 6 and higher do not support flat scroll bars) show i go ahead and write in the code or just go find something else more productive?
Well, firstly just because something is deprecated does not mean we can skip it unfortunately :( As you have already seen, many apps use this API and will do for years to come.
On the other hand, flat scrollbars are really useless, an entirely new control for a simple visual style change. There's absolutely no need to implement this control, other than perhaps to shut up the annoying fixmes, I think our users will live with 3D scrollbars somehow :)
There are lots of tasks that need to be done in Wine, I'd suggest taking a look at some and finding one that matches your level of skill. winecfg always needs hackers ;)
thanks -mike