Click here to Skip to main content
15,912,756 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
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 
I use something like

if( ::IsWindow(pEdit->m_hWnd) ){

to verify that the window that the object references has been created and still exists.

GetSafeHwnd() will protect against the NULL this pointer and return the m_hWnd, but it won't let you knwo if the window exists, prior to sending a message.

Maybe you want soemthing like this:

if( pEdit && ::IsWindow(pEdit->m_hWnd) ){
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 
Questionneed help Pin
toufiq_raja15-Nov-05 20:42
toufiq_raja15-Nov-05 20:42 
AnswerRe: need help Pin
Michael P Butler15-Nov-05 21:05
Michael P Butler15-Nov-05 21:05 
GeneralRe: need help Pin
toufiq_raja16-Nov-05 18:43
toufiq_raja16-Nov-05 18:43 
AnswerRe: need help Pin
toxcct15-Nov-05 22:07
toxcct15-Nov-05 22:07 
GeneralRe: need help Pin
toufiq_raja16-Nov-05 23:14
toufiq_raja16-Nov-05 23:14 

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.