Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Simple dialog icon problem

Simple dialog icon problem

Scheduled Pinned Locked Moved C / C++ / MFC
c++help
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Coremn
    wrote on last edited by
    #1

    Hi I have a dialog based application that uses many popup windows to display data. I changed the icon for these popups and it shows in the popup window and the task bar. My prob is the new icon will not display (on the 'switch-to-program popup' window) when I press Atl-tab to swap between windows. What do I need to do for it to show up. CMyWnd * mywnd = new CMyWnd (this); mywnd->Create(IDD_MYICON,GetDesktopWindow()); HICON icon = AfxGetApp()->LoadIcon(IDI_MYICON); mywnd->SetIcon(icon); thanks ---

    R 1 Reply Last reply
    0
    • C Coremn

      Hi I have a dialog based application that uses many popup windows to display data. I changed the icon for these popups and it shows in the popup window and the task bar. My prob is the new icon will not display (on the 'switch-to-program popup' window) when I press Atl-tab to swap between windows. What do I need to do for it to show up. CMyWnd * mywnd = new CMyWnd (this); mywnd->Create(IDD_MYICON,GetDesktopWindow()); HICON icon = AfxGetApp()->LoadIcon(IDI_MYICON); mywnd->SetIcon(icon); thanks ---

      R Offline
      R Offline
      Ravi Bhavnani
      wrote on last edited by
      #2

      You need to change the large (32x32) icon also. /ravi Let's put "civil" back in "civilization" http://www.ravib.com ravib@ravib.com

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups