Click here to Skip to main content
15,879,326 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: icon on button not displayed in XP. Pin
VCProgrammer7-Feb-13 23:52
VCProgrammer7-Feb-13 23:52 
GeneralRe: icon on button not displayed in XP. Pin
Richard MacCutchan8-Feb-13 0:37
mveRichard MacCutchan8-Feb-13 0:37 
GeneralRe: icon on button not displayed in XP. Pin
VCProgrammer8-Feb-13 1:15
VCProgrammer8-Feb-13 1:15 
GeneralRe: icon on button not displayed in XP. Pin
Richard MacCutchan8-Feb-13 1:21
mveRichard MacCutchan8-Feb-13 1:21 
JokeRe: icon on button not displayed in XP. Pin
David Crow8-Feb-13 2:38
David Crow8-Feb-13 2:38 
JokeRe: icon on button not displayed in XP. Pin
Richard MacCutchan8-Feb-13 5:16
mveRichard MacCutchan8-Feb-13 5:16 
GeneralRe: icon on button not displayed in XP. Pin
VCProgrammer8-Feb-13 20:33
VCProgrammer8-Feb-13 20:33 
GeneralRe: icon on button not displayed in XP. Pin
Richard MacCutchan8-Feb-13 22:42
mveRichard MacCutchan8-Feb-13 22:42 
I suspect the error 87 should be ignored as you have not checked if the previous function was successful or not. You can validate that by calling SetLastError(0) before the SetIcon() call. You also say that when you set icon style to FALSE it does not display the icon; isn't that what it should do?
GeneralRe: icon on button not displayed in XP. Pin
VCProgrammer9-Feb-13 1:00
VCProgrammer9-Feb-13 1:00 
GeneralRe: icon on button not displayed in XP. Pin
Richard MacCutchan9-Feb-13 1:08
mveRichard MacCutchan9-Feb-13 1:08 
GeneralRe: icon on button not displayed in XP. Pin
VCProgrammer9-Feb-13 1:20
VCProgrammer9-Feb-13 1:20 
GeneralRe: icon on button not displayed in XP. Pin
Richard MacCutchan9-Feb-13 1:30
mveRichard MacCutchan9-Feb-13 1:30 
GeneralRe: icon on button not displayed in XP. Pin
VCProgrammer9-Feb-13 1:36
VCProgrammer9-Feb-13 1:36 
GeneralRe: icon on button not displayed in XP. Pin
Richard MacCutchan9-Feb-13 2:05
mveRichard MacCutchan9-Feb-13 2:05 
GeneralRe: icon on button not displayed in XP. Pin
VCProgrammer10-Feb-13 20:31
VCProgrammer10-Feb-13 20:31 
GeneralRe: icon on button not displayed in XP. Pin
Richard MacCutchan11-Feb-13 0:35
mveRichard MacCutchan11-Feb-13 0:35 
GeneralRe: icon on button not displayed in XP. Pin
VCProgrammer11-Feb-13 20:29
VCProgrammer11-Feb-13 20:29 
GeneralRe: icon on button not displayed in XP. Pin
Richard MacCutchan11-Feb-13 22:13
mveRichard MacCutchan11-Feb-13 22:13 
GeneralRe: icon on button not displayed in XP. Pin
Richard MacCutchan12-Feb-13 9:37
mveRichard MacCutchan12-Feb-13 9:37 
GeneralRe: icon on button not displayed in XP. Pin
VCProgrammer12-Feb-13 19:59
VCProgrammer12-Feb-13 19:59 
QuestionShellExecute Problem Pin
LFK_Michael4-Feb-13 22:56
LFK_Michael4-Feb-13 22:56 
AnswerRe: ShellExecute Problem Pin
Richard MacCutchan5-Feb-13 0:00
mveRichard MacCutchan5-Feb-13 0:00 
GeneralRe: ShellExecute Problem Pin
LFK_Michael5-Feb-13 0:16
LFK_Michael5-Feb-13 0:16 
GeneralRe: ShellExecute Problem Pin
Richard MacCutchan5-Feb-13 0:26
mveRichard MacCutchan5-Feb-13 0:26 
SuggestionRe: ShellExecute Problem Pin
David Crow5-Feb-13 2:17
David Crow5-Feb-13 2:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.