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

C / C++ / MFC

 
QuestionProperty sheets Pin
rajeevktripathi14-Jun-07 1:23
rajeevktripathi14-Jun-07 1:23 
AnswerRe: Property sheets Pin
James R. Twine14-Jun-07 1:57
James R. Twine14-Jun-07 1:57 
QuestionRe: Property sheets Pin
rajeevktripathi19-Jun-07 20:10
rajeevktripathi19-Jun-07 20:10 
AnswerRe: Property sheets Pin
James R. Twine19-Jun-07 23:58
James R. Twine19-Jun-07 23:58 
QuestionCListctrl Pin
mehrdadov14-Jun-07 1:14
mehrdadov14-Jun-07 1:14 
AnswerRe: CListctrl Pin
Naveen14-Jun-07 1:28
Naveen14-Jun-07 1:28 
AnswerRe: CListctrl Pin
Arman S.14-Jun-07 2:11
Arman S.14-Jun-07 2:11 
QuestionSendMessage crashes Pin
Wim Engberts14-Jun-07 1:05
Wim Engberts14-Jun-07 1:05 
Hi all,

I have a program that does all kinds of graphical stuff. It calls classes from classes, etc. On the deepest level, something may change which requires the mainroutine to redraw the image. Currently, I pass all these classes a pointer to the parent class, and call "m_Parent->SendMessage (XL_REDRAW)". In the main class, I catch this message and perform the necessary drawing actions. However, this causes the program to crash in the release version. Everything goes well in the debug version however.
Please note that the subclasses are no windows in their own right, but are basically just called from the parent class and may in turn again call sub classes themselves.
Anyone any idea why this approach does not work? (and of course most of all: how to solve this)

Thanks in advance
William
GeneralRe: SendMessage crashes Pin
Matthew Faithfull14-Jun-07 1:42
Matthew Faithfull14-Jun-07 1:42 
AnswerRe: SendMessage crashes Pin
James R. Twine14-Jun-07 1:44
James R. Twine14-Jun-07 1:44 
QuestionRegarding Dependency files in MFC Pin
trinadh_t14-Jun-07 1:00
trinadh_t14-Jun-07 1:00 
AnswerRe: Regarding Dependency files in MFC Pin
_AnsHUMAN_ 14-Jun-07 1:26
_AnsHUMAN_ 14-Jun-07 1:26 
GeneralRe: Regarding Dependency files in MFC Pin
trinadh_t14-Jun-07 2:33
trinadh_t14-Jun-07 2:33 
GeneralRe: Regarding Dependency files in MFC Pin
_AnsHUMAN_ 14-Jun-07 3:15
_AnsHUMAN_ 14-Jun-07 3:15 
GeneralRe: Regarding Dependency files in MFC Pin
JudyL_MD14-Jun-07 4:13
JudyL_MD14-Jun-07 4:13 
AnswerRe: Regarding Dependency files in MFC Pin
prasad_som14-Jun-07 1:55
prasad_som14-Jun-07 1:55 
AnswerRe: Regarding Dependency files in MFC Pin
David Crow14-Jun-07 2:43
David Crow14-Jun-07 2:43 
QuestionConditional variable declaration Pin
vipin_nvk14-Jun-07 0:28
vipin_nvk14-Jun-07 0:28 
AnswerRe: Conditional variable declaration Pin
KarstenK14-Jun-07 0:34
mveKarstenK14-Jun-07 0:34 
AnswerRe: Conditional variable declaration Pin
Naveen14-Jun-07 0:41
Naveen14-Jun-07 0:41 
AnswerRe: Conditional variable declaration Pin
Hans Dietrich14-Jun-07 0:44
mentorHans Dietrich14-Jun-07 0:44 
AnswerRe: Conditional variable declaration Pin
James R. Twine14-Jun-07 1:52
James R. Twine14-Jun-07 1:52 
QuestionASSERT()! Why?And how to resolve it? Pin
kcynic14-Jun-07 0:18
kcynic14-Jun-07 0:18 
AnswerRe: ASSERT()! Why?And how to resolve it? Pin
Naveen14-Jun-07 0:31
Naveen14-Jun-07 0:31 
GeneralRe: ASSERT()! Why?And how to resolve it? Pin
kcynic14-Jun-07 1:04
kcynic14-Jun-07 1:04 

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.