Click here to Skip to main content
15,913,279 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalfstream and STL Pin
JWood30-Oct-03 5:25
JWood30-Oct-03 5:25 
GeneralRe: fstream and STL Pin
valikac30-Oct-03 5:52
valikac30-Oct-03 5:52 
GeneralRe: fstream and STL Pin
JWood30-Oct-03 7:16
JWood30-Oct-03 7:16 
GeneralRe: fstream and STL Pin
Maxwell Chen30-Oct-03 15:31
Maxwell Chen30-Oct-03 15:31 
Question"little" "small" ComboBox ? Pin
Cynicannibal30-Oct-03 5:20
Cynicannibal30-Oct-03 5:20 
AnswerRe: "little" "small" ComboBox ? Pin
Shog930-Oct-03 15:34
sitebuilderShog930-Oct-03 15:34 
GeneralRe: "little" "small" ComboBox ? Pin
Cynicannibal1-Nov-03 0:02
Cynicannibal1-Nov-03 0:02 
GeneralRe: "little" "small" ComboBox ? Pin
Shog91-Nov-03 3:33
sitebuilderShog91-Nov-03 3:33 
Two things - first, make sure the CFont object is a member variable of your dialog class, not a local variable (else it'll be deleted when it goes out of scope). Second, an 80pt Arial font is probably large enough you won't notice the change... Besides, you probably aren't sizing your controls in points anyway. Try this, adjust as necessary:
m_font.CreateFont(-8,0,0,0,0,0,0,0,0,0,0,0,0,"Arial");

This will create a font with a total height of 8 pixels - the combo box will be slightly larger because of borders and such.





A servant to formulaic ways.

Shog9

GeneralRe: "little" "small" ComboBox ? Pin
Cynicannibal4-Nov-03 2:40
Cynicannibal4-Nov-03 2:40 
GeneralFunction.... Pin
ponshio30-Oct-03 4:04
ponshio30-Oct-03 4:04 
GeneralRe: Function.... Pin
Brian Shifrin30-Oct-03 4:11
Brian Shifrin30-Oct-03 4:11 
GeneralRe: Function.... Pin
Ian Darling30-Oct-03 4:12
Ian Darling30-Oct-03 4:12 
GeneralRe: Function.... Pin
JWood30-Oct-03 5:12
JWood30-Oct-03 5:12 
GeneralRe: Function.... Pin
jhwurmbach30-Oct-03 5:54
jhwurmbach30-Oct-03 5:54 
GeneralLoadImage() memory leak. Pin
Neha30-Oct-03 2:34
Neha30-Oct-03 2:34 
GeneralRe: LoadImage() memory leak. Pin
David Crow30-Oct-03 2:37
David Crow30-Oct-03 2:37 
GeneralRe: LoadImage() memory leak. Pin
Neha30-Oct-03 2:44
Neha30-Oct-03 2:44 
GeneralRe: LoadImage() memory leak. Pin
Alexander M.,30-Oct-03 2:52
Alexander M.,30-Oct-03 2:52 
GeneralRe: LoadImage() memory leak. Pin
Neha30-Oct-03 2:56
Neha30-Oct-03 2:56 
GeneralRe: LoadImage() memory leak. Pin
David Crow30-Oct-03 3:04
David Crow30-Oct-03 3:04 
GeneralRe: LoadImage() memory leak. Pin
Neha30-Oct-03 3:07
Neha30-Oct-03 3:07 
GeneralRe: LoadImage() memory leak. Pin
Alexander M.,30-Oct-03 2:41
Alexander M.,30-Oct-03 2:41 
GeneralRe: LoadImage() memory leak. Pin
Neha30-Oct-03 2:51
Neha30-Oct-03 2:51 
GeneralRe: LoadImage() memory leak. Pin
David Crow30-Oct-03 3:06
David Crow30-Oct-03 3:06 
GeneralRe: LoadImage() memory leak. Pin
antlers30-Oct-03 7:58
antlers30-Oct-03 7:58 

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.