June 29th, 2012, 09:30 AM
The load/add calls are made from the OnInitDialog() method of various dialog boxes used in the application. I also found out another piece of interesting information.
When this extra dialog is used...
June 28th, 2012, 03:37 PM
I should say a call to "m_smallImageList.Add(hIcon)" does NOT return -1 which would indicate failure.
June 28th, 2012, 03:29 PM
Yes, they all exist as 16x16, 16 color icons.
The value of hIcon after a call to LoadIcon :
0x2a920d51 {unused=000 }
A call to "m_smallImageList.Add(hIcon)" returns 2
June 28th, 2012, 03:10 PM
The icons are used in various dialogs throughout the application. In one situation I attempt to add the icons to an image list like the following and then have them show up as the icon for list view...
June 28th, 2012, 02:58 PM
Sorry for not giving clear enough info.
Actually, it is not some of the icons, it is all of them. And I mis-spoke when I said rest of the application. I should have just said, that the icons...
June 28th, 2012, 02:14 PM
Hello,
I am currently working on an MFC application which can be launched two different ways.
1. No command line arguments. The application launches and shows a dialog which lets the user...