Click here to Skip to main content
15,921,351 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: linker problem VS2005 and lua library Pin
abac_mefisto3-Apr-07 2:23
abac_mefisto3-Apr-07 2:23 
QuestionHow to paint background of a CWnd derived class? Pin
narayanagvs2-Apr-07 22:56
narayanagvs2-Apr-07 22:56 
QuestionRe: How to paint background of a CWnd derived class? Pin
prasad_som3-Apr-07 0:12
prasad_som3-Apr-07 0:12 
AnswerRe: How to paint background of a CWnd derived class? Pin
Parthi_Appu3-Apr-07 0:28
Parthi_Appu3-Apr-07 0:28 
AnswerRe: How to paint background of a CWnd derived class? Pin
Parthi_Appu3-Apr-07 0:14
Parthi_Appu3-Apr-07 0:14 
GeneralRe: How to paint background of a CWnd derived class? Pin
narayanagvs3-Apr-07 1:10
narayanagvs3-Apr-07 1:10 
GeneralRe: How to paint background of a CWnd derived class? Pin
Parthi_Appu3-Apr-07 1:21
Parthi_Appu3-Apr-07 1:21 
Questionenum and constants Pin
prithaa2-Apr-07 22:26
prithaa2-Apr-07 22:26 
Hello,

I have a

enum Frame_Type{EMPTY_FRAME,TABLEVIEW};

class A
{
const FRAME_TYPE FrameType0;
const FRAME_TYPE FrameType1;

AddFrame(const FRAME_TYPE tFrameType);


};

AddFrame(const FRAME_TYPE tFrameType)
{
switch (tFrameType)
{
case FrameType0 :
int g=1;
break;
case FrameType1 :
int g=2;
break;
}
}


The AddFrame function gives error saying 'case expression not constant'

AnswerRe: enum and constants Pin
prasad_som2-Apr-07 22:40
prasad_som2-Apr-07 22:40 
Questiontoolbar resize problem Pin
Try2-Apr-07 21:56
Try2-Apr-07 21:56 
AnswerRe: toolbar resize problem Pin
KaЯl3-Apr-07 5:09
KaЯl3-Apr-07 5:09 
GeneralRe: toolbar resize problem Pin
Try3-Apr-07 19:07
Try3-Apr-07 19:07 
QuestionFunctions and if () Question [modified] Pin
Programm3r2-Apr-07 21:50
Programm3r2-Apr-07 21:50 
AnswerRe: Functions and if () Question Pin
kakan2-Apr-07 22:02
professionalkakan2-Apr-07 22:02 
AnswerRe: Functions and if () Question Pin
CPallini2-Apr-07 22:11
mveCPallini2-Apr-07 22:11 
GeneralRe: Functions and if () Question Pin
kakan2-Apr-07 22:16
professionalkakan2-Apr-07 22:16 
GeneralRe: Functions and if () Question Pin
CPallini2-Apr-07 22:31
mveCPallini2-Apr-07 22:31 
GeneralRe: Functions and if () Question Pin
kakan2-Apr-07 22:43
professionalkakan2-Apr-07 22:43 
QuestionRe: Functions and if () Question Pin
Programm3r2-Apr-07 22:29
Programm3r2-Apr-07 22:29 
AnswerRe: Functions and if () Question Pin
kakan2-Apr-07 22:38
professionalkakan2-Apr-07 22:38 
AnswerRe: Functions and if () Question Pin
CPallini2-Apr-07 22:43
mveCPallini2-Apr-07 22:43 
GeneralRe: Functions and if () Question Pin
cp98763-Apr-07 1:35
cp98763-Apr-07 1:35 
JokeRe: Functions and if () Question Pin
Cedric Moonen2-Apr-07 22:21
Cedric Moonen2-Apr-07 22:21 
GeneralRe: Functions and if () Question Pin
CPallini2-Apr-07 22:34
mveCPallini2-Apr-07 22:34 
GeneralRe: Functions and if () Question Pin
Programm3r2-Apr-07 22:35
Programm3r2-Apr-07 22:35 

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.