J
James.Barnett.Jr
Hello all,
I can't believe no one has needed to do this, but I googled high and
low and didn't find an answer.
I want to change the icon of the Worksheet Menu Bar in Excel. The
subject has "icon" in quotes because I dropped into win32, found the
HWND of the Worksheet Menu Bar, and did a SendMessage ... WM_SETICON
.... and the icon didn't change, so I am not sure it is the icon of the
menu bar (perhaps the WM_PAINT handler just draws it?).
I feel confident that this can be done, because they hinted at it in
Professional Excel Development (Bullen, Bovey, Green). Actually, it
sounded like they were going to tell you how to do it, but then they
just showed code for changing the main window icon.
Any and all help is appeciated,
Jim Barnett
Software Engineer
I can't believe no one has needed to do this, but I googled high and
low and didn't find an answer.
I want to change the icon of the Worksheet Menu Bar in Excel. The
subject has "icon" in quotes because I dropped into win32, found the
HWND of the Worksheet Menu Bar, and did a SendMessage ... WM_SETICON
.... and the icon didn't change, so I am not sure it is the icon of the
menu bar (perhaps the WM_PAINT handler just draws it?).
I feel confident that this can be done, because they hinted at it in
Professional Excel Development (Bullen, Bovey, Green). Actually, it
sounded like they were going to tell you how to do it, but then they
just showed code for changing the main window icon.
Any and all help is appeciated,
Jim Barnett
Software Engineer