set default icon
-
i want to change default icon of "MFC" i want to show my own icon on each dialog how can i do this my icon ID is IDR_MAINFRAME
-
i want to change default icon of "MFC" i want to show my own icon on each dialog how can i do this my icon ID is IDR_MAINFRAME
You must be load your icon with LoadIcon and then use of SetIcon.
-
i want to change default icon of "MFC" i want to show my own icon on each dialog how can i do this my icon ID is IDR_MAINFRAME
Open your <<FileName>>.rc file (in view code mode) and rename the icon name with your own icon name. In order to do this,look for IDR_MAINFRAME in that file.The path of the default MFC Icon would be res\\<<File_Name>>.ico. Change the path to your need and copy the new icon into that particular path. Regards, Rane
modified on Tuesday, September 2, 2008 4:51 AM