CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: bpostiff

Search: Search took 0.04 seconds.

  1. Re: Missing Icons in MFC application if additional window is used at startup.

    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...
  2. Re: Missing Icons in MFC application if additional window is used at startup.

    I should say a call to "m_smallImageList.Add(hIcon)" does NOT return -1 which would indicate failure.
  3. Re: Missing Icons in MFC application if additional window is used at startup.

    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
  4. Re: Missing Icons in MFC application if additional window is used at startup.

    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...
  5. Re: Missing Icons in MFC application if additional window is used at startup.

    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...
  6. Missing Icons in MFC application if additional window is used at startup.

    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...
Results 1 to 6 of 6





Click Here to Expand Forum to Full Width

Featured