Click here to Skip to main content
15,569,644 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to show a search bar in my class derived from CHtmlView Pin
joshua013729-Apr-14 23:37
joshua013729-Apr-14 23:37 
Questionwhy my class derived from CHtmlView cannot show the 'Search' bar Pin
joshua013727-Apr-14 3:29
joshua013727-Apr-14 3:29 
Questionwhat's the point of auto_ptr & unique_ptr? Pin
Falconapollo23-Apr-14 23:41
Falconapollo23-Apr-14 23:41 
AnswerRe: what's the point of auto_ptr & unique_ptr? Pin
Maximilien24-Apr-14 4:32
Maximilien24-Apr-14 4:32 
AnswerRe: what's the point of auto_ptr & unique_ptr? Pin
Albert Holguin24-Apr-14 6:24
professionalAlbert Holguin24-Apr-14 6:24 
GeneralRe: what's the point of auto_ptr & unique_ptr? Pin
jschell25-Apr-14 14:09
jschell25-Apr-14 14:09 
AnswerRe: what's the point of auto_ptr & unique_ptr? Pin
CPallini28-Apr-14 4:05
mveCPallini28-Apr-14 4:05 
AnswerRe: what's the point of auto_ptr & unique_ptr? Pin
Stephen Hewitt28-Apr-14 4:51
Stephen Hewitt28-Apr-14 4:51 
In general it may indeed be better to create it on the stack. The reason you'd use new is when you want more control over it's lifetime. For example you can't use the stack if it need to stay "alive" after the function returns (more generally, when it goes out of scope).
 
Steve

QuestionWin c Programming Pin
Nawabpasha23-Apr-14 23:41
Nawabpasha23-Apr-14 23:41 
AnswerRe: Win c Programming Pin
econy28-Apr-14 9:50
econy28-Apr-14 9:50 
GeneralRe: Win c Programming Pin
Nawabpasha28-Apr-14 22:48
Nawabpasha28-Apr-14 22:48 
GeneralRe: Win c Programming Pin
econy29-Apr-14 5:57
econy29-Apr-14 5:57 
AnswerRe: Win c Programming Pin
leon de boer30-Apr-14 5:02
leon de boer30-Apr-14 5:02 
QuestionSetWindowsHookEx Pin
Mohsin Munawar23-Apr-14 0:36
Mohsin Munawar23-Apr-14 0:36 
AnswerRe: SetWindowsHookEx Pin
CPallini23-Apr-14 0:53
mveCPallini23-Apr-14 0:53 
QuestionRe: SetWindowsHookEx Pin
Malli_S23-Apr-14 3:01
Malli_S23-Apr-14 3:01 
AnswerRe: SetWindowsHookEx Pin
Randor 23-Apr-14 11:26
professional Randor 23-Apr-14 11:26 
GeneralRe: SetWindowsHookEx Pin
Mohsin Munawar23-Apr-14 19:36
Mohsin Munawar23-Apr-14 19:36 
GeneralRe: SetWindowsHookEx Pin
Stephen Hewitt28-Apr-14 4:45
Stephen Hewitt28-Apr-14 4:45 
QuestionHow to insert the item in CTreectrl at runtime in Ribbon project Pin
sachanratnesh22-Apr-14 3:36
sachanratnesh22-Apr-14 3:36 
AnswerRe: How to insert the item in CTreectrl at runtime in Ribbon project Pin
PJ Arends22-Apr-14 14:23
professionalPJ Arends22-Apr-14 14:23 
Questionshow small image in every place of screen Pin
A_Salimi22-Apr-14 2:05
A_Salimi22-Apr-14 2:05 
AnswerRe: show small image in every place of screen Pin
PJ Arends22-Apr-14 14:16
professionalPJ Arends22-Apr-14 14:16 
GeneralRe: show small image in every place of screen Pin
A_Salimi22-Apr-14 21:01
A_Salimi22-Apr-14 21:01 
GeneralRe: show small image in every place of screen Pin
leon de boer22-Apr-14 22:13
leon de boer22-Apr-14 22:13 

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.