Just a side note: the Space(12) is not enough for an unicode string of 6 length; because of the double null char at the end (here you have 12 + 1, instead of 12 + 2). Use Space(13) instead.
Yes, I have a version that is working for XP. It looks at the current theme and creates a button that fits in, then applies a programmer-specified graphic to it. From there the button is handled with code very similar to what I've already posted. But it won't work for Vista and when I have that solved I'll post the lib with the source, either in Tips & Tricks or Announcements.
netmaestro wrote:Yes, I have a version that is working for XP. It looks at the current theme and creates a button that fits in, then applies a programmer-specified graphic to it. From there the button is handled with code very similar to what I've already posted. But it won't work for Vista and when I have that solved I'll post the lib with the source, either in Tips & Tricks or Announcements.
Sounds very promising!
I'm very interested in how you have done it since I don't seem to be capable of doing it...
netmaestro wrote:Yes, I have a version that is working for XP. It looks at the current theme and creates a button that fits in, then applies a programmer-specified graphic to it.
Any chance we can take a look it? At least it would be nice if you could explain how you done it.
Sorry to hear that but I can understand it. One last question though. Have you done it all alone or is there some kind of reference you could point me to?