Windows Settings in Console Applications

May 24, 2012 at 12:25pm
Hi,

I was wondering if anyone know if it's possible to change the windows property of a console application?.

To be more specific:

If you create a windows form application there is alot of setting you can set. im looking for the following to be used in a console application:

*ShowInTaskbar - False
*MinimizeBox - False
*MaximizeBox - False
*FormBorderStyle - FixedToolWindow


Thanks in advance

BKz
Last edited on May 24, 2012 at 12:36pm
May 24, 2012 at 2:18pm
You can use the STARTUPINFO structure to do those things before the console is created but I don't think the console handle you get is a reliable method for making changes via GetWindowLong() or other such functions.
Topic archived. No new replies allowed.