Click here to Skip to main content
15,917,005 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Linux operation system ! Pin
Mike Nordell7-Nov-01 1:25
Mike Nordell7-Nov-01 1:25 
GeneralChanging language in Editbox ! Pin
Hadi Rezaee3-Nov-01 16:18
Hadi Rezaee3-Nov-01 16:18 
GeneralMenu with a BMP as background Pin
MaTrIX2k23-Nov-01 15:32
MaTrIX2k23-Nov-01 15:32 
GeneralRe: Menu with a BMP as background Pin
Nish Nishant3-Nov-01 18:00
sitebuilderNish Nishant3-Nov-01 18:00 
GeneralRetrieving 48x48 icons in XP Pin
Michael Dunn3-Nov-01 15:30
sitebuilderMichael Dunn3-Nov-01 15:30 
GeneralToolbar Button Update Pin
Steve L.3-Nov-01 9:01
Steve L.3-Nov-01 9:01 
GeneralRe: Toolbar Button Update Pin
Christian Graus3-Nov-01 12:18
protectorChristian Graus3-Nov-01 12:18 
GeneralRe: Toolbar Button Update Pin
Steve L.3-Nov-01 13:38
Steve L.3-Nov-01 13:38 
GeneralFunction name help Pin
Mike Doner3-Nov-01 7:25
Mike Doner3-Nov-01 7:25 
GeneralRe: Function name help Pin
Rainer Mangold3-Nov-01 8:13
Rainer Mangold3-Nov-01 8:13 
GeneralRe: Function name help Pin
#realJSOP4-Nov-01 2:27
professional#realJSOP4-Nov-01 2:27 
GeneralCInternetSession difficulty Pin
Richard Stringer3-Nov-01 7:25
Richard Stringer3-Nov-01 7:25 
Generalabstract class - guru wanted Pin
3-Nov-01 5:49
suss3-Nov-01 5:49 
GeneralRe: abstract class - guru wanted Pin
Michael Dunn3-Nov-01 8:24
sitebuilderMichael Dunn3-Nov-01 8:24 
GeneralTransparentBlt/AlphaBlend Error Pin
Chambers3-Nov-01 5:38
Chambers3-Nov-01 5:38 
GeneralRe: TransparentBlt/AlphaBlend Error Pin
Christian Graus3-Nov-01 11:58
protectorChristian Graus3-Nov-01 11:58 
GeneralRe: TransparentBlt/AlphaBlend Error Pin
Chambers4-Nov-01 2:08
Chambers4-Nov-01 2:08 
GeneralADO GLOBAL CONNECTION Pin
3-Nov-01 5:23
suss3-Nov-01 5:23 
GeneralRe: ADO GLOBAL CONNECTION Pin
Christian Graus3-Nov-01 11:55
protectorChristian Graus3-Nov-01 11:55 
Global variables are the work of the devil, but if you must, the best way is to make it extern in stdafx.h, and declare it in stdafx.cpp. Assuming you're using MFC, I'd put it in CMainFrame, because a pointer to that class is so easy to get ahold of from anywhere in your application - CMainframe * pMain = dynamic_cast<CMainFrame*>(AfxGetMainWnd());



Christian

After all, there's nothing wrong with an elite as long as I'm allowed to be part of it!! - Mike Burston Oct 23, 2001

QuestionHow to lock Internet Temporary folder Pin
Huu Quynh3-Nov-01 4:23
Huu Quynh3-Nov-01 4:23 
AnswerRe: How to lock Internet Temporary folder Pin
Nish Nishant3-Nov-01 18:04
sitebuilderNish Nishant3-Nov-01 18:04 
AnswerRe: How to lock Internet Temporary folder Pin
Mike Nordell7-Nov-01 1:50
Mike Nordell7-Nov-01 1:50 
GeneralModify text color Pin
Maer7273-Nov-01 2:04
Maer7273-Nov-01 2:04 
GeneralRe: Modify text color Pin
Paolo Messina3-Nov-01 6:32
professionalPaolo Messina3-Nov-01 6:32 
GeneralRe: Modify text color Pin
Maer7273-Nov-01 18:10
Maer7273-Nov-01 18:10 

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.