Changing CMainFrame Minimize ICON
-
I changed the icon and put the following code in
HICON icon = LoadIcon(AfxGetInstanceHandle(), MAKEINTRESOURCE(IDR\_MAINFRAME)); SetIcon(icon, FALSE);
in
int CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct)
and yet I still have the MFC icon when the Windows is minimized in the task bar Thanks
-
I changed the icon and put the following code in
HICON icon = LoadIcon(AfxGetInstanceHandle(), MAKEINTRESOURCE(IDR\_MAINFRAME)); SetIcon(icon, FALSE);
in
int CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct)
and yet I still have the MFC icon when the Windows is minimized in the task bar Thanks
Did you change the
.ico
file in theres
folder?"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
-
Did you change the
.ico
file in theres
folder?"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
-
In Visual Studio I open up the .ico FILE (which is in the res folder) I erase what there and selecting the TEXT tool I type what I want do a save. However when I go into file explorer it still appear as the original MFC icon/bitmap
Sounds like you are only changing one resolution.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
-
Sounds like you are only changing one resolution.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles