开发者

Is it possible to remove the gap between the caption buttons (minimize, restore...) in Windows XP/Vista?

开发者 https://www.devze.com 2023-01-02 16:36 出处:网络
I needed to rem开发者_如何学编程ove the gap between the buttons while creating a skin using Devexpress skin editor. I couldn\'t find such an option. Then I thought it can be done by code but I couldn\

I needed to rem开发者_如何学编程ove the gap between the buttons while creating a skin using Devexpress skin editor. I couldn't find such an option. Then I thought it can be done by code but I couldn't find an answer, even using the Windows API.


No, there is no API to control the placement of those buttons.

You could subclass them and force them to change position, but that's a big pain. Also users will be subliminally disturbed.

Better you should turn them off entirely and write a custom form with custom buttons.

0

精彩评论

暂无评论...
验证码 换一张
取 消