Add help button, but keep maximize and minimize

后端 未结 2 1669
梦毁少年i
梦毁少年i 2021-01-02 08:47

I would like to be able to add the help button onto my winform, but keep the maxmimize and minimize buttons, but windows standard is to disable both to be able to show the h

2条回答
  •  旧巷少年郎
    2021-01-02 09:12

    One way to do this is to draw your own border.

    FormBorderStyle = None
    

    Now construct your own caption area. This is non trivial because you have to handle drag resize events, transparency if you want rounded corners, etc.

提交回复
热议问题