Click here to Skip to main content
16,007,687 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionDriverPackageInstall problem!!! Pin
honae9-Mar-06 5:52
honae9-Mar-06 5:52 
QuestionHelp with importing .dll Pin
kialmur9-Mar-06 5:23
kialmur9-Mar-06 5:23 
QuestionRe: Help with importing .dll Pin
David Crow9-Mar-06 5:37
David Crow9-Mar-06 5:37 
AnswerRe: Help with importing .dll Pin
kialmur9-Mar-06 6:24
kialmur9-Mar-06 6:24 
QuestionRe: Help with importing .dll Pin
David Crow9-Mar-06 6:33
David Crow9-Mar-06 6:33 
AnswerRe: Help with importing .dll Pin
kialmur9-Mar-06 7:00
kialmur9-Mar-06 7:00 
GeneralRe: Help with importing .dll Pin
David Crow9-Mar-06 7:14
David Crow9-Mar-06 7:14 
QuestionCorrect font size Pin
Jim Crafton9-Mar-06 5:01
Jim Crafton9-Mar-06 5:01 
I have a window that needs to display text using a fixed size (mono spaced) TT font (say Courier New) and the text will be limited to 80 columns by 24 rows. I need to calculate the bounding rect that keeps the aspect ratio of the font and centers it in the window.
I can get all this to work fine.
The next problem is choosing the font size. How do I get windows to give me a font size that will correctly fill this rect? Is this not possible? It seems no matter what I do, I get font sizes that do not scale up or down smoothly, and the text is usually either too small or too big.

¡El diablo está en mis pantalones! ¡Mire, mire!

Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)!

SELECT * FROM User WHERE Clue > 0
0 rows returned

Save an Orange - Use the VCF!
AnswerRe: Correct font size Pin
oshah9-Mar-06 5:42
oshah9-Mar-06 5:42 
GeneralRe: Correct font size Pin
Jim Crafton9-Mar-06 5:54
Jim Crafton9-Mar-06 5:54 
GeneralRe: Correct font size Pin
oshah9-Mar-06 13:08
oshah9-Mar-06 13:08 
AnswerRe: Correct font size Pin
includeh109-Mar-06 8:12
includeh109-Mar-06 8:12 
QuestionNetMeeting, codecs and soundcards! Pin
69 Bay9-Mar-06 4:58
69 Bay9-Mar-06 4:58 
AnswerRe: NetMeeting, codecs and soundcards! Pin
Ryan Binns9-Mar-06 17:50
Ryan Binns9-Mar-06 17:50 
GeneralRe: NetMeeting, codecs and soundcards! Pin
69 Bay9-Mar-06 22:14
69 Bay9-Mar-06 22:14 
Questionwindows system volume Pin
markhaslehurst9-Mar-06 2:02
markhaslehurst9-Mar-06 2:02 
AnswerRe: windows system volume Pin
Monty29-Mar-06 2:14
Monty29-Mar-06 2:14 
GeneralRe: windows system volume Pin
Hamid_RT9-Mar-06 2:16
Hamid_RT9-Mar-06 2:16 
GeneralRe: windows system volume Pin
Monty29-Mar-06 2:29
Monty29-Mar-06 2:29 
JokeRe: windows system volume Pin
toxcct9-Mar-06 2:31
toxcct9-Mar-06 2:31 
GeneralRe: windows system volume Pin
markhaslehurst9-Mar-06 2:17
markhaslehurst9-Mar-06 2:17 
GeneralRe: windows system volume Pin
Monty29-Mar-06 2:28
Monty29-Mar-06 2:28 
GeneralRe: windows system volume Pin
markhaslehurst9-Mar-06 2:34
markhaslehurst9-Mar-06 2:34 
GeneralRe: windows system volume Pin
Monty29-Mar-06 2:42
Monty29-Mar-06 2:42 
GeneralRe: windows system volume Pin
markhaslehurst9-Mar-06 2:51
markhaslehurst9-Mar-06 2:51 

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.