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

C / C++ / MFC

 
GeneralRe: Changing a static picture Pin
Anonymous27-Jul-02 7:20
Anonymous27-Jul-02 7:20 
GeneralRe: Changing a static picture Pin
l a u r e n28-Jul-02 0:42
l a u r e n28-Jul-02 0:42 
GeneralRe: Changing a static picture Pin
Anonymous28-Jul-02 4:55
Anonymous28-Jul-02 4:55 
GeneralRe: Changing a static picture Pin
l a u r e n28-Jul-02 5:00
l a u r e n28-Jul-02 5:00 
GeneralRe: Changing a static picture Pin
Anonymous29-Jul-02 4:57
Anonymous29-Jul-02 4:57 
Generalthanks and need info ... Pin
includeh1027-Jul-02 4:38
includeh1027-Jul-02 4:38 
GeneralRe: thanks and need info ... Pin
perlmunger27-Jul-02 5:07
perlmunger27-Jul-02 5:07 
Generaldialog boxes and fonts Pin
Gary Kirkham27-Jul-02 2:21
Gary Kirkham27-Jul-02 2:21 
You design a dialog box in the resource editor with the system font set to small fonts, for example. When the user changes the system font to large fonts all of the dialogs are screwed up. Static text controls are no longer big enough to hold the text and things overlap, etc.

I have thought of different ways to handle this.

1. Place and size the controls for the large fonts and live with extra space when small fonts are selected.

2. Design two sets of dialogs, one for small fonts and one for large fonts...seems like a lot of work.

3. Programmatically move and resize the controls based on the selected font. Similarly, dont't use the resource editor and create everything dynamically


I was just wondering how everyone else handles this problem. I typically use the first method, but I don't like the results...

Gary Kirkham

A working Program is one that has only unobserved bugs
GeneralRe: dialog boxes and fonts Pin
Gary Kirkham27-Jul-02 2:27
Gary Kirkham27-Jul-02 2:27 
GeneralRe: dialog boxes and fonts Pin
Shog927-Jul-02 6:15
sitebuilderShog927-Jul-02 6:15 
GeneralRe: dialog boxes and fonts Pin
l a u r e n28-Jul-02 0:44
l a u r e n28-Jul-02 0:44 
GeneralRe: dialog boxes and fonts Pin
Michael Dunn27-Jul-02 6:37
sitebuilderMichael Dunn27-Jul-02 6:37 
AnswerRe: how to trap command window that appears while executing a C++ prog... Pin
Nish Nishant26-Jul-02 23:45
sitebuilderNish Nishant26-Jul-02 23:45 
GeneralRe: how to trap command window that appears while executing a C++ prog... Pin
ColinDavies26-Jul-02 23:52
ColinDavies26-Jul-02 23:52 
GeneralRe: how to trap command window that appears while executing a C++ prog... Pin
Nish Nishant27-Jul-02 0:08
sitebuilderNish Nishant27-Jul-02 0:08 
GeneralRe: how to trap command window that appears while executing a C++ prog... Pin
ColinDavies27-Jul-02 0:13
ColinDavies27-Jul-02 0:13 
Questionhow to trap command window that appears while executing a C++ prog... Pin
Pankaj Singh26-Jul-02 23:08
Pankaj Singh26-Jul-02 23:08 
QuestionHow can I use CListCtrl's LVS_REPORT Pin
Angel Kid26-Jul-02 22:16
Angel Kid26-Jul-02 22:16 
AnswerRe: How can I use CListCtrl's LVS_REPORT Pin
Philip Patrick26-Jul-02 23:47
professionalPhilip Patrick26-Jul-02 23:47 
Generalthank you,your are really good! Pin
Angel Kid27-Jul-02 4:33
Angel Kid27-Jul-02 4:33 
QuestionHow to replace last line of a file? Pin
Jon Taylor26-Jul-02 22:14
Jon Taylor26-Jul-02 22:14 
AnswerRe: How to replace last line of a file? Pin
Nish Nishant26-Jul-02 22:40
sitebuilderNish Nishant26-Jul-02 22:40 
GeneralRe: How to replace last line of a file? Pin
l a u r e n27-Jul-02 1:10
l a u r e n27-Jul-02 1:10 
AnswerRe: How to replace last line of a file? Pin
Sharad Ganesh27-Jul-02 4:11
Sharad Ganesh27-Jul-02 4:11 
Generalcmb1 (and edt1) and OFN_EXPLORER Pin
Atlantys26-Jul-02 21:08
Atlantys26-Jul-02 21:08 

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.