|
-
Dec 12th, 2002, 08:56 AM
#1
Thread Starter
New Member
Creating a Window
Is there a simple way to create a Window in VC++ 6.0 ??
// fade][NiVEN
fade@quakenet
-
Dec 12th, 2002, 11:07 AM
#2
What do you mean by simple? The code in the Tutorials post on the top here is quite simple.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Dec 12th, 2002, 11:14 AM
#3
Thread Starter
New Member
I thought you guys should answer something like that =). Yes it's quite easy. but is there a way to "draw" a window. something not concerning copy and paste? =)
// fade][NiVEN
fade@quakenet
-
Dec 12th, 2002, 12:23 PM
#4
Monday Morning Lunatic
You can use CreateDialog and the Dialog [sic] editor.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Dec 12th, 2002, 12:29 PM
#5
Thread Starter
New Member
// fade][NiVEN
fade@quakenet
-
Dec 12th, 2002, 05:21 PM
#6
In VC++: Insert->Resource->Dialog
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Dec 12th, 2002, 08:44 PM
#7
Thread Starter
New Member
Ok.. I get this error when just creating a dialog. Does it reqiure me to add anything? I'll search in the MSDN for some answers but if you can help please do =)
--------------------Configuration: Easy Window ---------------------------
Win32DebugCompiling...
Easy Window.cpp
Linking...
LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16
Debug/Easy Window.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
Easy Window.exe - 2 error(s), 0 warning(s)
-----------------------------------------------------------------------------------
// fade][NiVEN
fade@quakenet
-
Dec 12th, 2002, 08:53 PM
#8
Monday Morning Lunatic
You need to use a proper Windows program, which starts with WinMain, not main (as normal C and C++ programs do). Do a bit of searching on Google and you'll find the answer
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Dec 12th, 2002, 08:58 PM
#9
Thread Starter
New Member
Search on what? WinMain? i'll do that tomorrow.. too darned tired today =).
// fade][NiVEN
fade@quakenet
-
Dec 12th, 2002, 10:05 PM
#10
Monday Morning Lunatic
WinMain and CreateDialog should do the trick
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|