How to show system menu on form without title bar
I have standard winform that I have hidden the title bar so that I can make my own custom header. I have my own code to drag the form and close/minimize/maximize and even show the title in the task bar. My question is, how do i make the system menu show from the task bar when the user right-clicks on the task bar icon? Since the controlbox property needs to be false in order to hide the title bar, it unfortunately disables the system menu from the task bar too. Any ideas?