large images on toolbar

Posted by cagi on Stack Overflow See other posts from Stack Overflow or by cagi
Published on 2010-03-22T11:29:39Z Indexed on 2010/03/22 11:31 UTC
Read the original article Hit count: 301

Filed under:
|
|

Hi to all. Is it possible to have a 32x32 images on toolbar while keeping 16x16 in menu. I created toolbar resource (IDR_TOOLBAR1) and set it's button size as 32x32 and load it:

if (!m_wndToolBar.CreateEx(this,...) ||

!m_wndToolBar.LoadToolBar(IDR_TOOLBAR1 ))

{ ... }

When started toolbar correctly shows large btn images but menu is also enlarged showing 32x32 item images!? How to have menu images as before (small 16x16)

My app info: SDI, VS2008 Thanks in advance!

P.S. I have noticed an option check box "Large Images" in quick customization dialog under options tab. The dialog is enabled by default in my project. When selecting that option images buttons enlarge instantly, the problem is the new sized images is created from small ones and quality is poor. It would be better if new images list is loaded? Once again thanks in advance!

© Stack Overflow or respective owner

Related posts about mfc

Related posts about vs2008