Click here to Skip to main content
14,839,739 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionMFC Dialog Based App Scaling Problem Pin
acerunner31626-Feb-21 6:28
Memberacerunner31626-Feb-21 6:28 
AnswerRe: MFC Dialog Based App Scaling Problem Pin
RedDk26-Feb-21 7:22
MemberRedDk26-Feb-21 7:22 
GeneralRe: MFC Dialog Based App Scaling Problem Pin
acerunner31626-Feb-21 9:03
Memberacerunner31626-Feb-21 9:03 
GeneralRe: MFC Dialog Based App Scaling Problem Pin
Dave Kreskowiak26-Feb-21 9:53
mveDave Kreskowiak26-Feb-21 9:53 
GeneralRe: MFC Dialog Based App Scaling Problem Pin
acerunner3161-Mar-21 14:00
Memberacerunner3161-Mar-21 14:00 
GeneralRe: MFC Dialog Based App Scaling Problem Pin
Dave Kreskowiak1-Mar-21 14:43
mveDave Kreskowiak1-Mar-21 14:43 
GeneralRe: MFC Dialog Based App Scaling Problem Pin
RedDk26-Feb-21 10:10
MemberRedDk26-Feb-21 10:10 
GeneralRe: MFC Dialog Based App Scaling Problem Pin
acerunner3161-Mar-21 14:13
Memberacerunner3161-Mar-21 14:13 
The winxp issue is out of my control unfortunately. A few PCs must run xp (due to software/hardware unrelated to this MFC app in question), the rest are win7 and 10. Therefore, this MFC app need to run on all if possible.

Sorry, I misunderstood when you asked for errors. Thought you meant compile errors, of which there were none after changing some flags. The flags were:
1>cl : Command line warning D9035: option 'Gm' has been deprecated and will be removed in a future release
1>cl : Command line error D8016: '/ZI' and '/Gy-' command-line options are incompatible

I fixed by changing /ZI to /Zi. Then it compiled without errors.
I also changed platform toolset to "Visual Studio 2017 - Windows XP (v141_xp)" from "Visual Studio 2010 (v100)".

I couldn't find the verbose option in Project Properties. Where can I find the verbose option? I did increase the Warning Level from 1 to 4. Is that what you mean? I'm getting lots of warnings now that seem to relate to converting from MSVC to ISO C++ 14. I will have to work through them all.

There are no COM objects used in this project.

Regarding hardware/graphics card issue, I thought MFC abstracts hardware layer away? As you said, MFC is MFC. I got to spend a few minutes on that laptop today. It's a dell with integrated graphics and 1080p screen. Other laptops with similar specs have been able to run this program normally, which is why I suspected some setting on this PC. If I set the system level scaling to 200%, the dialog app window is enlarged accordingly such that you can now see all controls. Almost as if the controls in the dialog window are fixed dimension, and the system scaling only applies to the box around it.

Thanks for the help and pointers.
GeneralRe: MFC Dialog Based App Scaling Problem Pin
RedDk1-Mar-21 15:25
MemberRedDk1-Mar-21 15:25 
QuestionRe: MFC Dialog Based App Scaling Problem Pin
Richard MacCutchan27-Feb-21 0:52
mveRichard MacCutchan27-Feb-21 0:52 
AnswerRe: MFC Dialog Based App Scaling Problem Pin
acerunner3161-Mar-21 14:11
Memberacerunner3161-Mar-21 14:11 
QuestionRe: MFC Dialog Based App Scaling Problem Pin
David Crow28-Feb-21 15:24
MemberDavid Crow28-Feb-21 15:24 
AnswerRe: MFC Dialog Based App Scaling Problem Pin
acerunner3161-Mar-21 14:02
Memberacerunner3161-Mar-21 14:02 
GeneralRe: MFC Dialog Based App Scaling Problem Pin
David Crow1-Mar-21 16:06
MemberDavid Crow1-Mar-21 16:06 
GeneralRe: MFC Dialog Based App Scaling Problem Pin
acerunner3162-Mar-21 9:55
Memberacerunner3162-Mar-21 9:55 
AnswerRe: MFC Dialog Based App Scaling Problem Pin
Member 137122181-Mar-21 11:10
MemberMember 137122181-Mar-21 11:10 
GeneralRe: MFC Dialog Based App Scaling Problem Pin
acerunner3161-Mar-21 14:08
Memberacerunner3161-Mar-21 14:08 
AnswerRe: MFC Dialog Based App Scaling Problem Pin
Randor 4-Mar-21 10:42
professional Randor 4-Mar-21 10:42 
Questions r flip flop Pin
Member 1508494426-Feb-21 5:16
MemberMember 1508494426-Feb-21 5:16 
AnswerRe: s r flip flop Pin
Dave Kreskowiak26-Feb-21 7:05
mveDave Kreskowiak26-Feb-21 7:05 
QuestionThe free useful tool does not work on Windows 10. Pin
mbncvbut25-Feb-21 3:53
Membermbncvbut25-Feb-21 3:53 
AnswerRe: The free useful tool does not work on Windows 10. Pin
Richard MacCutchan25-Feb-21 3:55
mveRichard MacCutchan25-Feb-21 3:55 
GeneralRe: The free useful tool does not work on Windows 10. Pin
mbncvbut25-Feb-21 4:11
Membermbncvbut25-Feb-21 4:11 
SuggestionRe: The free useful tool does not work on Windows 10. Pin
David Crow28-Feb-21 15:22
MemberDavid Crow28-Feb-21 15:22 
GeneralRe: The free useful tool does not work on Windows 10. Pin
mbncvbut5-Mar-21 19:43
Membermbncvbut5-Mar-21 19:43 

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.