Click here to Skip to main content
15,889,595 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: c++ reading a large text file with fstream Pin
nuttynibbles26-Nov-09 22:50
nuttynibbles26-Nov-09 22:50 
GeneralRe: c++ reading a large text file with fstream Pin
nuttynibbles26-Nov-09 22:59
nuttynibbles26-Nov-09 22:59 
GeneralRe: c++ reading a large text file with fstream Pin
Richard MacCutchan26-Nov-09 23:36
mveRichard MacCutchan26-Nov-09 23:36 
GeneralRe: c++ reading a large text file with fstream Pin
nuttynibbles27-Nov-09 2:01
nuttynibbles27-Nov-09 2:01 
QuestionAccessing the command line via Visual C++ Pin
N. Rackley26-Nov-09 21:57
N. Rackley26-Nov-09 21:57 
AnswerRe: Accessing the command line via Visual C++ Pin
Richard MacCutchan27-Nov-09 2:19
mveRichard MacCutchan27-Nov-09 2:19 
AnswerRe: Accessing the command line via Visual C++ Pin
Michael Schubert27-Nov-09 2:35
Michael Schubert27-Nov-09 2:35 
Questionchange font colour Pin
sonualex26-Nov-09 21:56
sonualex26-Nov-09 21:56 
Hi all..
I am facing a problem with the font selection in menu..
here the color of font is not changing once selected.. but the type and size everything is changing as per selection..
Iam using CreateFontIndirect
and below is my code for OnFont()
CWnd *pwnd = CWnd::GetFocus();; 
	int wID = pwnd->GetDlgCtrlID();
	
	LOGFONT If;
	CFont *font = new CFont();
	if(wID==IDC_SAFE)
	{

		CFontDialog FontDlg(&If);
		if(FontDlg.DoModal() == IDOK)
		{
			font->CreateFontIndirect(&If);
			m_edittext.SetFont(font);
		}
	}


plz help me to solve it
AnswerRe: change font colour Pin
Richard MacCutchan26-Nov-09 23:51
mveRichard MacCutchan26-Nov-09 23:51 
GeneralRe: change font colour Pin
sonualex2-Dec-09 18:28
sonualex2-Dec-09 18:28 
GeneralRe: change font colour Pin
Richard MacCutchan2-Dec-09 23:46
mveRichard MacCutchan2-Dec-09 23:46 
QuestionHow can I get the XP appearance combobox with VC6.0? Pin
wanglinhai88826-Nov-09 15:55
wanglinhai88826-Nov-09 15:55 
AnswerRe: How can I get the XP appearance combobox with VC6.0? Pin
JohnCz26-Nov-09 17:45
JohnCz26-Nov-09 17:45 
GeneralRe: How can I get the XP appearance combobox with VC6.0? Pin
wanglinhai8886-Dec-09 19:18
wanglinhai8886-Dec-09 19:18 
AnswerRe: How can I get the XP appearance combobox with VC6.0? Pin
krmed27-Nov-09 3:59
krmed27-Nov-09 3:59 
GeneralRe: How can I get the XP appearance combobox with VC6.0? Pin
wanglinhai8886-Dec-09 19:20
wanglinhai8886-Dec-09 19:20 
AnswerRe: How can I get the XP appearance combobox with VC6.0? Pin
JohnCz7-Dec-09 16:00
JohnCz7-Dec-09 16:00 
QuestionMapped Drives Pin
Bram van Kampen26-Nov-09 15:02
Bram van Kampen26-Nov-09 15:02 
AnswerRe: Mapped Drives Pin
Garth J Lancaster26-Nov-09 16:51
professionalGarth J Lancaster26-Nov-09 16:51 
AnswerSee this .. Pin
Garth J Lancaster26-Nov-09 16:57
professionalGarth J Lancaster26-Nov-09 16:57 
GeneralRe: See this .. Pin
T210226-Nov-09 19:33
T210226-Nov-09 19:33 
GeneralRe: See this .. Pin
Garth J Lancaster26-Nov-09 19:47
professionalGarth J Lancaster26-Nov-09 19:47 
GeneralRe: See this .. Pin
Bram van Kampen28-Nov-09 13:03
Bram van Kampen28-Nov-09 13:03 
GeneralRe: See this .. Pin
Bram van Kampen28-Nov-09 13:06
Bram van Kampen28-Nov-09 13:06 
GeneralRe: See this .. Pin
Garth J Lancaster28-Nov-09 13:22
professionalGarth J Lancaster28-Nov-09 13:22 

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.