Click here to Skip to main content
15,902,112 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Need help in writting a transporter agent Pin
toxcct16-Nov-05 2:46
toxcct16-Nov-05 2:46 
QuestionWindow Painting Problem Pin
Nishad S16-Nov-05 1:32
Nishad S16-Nov-05 1:32 
AnswerRe: Window Painting Problem Pin
BlackDice16-Nov-05 8:02
BlackDice16-Nov-05 8:02 
GeneralRe: Window Painting Problem Pin
Nishad S16-Nov-05 17:12
Nishad S16-Nov-05 17:12 
QuestionProblems writting in a spesific font Pin
NastradamuS16-Nov-05 0:50
NastradamuS16-Nov-05 0:50 
AnswerRe: Problems writting in a spesific font Pin
*Dreamz16-Nov-05 1:41
*Dreamz16-Nov-05 1:41 
QuestionSetFolderImageList? Pin
gzy900116-Nov-05 0:45
gzy900116-Nov-05 0:45 
Questionknow if the object is created or not Pin
Russell'16-Nov-05 0:29
Russell'16-Nov-05 0:29 
I have code like this
<br />
fun1(){<br />
 CEdit* pEdit=new CEdit;<br />
 pEdit->Create(...);<br />
}<br />
fun2(){<br />
 CEdit* pEdit=new CEdit;<br />
 //pEdit->Create(...);<br />
}<br />
fun3(){<br />
 pEdit->SetWindowText("Bla Bla");<br />
}<br />

But I have problems in fun3() because sometimes the pEdit object isn't created.
What function I could use, to test pEdit, in fun2 to know if the object is created or not?

Thanks
AnswerRe: know if the object is created or not Pin
Maximilien16-Nov-05 0:51
Maximilien16-Nov-05 0:51 
GeneralRe: know if the object is created or not Pin
Russell'16-Nov-05 1:46
Russell'16-Nov-05 1:46 
GeneralRe: know if the object is created or not Pin
Maximilien16-Nov-05 2:29
Maximilien16-Nov-05 2:29 
GeneralRe: know if the object is created or not Pin
Russell'16-Nov-05 3:45
Russell'16-Nov-05 3:45 
GeneralRe: know if the object is created or not Pin
Blake Miller16-Nov-05 9:10
Blake Miller16-Nov-05 9:10 
AnswerRe: know if the object is created or not Pin
toxcct16-Nov-05 1:02
toxcct16-Nov-05 1:02 
AnswerRe: know if the object is created or not Pin
Cool Ju16-Nov-05 1:07
Cool Ju16-Nov-05 1:07 
Questionhow to indicate Sort icon in the list control on column header Pin
K. narasimharao15-Nov-05 23:40
K. narasimharao15-Nov-05 23:40 
AnswerRe: how to indicate Sort icon in the list control on column header Pin
*Dreamz16-Nov-05 2:04
*Dreamz16-Nov-05 2:04 
QuestionShow and close dialog Pin
trunghd15-Nov-05 22:34
trunghd15-Nov-05 22:34 
AnswerRe: Show and close dialog Pin
Steen Krogsgaard15-Nov-05 22:46
Steen Krogsgaard15-Nov-05 22:46 
GeneralRe: Show and close dialog Pin
trunghd16-Nov-05 0:25
trunghd16-Nov-05 0:25 
GeneralRe: Show and close dialog Pin
toxcct16-Nov-05 0:56
toxcct16-Nov-05 0:56 
GeneralRe: Show and close dialog Pin
Steen Krogsgaard16-Nov-05 1:34
Steen Krogsgaard16-Nov-05 1:34 
AnswerRe: Show and close dialog Pin
Rage15-Nov-05 23:08
professionalRage15-Nov-05 23:08 
GeneralRe: Show and close dialog Pin
trunghd16-Nov-05 0:23
trunghd16-Nov-05 0:23 
GeneralRe: Show and close dialog Pin
Rage16-Nov-05 1:54
professionalRage16-Nov-05 1:54 

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.