News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

How to hide windows CL

Started by warej, April 23, 2010, 04:31:40 PM

Previous topic - Next topic

warej

Hello. I've been using Code::Blocks for some time, but only for console applications. Now I want to write some window application and I hace a problem. When I build a basic template "Win 32 ..." I see two wiondows on the screen: one with my application, and second is like a Windows Command Line and I want to get rid of it. I want to have only one window.
Can anybody help me?

P.S.
Sorry for language mistakes :)

oBFusCATed

Project -> Properties -> Build Targets -> Type -> GUI
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

warej

Unfortunately it doesn't work as I wanted ;/
I changed this setting, but after compiling I still have two windows.

oBFusCATed

Look at your code for calls to *Console() functions.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

stahta01

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

warej

Ok. I'll read it and hope it will work. Thank you guys :)