Click here to Skip to main content
15,901,853 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionSQL statement to take a string value after FROM?? Pin
Aoife17-Apr-02 0:27
Aoife17-Apr-02 0:27 
AnswerRe: SQL statement to take a string value after FROM?? Pin
l a u r e n17-Apr-02 1:52
l a u r e n17-Apr-02 1:52 
GeneralRe: SQL statement to take a string value after FROM?? Pin
Aoife17-Apr-02 2:09
Aoife17-Apr-02 2:09 
GeneralSystem Tray - Dialog Please Help Pin
Sameer Maggon17-Apr-02 0:17
Sameer Maggon17-Apr-02 0:17 
GeneralRe: System Tray - Dialog Please Help Pin
Jon Hulatt17-Apr-02 3:07
Jon Hulatt17-Apr-02 3:07 
GeneralRe: System Tray - Dialog Please Help Pin
Sameer Maggon17-Apr-02 18:37
Sameer Maggon17-Apr-02 18:37 
QuestionModifying the ListBox text font size ? Pin
17-Apr-02 0:01
suss17-Apr-02 0:01 
AnswerRe: Modifying the ListBox text font size ? Pin
Roger Allen17-Apr-02 5:50
Roger Allen17-Apr-02 5:50 
You just need to create a new font for the control. For example:

LOGFONT lf ;
CFont *pFont = GetDlgItem(IDC_LISTCONTROL)->GetFont() ;
if (pFont != NULL)
	{
	// use a variant of the existing font
	pFont->GetLogFont(&lf) ;
	lf.lfHeight += 2 ; // make the font bigger
	}
else
	{
	// need to fill the LOGFONT structure manually here
	}
m_Font.CreateFontIndirect(&lf) ;
GetDlgItem(IDC_LISTCONTROL)->SetFont(&m_Font) ;
// m_Font needs to be a member var of the dialog/window that owns the listcontrol to make
// sure that the font exists the whole life time of the CLIstBox control.



Roger Allen
Sonork 100.10016

yet to be identified being from the planet Paltinmoriumbanfrettybooter
QuestionHow to check individual threads for memory leaks Pin
Dave Midgley16-Apr-02 23:03
Dave Midgley16-Apr-02 23:03 
AnswerRe: How to check individual threads for memory leaks Pin
Niklas L16-Apr-02 23:56
Niklas L16-Apr-02 23:56 
AnswerRe: How to check individual threads for memory leaks Pin
Joao Vaz16-Apr-02 23:58
Joao Vaz16-Apr-02 23:58 
GeneralCListCtrl InsertItem Pin
Catherine16-Apr-02 22:56
Catherine16-Apr-02 22:56 
GeneralRe: CListCtrl InsertItem Pin
Niklas L16-Apr-02 23:01
Niklas L16-Apr-02 23:01 
GeneralRe: CListCtrl InsertItem Pin
Niklas L16-Apr-02 23:23
Niklas L16-Apr-02 23:23 
GeneralRe: CListCtrl InsertItem Pin
Catherine16-Apr-02 23:27
Catherine16-Apr-02 23:27 
Questionatl book? Pin
bryce16-Apr-02 22:33
bryce16-Apr-02 22:33 
AnswerRe: atl book? Pin
Christian Graus16-Apr-02 22:41
protectorChristian Graus16-Apr-02 22:41 
GeneralRe: atl book? Pin
Paul A. Howes17-Apr-02 2:28
Paul A. Howes17-Apr-02 2:28 
AnswerRe: atl book? Pin
-Dy17-Apr-02 2:57
-Dy17-Apr-02 2:57 
AnswerRe: atl book? Pin
Joao Vaz17-Apr-02 3:13
Joao Vaz17-Apr-02 3:13 
QuestionHow to get CPU and memory statistic by C/C++? Pin
yungivan16-Apr-02 21:39
yungivan16-Apr-02 21:39 
QuestionWin 2000 ??? Pin
Manikandan16-Apr-02 21:22
Manikandan16-Apr-02 21:22 
AnswerRe: Win 2000 ??? Pin
Niklas L16-Apr-02 22:13
Niklas L16-Apr-02 22:13 
GeneralRe: Win 2000 ??? Pin
Manikandan16-Apr-02 22:37
Manikandan16-Apr-02 22:37 
GeneralRe: Win 2000 ??? Pin
Niklas L16-Apr-02 22:45
Niklas L16-Apr-02 22:45 

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.