I'm using pictures (icons 16x16 with transparant background) in my CommandButtons to increase usability. There is no possiblity to zoom or stretch the pictures.

On computers with display scaling > 100% the Pictures won't be scaled -> getting small.

I tried it with API functions CreateCompatibleBitmap, DrawIconEx etc. and the size is changable but if the CommandButton will be disabled (.Enabled = False) the picture will become a gray rectangle. That looks strange. I suppose it has to be with Bitmap instead of Icon format.

Does someone has an solution for this issue?

Help is very appreciated,

Reinhard