Click here to Skip to main content
15,904,288 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: MDI frame "Window" menu / submenu dynamics - where to start? Pin
Vaclav_10-Mar-14 1:35
Vaclav_10-Mar-14 1:35 
GeneralRe: MDI frame "Window" menu / submenu dynamics - where to start? Pin
Richard MacCutchan10-Mar-14 1:53
mveRichard MacCutchan10-Mar-14 1:53 
QuestionCMap efficiency Pin
econy7-Mar-14 5:20
econy7-Mar-14 5:20 
AnswerRe: CMap efficiency Pin
jeron17-Mar-14 5:48
jeron17-Mar-14 5:48 
QuestionRe: CMap efficiency Pin
CPallini9-Mar-14 4:57
mveCPallini9-Mar-14 4:57 
AnswerRe: CMap efficiency Pin
Stefan_Lang12-Mar-14 1:29
Stefan_Lang12-Mar-14 1:29 
QuestionWM_GETTEXT does not returns data from Grid Control of external application Pin
pandit847-Mar-14 4:33
pandit847-Mar-14 4:33 
AnswerRe: WM_GETTEXT does not returns data from Grid Control of external application Pin
Richard MacCutchan7-Mar-14 5:54
mveRichard MacCutchan7-Mar-14 5:54 
QuestionAuto align of toolbar by frame width Pin
akhil_sudheesh6-Mar-14 19:44
akhil_sudheesh6-Mar-14 19:44 
AnswerRe: Auto align of toolbar by frame width Pin
Rage12-Mar-14 22:15
professionalRage12-Mar-14 22:15 
GeneralRe: Auto align of toolbar by frame width Pin
akhil_sudheesh13-Mar-14 19:55
akhil_sudheesh13-Mar-14 19:55 
AnswerRe: Auto align of toolbar by frame width Pin
Rage14-Mar-14 0:07
professionalRage14-Mar-14 0:07 
AnswerRe: Auto align of toolbar by frame width Pin
Rage14-Mar-14 0:15
professionalRage14-Mar-14 0:15 
GeneralRe: Auto align of toolbar by frame width Pin
akhil_sudheesh16-Mar-14 21:29
akhil_sudheesh16-Mar-14 21:29 
Questionstd::shared_ptr causing C4150 warning even if custom deleter is used in Visual C++ 2012 [Solved] Pin
Elerian6-Mar-14 10:17
Elerian6-Mar-14 10:17 
AnswerRe: std::shared_ptr causing C4150 warning even if custom deleter is used in Visual C++ 2012 Pin
«_Superman_»6-Mar-14 14:24
professional«_Superman_»6-Mar-14 14:24 
GeneralRe: std::shared_ptr causing C4150 warning even if custom deleter is used in Visual C++ 2012 Pin
Elerian7-Mar-14 8:10
Elerian7-Mar-14 8:10 
AnswerRe: std::shared_ptr causing C4150 warning even if custom deleter is used in Visual C++ 2012 Pin
Elerian7-Mar-14 8:20
Elerian7-Mar-14 8:20 
QuestionThe destructor of MFC application [Solved] Pin
econy6-Mar-14 7:02
econy6-Mar-14 7:02 
AnswerRe: The destructor of MFC application Pin
David Crow6-Mar-14 7:09
David Crow6-Mar-14 7:09 
GeneralRe: The destructor of MFC application Pin
econy6-Mar-14 8:41
econy6-Mar-14 8:41 
GeneralRe: The destructor of MFC application Pin
jeron16-Mar-14 9:15
jeron16-Mar-14 9:15 
GeneralRe: The destructor of MFC application Pin
econy6-Mar-14 10:14
econy6-Mar-14 10:14 
GeneralRe: The destructor of MFC application Pin
jeron16-Mar-14 10:50
jeron16-Mar-14 10:50 
AnswerRe: The destructor of MFC application Pin
«_Superman_»6-Mar-14 14:30
professional«_Superman_»6-Mar-14 14:30 
Since you're adding the font in the application's InitInstance method, it would be properly matched if you release it in ExitInstance[^].
It would also work if done in the destructor of the dialog class, but ExitInstance would be cleaner.
The Visual Studio wizard does not normally output the dialog class destructor, but you could write one yourself as you would normally do and it will be called when the dialog class goes out of scope.
«_Superman 
I love work. It gives me something to do between weekends.


Microsoft MVP (Visual C++) (October 2009 - September 2013)

Polymorphism in C

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.