attach resource to Win32 Application console project
-
Hi, I insert a resource script into my Win32 Application and create a menu named "menu01", when run the project, no menu appear but an empty window. What's wrong? By the way, I want know how to add color and format my codes for better readability. Best regard. I confess that I am a stubborn guy, but why not put things thoroughly, logically and systematically clean. One concrete prolem is worth a thousand unapplied abstractions.
-
Hi, I insert a resource script into my Win32 Application and create a menu named "menu01", when run the project, no menu appear but an empty window. What's wrong? By the way, I want know how to add color and format my codes for better readability. Best regard. I confess that I am a stubborn guy, but why not put things thoroughly, logically and systematically clean. One concrete prolem is worth a thousand unapplied abstractions.
NicholasCougar wrote: I insert a resource script into my Win32 Application and create a menu named "menu01", when run the project, no menu appear but an empty window. What's wrong? If I am not mistaken, you cannot add a menu to the console window through regular application means. It is mainly for stdout and stdin. If you want menus and things like that why don't you create a WIN32 application with the user interface elements. It is also possible to redirect stdout and stdin windows components if this is what you need. NicholasCougar wrote: By the way, I want know how to add color and format my codes for better readability. I am unclear what you are asking here. Do you want your source code in the editor to be syntax highlighted, or the codes in your program window? What editor are you using for your code?
Build a man a fire, and he will be warm for a day
Light a man on fire, and he will be warm for the rest of his life! -
NicholasCougar wrote: I insert a resource script into my Win32 Application and create a menu named "menu01", when run the project, no menu appear but an empty window. What's wrong? If I am not mistaken, you cannot add a menu to the console window through regular application means. It is mainly for stdout and stdin. If you want menus and things like that why don't you create a WIN32 application with the user interface elements. It is also possible to redirect stdout and stdin windows components if this is what you need. NicholasCougar wrote: By the way, I want know how to add color and format my codes for better readability. I am unclear what you are asking here. Do you want your source code in the editor to be syntax highlighted, or the codes in your program window? What editor are you using for your code?
Build a man a fire, and he will be warm for a day
Light a man on fire, and he will be warm for the rest of his life!Please have a look at your post, it's very neaty and readable, for you use small font, hightlight, and italic. In the message box where I currently typing words in, no such this like small font, italic etc. I want use them in my post here for better readability. Thank you. Best regard. I confess that I am a stubborn guy, but why not put things thoroughly, logically and systematically clean. One concrete prolem is worth a thousand unapplied abstractions.
-
Please have a look at your post, it's very neaty and readable, for you use small font, hightlight, and italic. In the message box where I currently typing words in, no such this like small font, italic etc. I want use them in my post here for better readability. Thank you. Best regard. I confess that I am a stubborn guy, but why not put things thoroughly, logically and systematically clean. One concrete prolem is worth a thousand unapplied abstractions.
Use HTML tags when typing your post. Note, not all tags are recognized. Plus, you can use special tags like
<pre></pre>
to display source code, like this:// This is a comment
int nFoo = 43;/ravi "There is always one more bug..." http://www.ravib.com ravib@ravib.com