Click here to Skip to main content
15,035,283 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Reverse engineering GCC output - need library file (name) and path. Pin
leon de boer27-Jan-20 22:28
Memberleon de boer27-Jan-20 22:28 
GeneralRe: Reverse engineering GCC output - need library file (name) and path. Pin
Vaclav_28-Jan-20 2:45
MemberVaclav_28-Jan-20 2:45 
QuestionDPI aware, I am confused Pin
Erich Jarz23-Jan-20 7:25
MemberErich Jarz23-Jan-20 7:25 
AnswerRe: DPI aware, I am confused Pin
Gerry Schmitz23-Jan-20 7:37
mveGerry Schmitz23-Jan-20 7:37 
GeneralRe: DPI aware, I am confused Pin
Erich Jarz23-Jan-20 8:27
MemberErich Jarz23-Jan-20 8:27 
GeneralRe: DPI aware, I am confused Pin
leon de boer24-Jan-20 7:05
Memberleon de boer24-Jan-20 7:05 
GeneralRe: DPI aware, I am confused Pin
Erich Jarz24-Jan-20 7:42
MemberErich Jarz24-Jan-20 7:42 
GeneralRe: DPI aware, I am confused Pin
leon de boer24-Jan-20 19:41
Memberleon de boer24-Jan-20 19:41 
You are obviously loading the dialog from a resource file or template.
Those have a normal DPI scale of 48 and yes it gets messy.

1.) Don't do it .... manually create the dialog and insert the items.

or

2.) If you don't want to do it manually on window entries that draw on the WM_CREATE grab the size and scale of the window just like you did. Which is basically what Gerry is saying below and contain your draws to windows. That means if you want to draw something on the dialog background make an transparent invisible window in the resource so it scales with the rest of the dialog and draw on it.

You are sort of creating a mountain out of a molehill.
In vino veritas


modified 25-Jan-20 1:50am.

GeneralRe: DPI aware, I am confused Pin
Erich Jarz26-Jan-20 20:22
MemberErich Jarz26-Jan-20 20:22 
GeneralRe: DPI aware, I am confused Pin
Gerry Schmitz24-Jan-20 8:27
mveGerry Schmitz24-Jan-20 8:27 
GeneralRe: DPI aware, I am confused Pin
Richard MacCutchan23-Jan-20 9:59
mveRichard MacCutchan23-Jan-20 9:59 
Questionwin32 Radio button doesn't show when is checked Pin
coco24319-Jan-20 6:53
Membercoco24319-Jan-20 6:53 
AnswerRe: win32 Radio button doesn't show when is checked Pin
Victor Nijegorodov19-Jan-20 7:32
MemberVictor Nijegorodov19-Jan-20 7:32 
GeneralRe: win32 Radio button doesn't show when is checked Pin
coco24319-Jan-20 8:48
Membercoco24319-Jan-20 8:48 
GeneralRe: win32 Radio button doesn't show when is checked Pin
Victor Nijegorodov19-Jan-20 9:29
MemberVictor Nijegorodov19-Jan-20 9:29 
GeneralRe: win32 Radio button doesn't show when is checked Pin
coco24319-Jan-20 10:05
Membercoco24319-Jan-20 10:05 
GeneralRe: win32 Radio button doesn't show when is checked Pin
_Flaviu19-Jan-20 19:22
Member_Flaviu19-Jan-20 19:22 
GeneralRe: win32 Radio button doesn't show when is checked Pin
coco24320-Jan-20 6:50
Membercoco24320-Jan-20 6:50 
GeneralRe: win32 Radio button doesn't show when is checked Pin
_Flaviu20-Jan-20 19:41
Member_Flaviu20-Jan-20 19:41 
AnswerRe: win32 Radio button doesn't show when is checked Pin
Richard MacCutchan19-Jan-20 23:16
mveRichard MacCutchan19-Jan-20 23:16 
AnswerRe: win32 Radio button doesn't show when is checked Pin
Stefan_Lang20-Jan-20 4:00
mveStefan_Lang20-Jan-20 4:00 
QuestionI cannot create a Release version. Pin
Member 1410515514-Jan-20 16:50
MemberMember 1410515514-Jan-20 16:50 
AnswerRe: I cannot create a Release version. Pin
Joe Woodbury14-Jan-20 20:10
professionalJoe Woodbury14-Jan-20 20:10 
SuggestionRe: I cannot create a Release version. Pin
Richard MacCutchan14-Jan-20 21:47
mveRichard MacCutchan14-Jan-20 21:47 
GeneralRe: I cannot create a Release version. Pin
Member 1410515514-Jan-20 23:57
MemberMember 1410515514-Jan-20 23:57 

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.