Click here to Skip to main content
16,012,316 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Controls that dissapear Pin
Naveen12-Jun-07 1:09
Naveen12-Jun-07 1:09 
AnswerRe: Controls that dissapear Pin
David Crow12-Jun-07 2:51
David Crow12-Jun-07 2:51 
AnswerRe: Controls that dissapear Pin
Michael Dunn12-Jun-07 6:29
sitebuilderMichael Dunn12-Jun-07 6:29 
Questionstd::set to store pointers Pin
ginjikun11-Jun-07 21:29
ginjikun11-Jun-07 21:29 
AnswerRe: std::set to store pointers Pin
CPallini11-Jun-07 21:36
mveCPallini11-Jun-07 21:36 
GeneralRe: std::set to store pointers Pin
ginjikun11-Jun-07 23:15
ginjikun11-Jun-07 23:15 
GeneralRe: std::set to store pointers Pin
Arman S.11-Jun-07 23:20
Arman S.11-Jun-07 23:20 
GeneralRe: std::set to store pointers Pin
ginjikun12-Jun-07 0:56
ginjikun12-Jun-07 0:56 
Hi Arman
im not also sure if what i did was correct...
i am working around the code that was also given as an answer to my previous post... the original declaration of the set was

typedef std::set < CData > DataCollecton_t;
and i changed it to
typedef std::set < CData* > DataCollecton_t;

the friend function is
friend bool operator<(const CData &l, const CData &r)
{
if (l.priority_<r.priority_)
{
="" return="" true;
="" }
="" else
="" l.priority_="=r.priority_" &&="" l.group_<r.group_;
="" }

the="" sample="" was="" working="" before="" i="" changed="" the="" set="" declaration="" to=""
typedef="" std::set="" <="" cdata*=""> DataCollecton_t;


thanks!

newbie Smile | :)
GeneralRe: std::set to store pointers Pin
Arman S.12-Jun-07 3:33
Arman S.12-Jun-07 3:33 
GeneralRe: std::set to store pointers Pin
ginjikun12-Jun-07 14:35
ginjikun12-Jun-07 14:35 
GeneralRe: std::set to store pointers Pin
Tim Paaschen11-Jun-07 23:43
Tim Paaschen11-Jun-07 23:43 
GeneralRe: std::set to store pointers Pin
CPallini12-Jun-07 0:56
mveCPallini12-Jun-07 0:56 
GeneralRe: std::set to store pointers Pin
ginjikun12-Jun-07 14:37
ginjikun12-Jun-07 14:37 
Questionhow apply action on list control box item Pin
Y_Kaushik11-Jun-07 21:28
Y_Kaushik11-Jun-07 21:28 
AnswerRe: how apply action on list control box item Pin
Hamid_RT11-Jun-07 21:55
Hamid_RT11-Jun-07 21:55 
GeneralRe: how apply action on list control box item Pin
Y_Kaushik12-Jun-07 2:38
Y_Kaushik12-Jun-07 2:38 
GeneralRe: how apply action on list control box item Pin
Hamid_RT12-Jun-07 3:30
Hamid_RT12-Jun-07 3:30 
AnswerRe: how apply action on list control box item Pin
tanvon malik12-Jun-07 0:40
tanvon malik12-Jun-07 0:40 
QuestionRe: how apply action on list control box item Pin
David Crow12-Jun-07 2:55
David Crow12-Jun-07 2:55 
QuestionReading lines from a multiline control Pin
tom groezer11-Jun-07 21:27
tom groezer11-Jun-07 21:27 
AnswerRe: Reading lines from a multiline control Pin
Naveen11-Jun-07 22:21
Naveen11-Jun-07 22:21 
AnswerRe: Reading lines from a multiline control Pin
David Crow12-Jun-07 2:49
David Crow12-Jun-07 2:49 
QuestionDrag-drop Pin
whiteclouds11-Jun-07 20:16
whiteclouds11-Jun-07 20:16 
QuestionRe: Drag-drop Pin
Hamid_RT11-Jun-07 20:28
Hamid_RT11-Jun-07 20:28 
AnswerRe: Drag-drop Pin
whiteclouds11-Jun-07 20:37
whiteclouds11-Jun-07 20:37 

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.