Click here to Skip to main content
15,919,613 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to get the keyboard inputs Pin
Veeresh Hiremath6-Oct-06 1:44
Veeresh Hiremath6-Oct-06 1:44 
AnswerRe: How to get the keyboard inputs Pin
bmzhao6-Oct-06 2:38
bmzhao6-Oct-06 2:38 
AnswerRe: How to get the keyboard inputs Pin
Hamid_RT6-Oct-06 19:38
Hamid_RT6-Oct-06 19:38 
Question3D coloured command button Pin
sarojkumarjena6-Oct-06 1:19
sarojkumarjena6-Oct-06 1:19 
AnswerRe: 3D coloured command button Pin
Hamid_RT6-Oct-06 8:33
Hamid_RT6-Oct-06 8:33 
QuestionTrouble with CMapStringToOb! Pin
bosfan6-Oct-06 1:13
bosfan6-Oct-06 1:13 
AnswerRe: Trouble with CMapStringToOb! Pin
prasad_som6-Oct-06 1:21
prasad_som6-Oct-06 1:21 
GeneralRe: Trouble with CMapStringToOb! Pin
bosfan6-Oct-06 1:44
bosfan6-Oct-06 1:44 
Hello,
i use other funktion to delete all objects befor closing dialog, looks something like this:

// before CDialog is closed!

POSITION pos = cMap.GetStartPosition();
CString csKey;
CMyObject* cMyObject;

while(NULL != pos)
{
   CMyObject* myOb;
   cMap.GetNextAssoc(pos, csKey, (CObject*&)cMyObject);
   
   delete cMyObject;
   cMap.RemoveKey(csKey);
}
// cMap is empty! 100%


i dont know what else to do! Frown | :(
Question is on witch place to set use "delete"? I need all data during program run, only solution is
before closing the dialog??

regards
break;
GeneralRe: Trouble with CMapStringToOb! Pin
prasad_som6-Oct-06 3:52
prasad_som6-Oct-06 3:52 
AnswerRe: Trouble with CMapStringToOb! Pin
benjymous6-Oct-06 1:22
benjymous6-Oct-06 1:22 
GeneralRe: Trouble with CMapStringToOb! Pin
bosfan6-Oct-06 1:46
bosfan6-Oct-06 1:46 
GeneralRe: Trouble with CMapStringToOb! Pin
bosfan6-Oct-06 2:01
bosfan6-Oct-06 2:01 
GeneralRe: Trouble with CMapStringToOb! Pin
benjymous6-Oct-06 4:42
benjymous6-Oct-06 4:42 
GeneralRe: Trouble with CMapStringToOb! Pin
bosfan6-Oct-06 7:38
bosfan6-Oct-06 7:38 
QuestionSending Messages Pin
baerten6-Oct-06 0:55
baerten6-Oct-06 0:55 
AnswerRe: Sending Messages Pin
ctodor6-Oct-06 1:33
ctodor6-Oct-06 1:33 
QuestionRe: Sending Messages Pin
baerten6-Oct-06 2:44
baerten6-Oct-06 2:44 
AnswerRe: Sending Messages Pin
krmed6-Oct-06 7:09
krmed6-Oct-06 7:09 
AnswerRe: Sending Messages Pin
baerten8-Oct-06 21:20
baerten8-Oct-06 21:20 
Questionmigrating to .NET 2003 from visual studio 6.0 problem Pin
harsha_12346-Oct-06 0:12
harsha_12346-Oct-06 0:12 
AnswerRe: migrating to .NET 2003 from visual studio 6.0 problem Pin
_AnsHUMAN_ 6-Oct-06 0:24
_AnsHUMAN_ 6-Oct-06 0:24 
AnswerRe: migrating to .NET 2003 from visual studio 6.0 problem Pin
Rajesh R Subramanian6-Oct-06 0:28
professionalRajesh R Subramanian6-Oct-06 0:28 
GeneralRe: migrating to .NET 2003 from visual studio 6.0 problem Pin
toxcct6-Oct-06 0:32
toxcct6-Oct-06 0:32 
GeneralRe: migrating to .NET 2003 from visual studio 6.0 problem Pin
Rajesh R Subramanian6-Oct-06 1:13
professionalRajesh R Subramanian6-Oct-06 1:13 
AnswerRe: migrating to .NET 2003 from visual studio 6.0 problem Pin
toxcct6-Oct-06 0:35
toxcct6-Oct-06 0: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.