I'm having some trouble with high DPI support and popup menus (using Delphi 10.2.3). Everything scales correctly except for the popup menus which still display as if on 96ppi so they appear smaller than the other items. This happens on TEdit controls with the default context menu (copy/paste etc). I'm having similar trouble with a custom popup menu that replicates the Windows Explorer right click menu you'd get when right clicking on a file.

I'm having some trouble with high DPI support and popup menus (using Delphi 10.2.3). Everything scales correctly except for the popup menus which still display as if on 96ppi so they appear smaller than the other items. This happens on TEdit controls with the default context menu (copy/paste etc). I'm having similar trouble with a custom popup menu that replicates the Windows Explorer right click menu you'd get when right clicking on a file.

Is there something I should be doing to make the context menu's appear at the correct scale? Thanks!

Comments

  1. Uwe Raabe Thanks for the info. In one of your previous posts (HighDPI.zip) you have an exe that doesn't have these issues so I presume you've managed to fix them already. It would be awesome if you could share your VCL patches with the rest of us. :)

    ReplyDelete
  2. Dominic De Chasteigner Dumée I will probably do so quite soon.

    ReplyDelete

Post a Comment