How to handle Form caption right click

后端 未结 6 843
感情败类
感情败类 2021-01-07 10:09

I\'d like a context menu on the caption bar right click

any tips/samples pref in c# ?

UPDATE - for various reasons, right click on the form won\'t work becau

6条回答
  •  别那么骄傲
    2021-01-07 10:59

    Basically you need to use p-invoke to do this. There is a really great example at Here You can see from the example you will need to manually mimic the event handlers, but this is pretty straight forward.

提交回复
热议问题