Sunday, November 21, 2010

How can i change the size of the C exe window.?

Some window is maximized and some are minimized and we can adjust the size. Is there any way of making the C program to run in full screen, or the size in which the user likes. How i can design a window that has different colour using C. (Like the winamp window)How can i change the size of the C exe window.?
To run a DOS Application in Full-Screen mode Just press ALT+EnterHow can i change the size of the C exe window.?
That's correct, alt-enter will expand that window that comes up when you run your ';C exe'; program. However, what you are actually talking about is designing a Windows Form Application.



A console C program will not be able to look any other way than what you see when it runs, it looks just like the MS-DOS prompt. You want to design a ';Windows Form'; application that has things like textboxes and labels. If you're using Visual C++ create a new project that is a ';Windows Form Application'; and use the properties window to change it's appearance. I suggest getting a tutorial on creating ';Windows Form Applications';.



Hope I could help!
They are correct about the console mode. But, if you're not using or don't have access to VC++, then you can use Dev-C++ and learn a bit about the Win32 and Win32s APIs. A link to find a free compiler and other tutorials is first below, the second is a very good beginners tutorial on the Win32 APIs and usage. Good luck!

No comments:

Post a Comment