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 General Discussion » CExtCmdIcon Collapse All
Subject Author Date
Listofer Andre Mar 5, 2007 - 3:52 AM

Hi,

I want to load png files by using object of CExtCmdIcon.

Can you tell me how to load PNG files using CExtCmdIcon object.

cara jame Jan 4, 2024 - 3:14 AM

This example uses the GDI+ library to load https://buckshotroulette.io a PNG file and then converts it into an HICON, which can be assigned to the CExtCmdIcon object.

kathy tom Dec 1, 2023 - 11:28 PM

One common library for working with images, including PNG files, https://amongusio.io in MFC applications is GDI+. Here’s an example of how you can load a PNG file and set it into a CExtCmdIcon object:

Technical Support Mar 5, 2007 - 11:32 AM

There is a FAQ How to load a PNG image from a file and use it in my application? which should help you. If you have any questions after reading this article, do not hesitate to contact us.