cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
user name:
password:
Forgot your password?
please wait
try again
cancel
forgot your password?
sign up
log in
[Legacy version]
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
Windows Settings in Console Applications
Windows Settings in Console Applications
May 24, 2012 at 12:25pm
May 24, 2012 at 12:25pm UTC
BKz
(1)
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 12:36pm UTC
May 24, 2012 at 2:18pm
May 24, 2012 at 2:18pm UTC
Texan40
(645)
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.