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

C / C++ / MFC

 
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 
GeneralRe: SendMessage crashes Pin
Matthew Faithfull14-Jun-07 1:42
Matthew Faithfull14-Jun-07 1:42 
If multi threading is involved then remember that SendMessage halts the caller until the message is processed and it returns. In this scenario PostMessage is your friend.
Either way you'd probably be better off doing an Invalidate or InvalidateRect when the message is sent rather than trying to draw directly. This will cause Windows to send you WM_PAINT messages at its convenience which generally works a lot better. If Debug builds work and Release builds don't then it's usually a timing or memory overrun problem. This one looks more like timing/synchronisation but I couldn't be sure wihtout the code Smile | :)


Nothing is exactly what it seems but everything with seems can be unpicked.

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 
GeneralRe: ASSERT()! Why?And how to resolve it? Pin
Naveen14-Jun-07 1:12
Naveen14-Jun-07 1:12 

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.