CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Apr 2002
    Location
    New -york ny
    Posts
    22

    Angry My Icon please !

    Hi Gurus!

    I'm writing a SDI application .as far as the application is conserned ,I mean the main functionality, everything is Going fine.but my problem is about the Dialog Icon .I design a new Icon but whenever I compile the app, the Icon only shows up in the about Dialog but not on the title bar .I really don't know why.
    Is anybody there who knows why?
    Please help me !
    regards

    xcreator.

  2. #2
    Join Date
    Dec 2001
    Location
    Ontario, Canada
    Posts
    2,236
    You designed a 32x32 icon, but you did not design a 16x16 icon. The 16x16 icon is used in the title bar.

  3. #3
    Join Date
    May 2002
    Location
    Russia
    Posts
    1,571
    Yes. You should desing 16x16 icon and set it to the dialog icon.

  4. #4
    Join Date
    Dec 2002
    Location
    Germany, Bavaria
    Posts
    24
    HIi there,

    i got just the same Problem:

    VC++ 6...
    W2K

    Even if I create a brand new SDI-EXE Application my Icon is not displayed in the title bar. Instead of my selfdesigned Icon a standard-Windows Logo is displayed...
    My boss told me, that under Windows XP everything is ok.... but I cannot test under XP... so I'm not sure if my boss is right...

    If I use a dialog-based Application my icon is displayed...

    Please help me with this problem...

    thx ITSE
    see ya

  5. #5
    Join Date
    Dec 2002
    Location
    Germany, Bavaria
    Posts
    24
    hi has anybody a idea?

    At home i installed my VisualC++ 6 and my Standard MFC Icon was displayed until I tried to replace it with the Windows Explorer. After that in all SDI-Applications I create only a Windows-Logo (the old plain Microsoft Windows-Logo) is displayed....

    with

    SetIcon(LoadIcon(NULL,"IDI_MY"), TRUE); in my CMainFrame::OnCreate nothing is happening.


    But with
    SetIcon(LoadIcon(NULL,IDI_APPLICATION), TRUE);
    a VisualBasic-Like Logo is displayed....

    its just that difficult problem....
    see ya

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured