different font sizes screws up window placement
i''m making a mfc app and it looks fine if people use the standard "small" sized fonts. if i changed the font to "large" then the window alignment goes bad.
i noticed in the windows created in the dialog editor does not have this problem (because it has its own special units?); those windows correctly enlarges when i use the larger font.
the part that''s not correct is where i specify the pixel positions myself. how do i correct this? use some other unit besides pixels? i want my windows to scale with my fonts.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement