Quote Originally Posted by LaVolpe View Post
For those still using XP, if someone could verify that the button has the proper style bits set, that may or may not be helpful.

For example, in dilettante's code...
Code:
If (NewStyle And &H40) Then Debug.Print "Button has BS_ICON style bit"
If (NewStyle And &H80) Then Debug.Print "Button has BS_BITMAP style bit"
Oh, and another thing... If the button has no text, I'm guessing the icon will show in XP?
LaVolpe, I've tested it in dilattante's IconizeButton procedure on XP, and the results are as follows:

(NewStyle And & H40) = False
(NewStyle And & H80) = False