Advertisement

Bitmapped Buttons

Started by July 09, 2000 03:59 PM
0 comments, last by John Gambini 24 years, 5 months ago
Set your button up in the menubar. Then somewhere in your code you''ve got to call: m_BitmapV.LoadBitmap(IDB_VIDEOSETTINGS); m_VideoBtn.SendMessage(BM_SETIMAGE, IMAGE_BITMAP, (LPARAM)(HBITMAP)m_BitmapV); where m_BitmapV is a CBitmap object and m_VideoBtn is your CButton object. Basically, your sending the button a message telling it to load a bitmap I did this in a dialog, you''ll need to finagle it around a little for menu bars. John G.
a couple o months ago i neede to figure that for one o my programs and i finally didn''t put that into it....
couldn''t you post this a bit earlier?

-----------------
- Pouya / FOO!!!
One of the initiators of the "uh, no" crisis and entitled to be the king of crap posters.

This topic is closed to new replies.

Advertisement