Buttons, panels and other shapes in the CONSOLE

Asked

Viewed 46 times

0

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

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

1 answer

1


There are no such libraries or projects for.NET Console applications. That’s because it doesn’t make much sense to have a button on a console, since there is a Windows Forms (or even the WPF), in which it is super simple to use buttons and visual components as panels, as it is made for this.

That being 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 post on MSDN teaches how to pick up mouse coordinates in a console application. But creating a button from this, if possible, will be very complicated.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.