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...
Oh, and another thing... If the button has no text, I'm guessing the icon will show in XP?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"




Reply With Quote