Click here to Skip to main content
14,638,345 members
Home » Discussions » C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: asign to return value Pin
Richard MacCutchan2-May-20 23:21
mveRichard MacCutchan2-May-20 23:21 
GeneralRe: asign to return value Pin
CalinNegru(fearless_)2-May-20 23:35
MemberCalinNegru(fearless_)2-May-20 23:35 
GeneralRe: asign to return value Pin
Richard MacCutchan2-May-20 23:48
mveRichard MacCutchan2-May-20 23:48 
GeneralRe: asign to return value Pin
CalinNegru(fearless_)3-May-20 0:00
MemberCalinNegru(fearless_)3-May-20 0:00 
GeneralRe: asign to return value Pin
Richard MacCutchan3-May-20 0:07
mveRichard MacCutchan3-May-20 0:07 
GeneralRe: asign to return value Pin
«_Superman_»9-May-20 20:01
professional«_Superman_»9-May-20 20:01 
AnswerRe: asign to return value Pin
CalinNegru(fearless_)3-May-20 3:26
MemberCalinNegru(fearless_)3-May-20 3:26 
QuestionProperty Sheet Display issues Pin
LegacyGuy30-Apr-20 9:27
MemberLegacyGuy30-Apr-20 9:27 
I have a shipping piece of software, that uses property sheets for Tools/Options. For almost all my customers everything is perfect, but for just 2 or 3 the property sheets appear as though the dialog units are too large. The fonts, edit boxes, and all controls are about 1/3 too large, but with the same 0,0 origin. Even so, the containing dialog size is unchanged, so the result is that some of the controls on the right and bottom are either clipped or not visible at all.

We only use property sheets in two places, and for customers with this problem, both instances are affected identically. This only happens with Property sheets, and not with normal dialogs.

The resources are defined in the .rc file like:

DLG_PREF7 DIALOG  10, 91, 300, 179
STYLE DS_ABSALIGN | DS_SETFONT | DS_MODALFRAME | DS_3DLOOK | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Font"
FONT 8, "MS Sans Serif"
BEGIN
    LTEXT           "Fixed-width font",79,7,7,119,12,SS_CENTERIMAGE
    COMBOBOX        80,131,7,126,300,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_GROUP | WS_TABSTOP
    LTEXT           "Proportional font",87,7,25,119,12,SS_CENTERIMAGE
    COMBOBOX        88,131,25,126,300,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_GROUP | WS_TABSTOP
    LTEXT           "Font size",-1,7,43,119,12,SS_CENTERIMAGE
    EDITTEXT        705,131,43,20,12,ES_RIGHT | ES_NUMBER | WS_GROUP | WS_TABSTOP 
END


A picture would be worth a thousand words, but I can't post a picture. Imagine if you could have used ctrl/mouse-wheel to increase the size of the contents of just this dialog.

I am stumped. Does anyone have an idea of what might be happening?
AnswerRe: Property Sheet Display issues Pin
Victor Nijegorodov30-Apr-20 10:01
MemberVictor Nijegorodov30-Apr-20 10:01 
GeneralRe: Property Sheet Display issues Pin
Richard MacCutchan30-Apr-20 21:33
mveRichard MacCutchan30-Apr-20 21:33 
QuestionStrange chars Pin
_Flaviu28-Apr-20 8:31
Member_Flaviu28-Apr-20 8:31 
AnswerRe: Strange chars Pin
Richard Andrew x6428-Apr-20 9:19
professionalRichard Andrew x6428-Apr-20 9:19 
GeneralRe: Strange chars Pin
_Flaviu28-Apr-20 9:40
Member_Flaviu28-Apr-20 9:40 
GeneralRe: Strange chars Pin
Richard Andrew x6428-Apr-20 9:57
professionalRichard Andrew x6428-Apr-20 9:57 
AnswerRe: Strange chars Pin
Richard MacCutchan28-Apr-20 21:32
mveRichard MacCutchan28-Apr-20 21:32 
GeneralRe: Strange chars Pin
_Flaviu28-Apr-20 21:54
Member_Flaviu28-Apr-20 21:54 
GeneralRe: Strange chars Pin
Member 798912228-Apr-20 22:41
MemberMember 798912228-Apr-20 22:41 
GeneralRe: Strange chars Pin
Richard MacCutchan28-Apr-20 22:47
mveRichard MacCutchan28-Apr-20 22:47 
GeneralRe: Strange chars Pin
_Flaviu29-Apr-20 3:10
Member_Flaviu29-Apr-20 3:10 
GeneralRe: Strange chars Pin
Richard MacCutchan29-Apr-20 3:27
mveRichard MacCutchan29-Apr-20 3:27 
GeneralRe: Strange chars Pin
_Flaviu29-Apr-20 4:25
Member_Flaviu29-Apr-20 4:25 
GeneralRe: Strange chars Pin
Richard MacCutchan29-Apr-20 6:07
mveRichard MacCutchan29-Apr-20 6:07 
GeneralRe: Strange chars Pin
k505429-Apr-20 4:21
mvek505429-Apr-20 4:21 
GeneralRe: Strange chars Pin
_Flaviu29-Apr-20 21:05
Member_Flaviu29-Apr-20 21:05 
GeneralRe: Strange chars Pin
Victor Nijegorodov29-Apr-20 22:38
MemberVictor Nijegorodov29-Apr-20 22:38 

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.