Click here to Skip to main content
15,867,832 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Mouse move over Tray Icon, the icon disappear. Pin
Stephen Hewitt24-Jan-11 1:43
Stephen Hewitt24-Jan-11 1:43 
GeneralRe: Mouse move over Tray Icon, the icon disappear. Pin
Malli_S24-Jan-11 2:05
Malli_S24-Jan-11 2:05 
GeneralRe: Mouse move over Tray Icon, the icon disappear. Pin
yu-jian24-Jan-11 15:32
yu-jian24-Jan-11 15:32 
GeneralRe: Mouse move over Tray Icon, the icon disappear. Pin
yu-jian24-Jan-11 15:30
yu-jian24-Jan-11 15:30 
Questionwhat is wrong with this code? Pin
aesthetic.crazy22-Jan-11 8:41
aesthetic.crazy22-Jan-11 8:41 
AnswerRe: what is wrong with this code? Pin
PIEBALDconsult22-Jan-11 10:15
mvePIEBALDconsult22-Jan-11 10:15 
AnswerRe: what is wrong with this code? Pin
CPallini22-Jan-11 10:39
mveCPallini22-Jan-11 10:39 
AnswerRe: what is wrong with this code? Pin
T210222-Jan-11 13:08
T210222-Jan-11 13:08 
1) Add a destructor
~A() { delete pi; }
2) Either
A) Initialize the pointer to 0 first
A()
:pi(0) {
pi=new int;
}
B) Initialize the pointer (preferred in this case since it is highly unlikely the memory allocation will fail)
A()
:pi(new int) {}
AnswerRe: what is wrong with this code? [modified] Pin
Richard MacCutchan22-Jan-11 21:35
mveRichard MacCutchan22-Jan-11 21:35 
AnswerRe: what is wrong with this code? Pin
Aescleal23-Jan-11 6:34
Aescleal23-Jan-11 6:34 
GeneralRe: what is wrong with this code? Pin
Adam Roderick J23-Jan-11 19:04
Adam Roderick J23-Jan-11 19:04 
GeneralRe: what is wrong with this code? Pin
PIEBALDconsult24-Jan-11 2:02
mvePIEBALDconsult24-Jan-11 2:02 
AnswerRe: what is wrong with this code? [modified] Pin
Stefan_Lang30-Jan-11 23:54
Stefan_Lang30-Jan-11 23:54 
QuestionRetaining whitespace within macro replacement text Pin
PIEBALDconsult22-Jan-11 4:17
mvePIEBALDconsult22-Jan-11 4:17 
AnswerRe: Retaining whitespace within macro replacement text Pin
Andrew Brock22-Jan-11 4:38
Andrew Brock22-Jan-11 4:38 
GeneralRe: Retaining whitespace within macro replacement text Pin
PIEBALDconsult22-Jan-11 9:00
mvePIEBALDconsult22-Jan-11 9:00 
GeneralRe: Retaining whitespace within macro replacement text Pin
jschell22-Jan-11 12:01
jschell22-Jan-11 12:01 
GeneralRe: Retaining whitespace within macro replacement text Pin
PIEBALDconsult22-Jan-11 18:06
mvePIEBALDconsult22-Jan-11 18:06 
GeneralRe: Retaining whitespace within macro replacement text Pin
jschell23-Jan-11 10:40
jschell23-Jan-11 10:40 
QuestionUnknown problem with non-english languages [modified] Pin
rahul.kulshreshtha21-Jan-11 23:17
rahul.kulshreshtha21-Jan-11 23:17 
AnswerRe: Unknown problem with non-english languages Pin
Andrew Brock21-Jan-11 23:39
Andrew Brock21-Jan-11 23:39 
GeneralRe: Unknown problem with non-english languages Pin
rahul.kulshreshtha21-Jan-11 23:53
rahul.kulshreshtha21-Jan-11 23:53 
GeneralRe: Unknown problem with non-english languages Pin
Andrew Brock22-Jan-11 0:38
Andrew Brock22-Jan-11 0:38 
GeneralRe: Unknown problem with non-english languages Pin
rahul.kulshreshtha22-Jan-11 0:56
rahul.kulshreshtha22-Jan-11 0:56 
GeneralRe: Unknown problem with non-english languages Pin
Andrew Brock22-Jan-11 1:21
Andrew Brock22-Jan-11 1:21 

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.