Cybot Posted March 25, 2006 Share Posted March 25, 2006 Hi, there are some minor glitches on systems with non standard DPI settings, as seen on the screenshot (taken from a system with 144 DPI) Reproduce: Windows XP: Display Properties -> [TAB] Settings -> [button] Advanced -> [TAB] General? -> Display -> DPI-Settings p.s. i don't know if i guessed the english names right, as is use a german windows version Link to comment Share on other sites More sharing options...
Moderators Andavari Posted March 25, 2006 Moderators Share Posted March 25, 2006 I think it's your font size. The buttons don't wrap text. Link to comment Share on other sites More sharing options...
DjLizard Posted March 26, 2006 Share Posted March 26, 2006 Well of course it's the font size... but that's not the user's fault, it's CCleaner's fault for not scaling the form and components to the DPI. It's easy to do in Delphi, but maybe not so easy in VB ... In Delphi, I simply turn auto-scaling off in the form properties, and use this code in every form: procedure TYourForm.FormCreate(Sender: TObject);begin if Screen.PixelsPerInch <> PixelsPerInch then ScaleBy(Screen.PixelsPerInch, PixelsPerInch); {...the rest of your FormCreate procedure...}end; And like magic, everything turns out perfectly. Click here if CCleaner Issues are re-appearing DjLizard.net DjLizard.net wiki Dial-a-fix Dial-a-fix tips DjLizard.net software support forum Do you live in Bradenton, Sarasota, Tampa, or St. Petersburg, Florida? Visit Digital Doctors where I work Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now