Click here to Skip to main content
15,895,011 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Make Static Text (CEdit) to detect mouse click Pin
Michael Dunn26-Dec-03 6:31
sitebuilderMichael Dunn26-Dec-03 6:31 
GeneralRe: Make Static Text (CEdit) to detect mouse click Pin
J.B.26-Dec-03 17:42
J.B.26-Dec-03 17:42 
GeneralA perl question Pin
The_Server26-Dec-03 2:42
The_Server26-Dec-03 2:42 
GeneralRe: A perl question Pin
Prakash Nadar26-Dec-03 5:52
Prakash Nadar26-Dec-03 5:52 
GeneralUnexpted termination of Service. Pin
Prakash Nadar26-Dec-03 0:57
Prakash Nadar26-Dec-03 0:57 
GeneralCallback function Pin
Shah Shehpori26-Dec-03 0:46
sussShah Shehpori26-Dec-03 0:46 
GeneralRe: Callback function Pin
Gary R. Wheeler26-Dec-03 2:25
Gary R. Wheeler26-Dec-03 2:25 
GeneralCObList Pin
Ananya Kaul25-Dec-03 23:43
Ananya Kaul25-Dec-03 23:43 
Hi,
I am a beginner and am trying to use CObList to create a double linked list of CObject dervied class CHAN which has 3 member variables.The code for that is:
code <
class Chan:public CObject
{
public:
CString name;
int hdl;
bool status;
Chan(){hdl=0;status=true;};
Chan(CString nm,int hl,bool stat) {name=nm;hdl=hl;status=stat;};
Displ(){char disp[50];
sprintf(disp,"For %s hdl=%d and status is %s",name,hdl,status);
MessageBox(0,disp,"DISPLAY",MB_OK);
};
const Chan& operator=( const Chan& a )
{name=a.name;hdl=a.hdl;status=a.status;return *this;
}

};
>
My application is a dialog based application where i have created a list of size 10 and initialisingit in teh initInstance of teh application like this:
code <chan c("abx01234",0,true);
for(int="" i="0;i<11;i++)
{list.AddHead(&c);}">

In tehDialog applciation i wantto add/modify or delete the value of 2memeber variabels of Chan based on teh first value.
Please help out.Thank you



ananya
GeneralRe: CObList Pin
Monty226-Dec-03 23:31
Monty226-Dec-03 23:31 
GeneralMessages problems Pin
Atlence25-Dec-03 22:20
Atlence25-Dec-03 22:20 
GeneralRe: Messages problems Pin
valikac26-Dec-03 5:38
valikac26-Dec-03 5:38 
GeneralRe: Messages problems Pin
Atlence26-Dec-03 14:06
Atlence26-Dec-03 14:06 
Generalabout ScrollBar... Pin
Grrrr25-Dec-03 20:56
Grrrr25-Dec-03 20:56 
GeneralRe: about ScrollBar... Pin
Monty225-Dec-03 21:23
Monty225-Dec-03 21:23 
Questionhow to enumerate Input/Output devices ??? Pin
skpanda25-Dec-03 20:43
skpanda25-Dec-03 20:43 
AnswerRe: how to enumerate Input/Output devices ??? Pin
skpanda26-Dec-03 18:36
skpanda26-Dec-03 18:36 
GeneralRe: how to enumerate Input/Output devices ??? Pin
skpanda26-Dec-03 21:22
skpanda26-Dec-03 21:22 
AnswerRe: how to enumerate Input/Output devices ??? Pin
Monty226-Dec-03 23:35
Monty226-Dec-03 23:35 
GeneralRe: how to enumerate Input/Output devices ??? Pin
skpanda28-Dec-03 18:31
skpanda28-Dec-03 18:31 
GeneralRe: how to enumerate Input/Output devices ??? Pin
Monty228-Dec-03 21:01
Monty228-Dec-03 21:01 
GeneralRe: how to enumerate Input/Output devices ??? Pin
skpanda1-Jan-04 23:08
skpanda1-Jan-04 23:08 
QuestionHow to get all desktop icons? Pin
ioat25-Dec-03 19:16
ioat25-Dec-03 19:16 
GeneralRegarding drw_dxf.h Pin
cithu25-Dec-03 18:22
cithu25-Dec-03 18:22 
Questionhow to write and save ini files like some apps do with their ini's Pin
ELY M.25-Dec-03 18:04
ELY M.25-Dec-03 18:04 
AnswerRe: how to write and save ini files like some apps do with their ini's Pin
Michael Dunn25-Dec-03 19:12
sitebuilderMichael Dunn25-Dec-03 19:12 

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.