Click here to Skip to main content
15,917,795 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: .:Restoring Window Problem:. Pin
toxcct18-Sep-06 3:34
toxcct18-Sep-06 3:34 
AnswerRe: .:Restoring Window Problem:. Pin
_AnsHUMAN_ 18-Sep-06 3:37
_AnsHUMAN_ 18-Sep-06 3:37 
GeneralRe: .:Restoring Window Problem:. Pin
Programm3r18-Sep-06 3:46
Programm3r18-Sep-06 3:46 
GeneralRe: .:Restoring Window Problem:. Pin
_AnsHUMAN_ 18-Sep-06 3:52
_AnsHUMAN_ 18-Sep-06 3:52 
GeneralRe: .:Restoring Window Problem:. Pin
toxcct18-Sep-06 3:58
toxcct18-Sep-06 3:58 
GeneralRe: .:Restoring Window Problem:. Pin
_AnsHUMAN_ 18-Sep-06 4:01
_AnsHUMAN_ 18-Sep-06 4:01 
GeneralRe: .:Restoring Window Problem:. Pin
Programm3r18-Sep-06 4:05
Programm3r18-Sep-06 4:05 
QuestionConfused with the resource using Pin
bloodwinner18-Sep-06 2:50
bloodwinner18-Sep-06 2:50 
I am using VC++6.0 and trying to run a demo project about the dialog resources using from <<windows programming="">>.

I copyed its .cpp file, resource.h file into my project, and pasted its .rc file into my .rc file using notepad and add into the project also. But it didn't work,and pop out these errors:

--------------------Configuration: mymenu - Win32 Debug--------------------
Compiling...
mymenu.cpp
E:\work\project\mymenu\mymenu.cpp(20) : error C2065: 'IDC_BLACK' : undeclared identifier
E:\work\project\mymenu\mymenu.cpp(22) : error C2065: 'IDC_RECT' : undeclared identifier
E:\work\project\mymenu\mymenu.cpp(195) : error C2065: 'IDM_APP_ABOUT' : undeclared identifier
E:\work\project\mymenu\mymenu.cpp(195) : error C2051: case expression not constant
E:\work\project\mymenu\mymenu.cpp(203) : warning C4060: switch statement contains no 'case' or 'default' labels
E:\work\project\mymenu\mymenu.cpp(257) : error C2065: 'IDC_WHITE' : undeclared identifier
E:\work\project\mymenu\mymenu.cpp(259) : error C2065: 'IDC_ELLIPSE' : undeclared identifier
E:\work\project\mymenu\mymenu.cpp(263) : error C2065: 'IDC_PAINT' : undeclared identifier
E:\work\project\mymenu\mymenu.cpp(299) : error C2051: case expression not constant
E:\work\project\mymenu\mymenu.cpp(301) : error C2065: 'IDC_RED' : undeclared identifier
E:\work\project\mymenu\mymenu.cpp(301) : error C2051: case expression not constant
E:\work\project\mymenu\mymenu.cpp(303) : error C2065: 'IDC_GREEN' : undeclared identifier
E:\work\project\mymenu\mymenu.cpp(303) : error C2051: case expression not constant
E:\work\project\mymenu\mymenu.cpp(305) : error C2065: 'IDC_YELLOW' : undeclared identifier
E:\work\project\mymenu\mymenu.cpp(305) : error C2051: case expression not constant
E:\work\project\mymenu\mymenu.cpp(307) : error C2065: 'IDC_BLUE' : undeclared identifier
E:\work\project\mymenu\mymenu.cpp(307) : error C2051: case expression not constant
E:\work\project\mymenu\mymenu.cpp(309) : error C2065: 'IDC_MAGENTA' : undeclared identifier
E:\work\project\mymenu\mymenu.cpp(309) : error C2051: case expression not constant
E:\work\project\mymenu\mymenu.cpp(311) : error C2065: 'IDC_CYAN' : undeclared identifier
E:\work\project\mymenu\mymenu.cpp(311) : error C2051: case expression not constant
E:\work\project\mymenu\mymenu.cpp(313) : error C2051: case expression not constant
E:\work\project\mymenu\mymenu.cpp(325) : error C2051: case expression not constant
E:\work\project\mymenu\mymenu.cpp(327) : error C2051: case expression not constant
Error executing cl.exe.

mymenu.exe - 23 error(s), 1 warning(s)
AnswerRe: Confused with the resource using Pin
Hamid_RT18-Sep-06 3:10
Hamid_RT18-Sep-06 3:10 
GeneralRe: Confused with the resource using Pin
bloodwinner18-Sep-06 3:13
bloodwinner18-Sep-06 3:13 
GeneralRe: Confused with the resource using Pin
toxcct18-Sep-06 3:24
toxcct18-Sep-06 3:24 
GeneralRe: Confused with the resource using Pin
Hamid_RT18-Sep-06 3:31
Hamid_RT18-Sep-06 3:31 
QuestionDrawing radio buttons - text positioning Pin
achimschoen18-Sep-06 2:43
professionalachimschoen18-Sep-06 2:43 
AnswerRe: Drawing radio buttons - text positioning Pin
Hamid_RT18-Sep-06 3:13
Hamid_RT18-Sep-06 3:13 
GeneralRe: Drawing radio buttons - text positioning Pin
achimschoen18-Sep-06 3:37
professionalachimschoen18-Sep-06 3:37 
QuestionYahoo's sign-in seal technology Pin
George_George18-Sep-06 2:29
George_George18-Sep-06 2:29 
QuestionIOCTL Pin
Pratheep Kenny18-Sep-06 2:12
Pratheep Kenny18-Sep-06 2:12 
AnswerRe: IOCTL Pin
James R. Twine19-Sep-06 4:50
James R. Twine19-Sep-06 4:50 
QuestionSetting Color for The button control Pin
Pratheep Kenny18-Sep-06 2:08
Pratheep Kenny18-Sep-06 2:08 
AnswerRe: Setting Color for The button control Pin
Rinu_Raj18-Sep-06 2:16
Rinu_Raj18-Sep-06 2:16 
AnswerRe: Setting Color for The button control Pin
Hamid_RT18-Sep-06 2:28
Hamid_RT18-Sep-06 2:28 
QuestionClient-server program help Pin
eric_tran18-Sep-06 2:07
eric_tran18-Sep-06 2:07 
QuestionRemoving the noise from a recorded .wav file. Pin
Rajiya18-Sep-06 1:19
Rajiya18-Sep-06 1:19 
AnswerRe: Removing the noise from a recorded .wav file. Pin
Waldermort18-Sep-06 1:23
Waldermort18-Sep-06 1:23 
AnswerRe: Removing the noise from a recorded .wav file. Pin
normanS18-Sep-06 20:08
normanS18-Sep-06 20:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.