Buttons, panels and other shapes on the CONSOLE

0

Well, these days, I'm making a Console, very simple, and I was curious to see some applications made by super advanced third parties, with Menus, panels and even buttons! When you click on them, they give the click effect, a super advanced thing.

Is there any assembly, or open source project that I can make my console project have shapes like buttons and menus?

    
asked by anonymous 16.05.2015 / 06:54

1 answer

1

There are no such libraries or projects for .NET Console applications. This is because it does not make much sense for a button on a console, since there is Windows Forms (or even WPF), in which it is super simple to use buttons and visual components as panels, since it is made for that.

That said, if you still want to use something like a button for the console, you can try using PInvoke to access a lower level of the Windows API and get mouse coordinates to create your own button. This MSDN post teaches you how to get the mouse coordinates in an application console. But creating a button from this, if at all possible, will be very complicated.

    
17.05.2015 / 04:56