Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » 32 bit icons over prof-ui tool bar Collapse All
Subject Author Date
howard liu Jun 5, 2008 - 8:05 AM

Hi,


 


Is it possible to load 32 bit tool bar icons over the Prof-UI advanced tool bars ? if so what is the procedure. Presently we have been loading 16 bit icons


 


Thanks,


Howard

Technical Support Jun 6, 2008 - 1:12 PM

Prof-UIS allows you to have Windows Vista quality images on any Windows OS starting from Windows 95, which is demonstrated in the FunnyBars sample. The ..\Prof-UIS\Samples\FunnyBars\Res.IDR_TOOLBAR_VISTA_ICONS.bmp file is a 32-bit BMP file with alpha channel. It is not displayed correctly neither by the Windows shell viewer nor by the MSPaint bitmap editor nor by built in bitmap editor of any Visual Studio. This bitmap is used in the CMainFrame::m_wndToolBarVista toolbar window of the FunnyBars sample and there are no some special steps that create a toolbar there. This toolbar is simply initialized by using the ordinary Create() and LoadToolBar() methods. There is also an article How to load a PNG image from a file and use it in my application? which can be helpful in this regard.