Click here to Skip to main content
15,913,773 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Help needed! Pin
Steen Krogsgaard23-Feb-05 2:32
Steen Krogsgaard23-Feb-05 2:32 
GeneralRe: Help needed! Pin
Ryan Binns23-Feb-05 17:11
Ryan Binns23-Feb-05 17:11 
GeneralRe: Help needed! Pin
Steen Krogsgaard23-Feb-05 21:46
Steen Krogsgaard23-Feb-05 21:46 
GeneralRe: Help needed! Pin
Ryan Binns24-Feb-05 12:38
Ryan Binns24-Feb-05 12:38 
GeneralRe: Help needed! Pin
Steen Krogsgaard24-Feb-05 22:18
Steen Krogsgaard24-Feb-05 22:18 
GeneralRe: Help needed! Pin
Ryan Binns25-Feb-05 1:06
Ryan Binns25-Feb-05 1:06 
GeneralHandling messages in another class Pin
tttyip23-Feb-05 0:25
tttyip23-Feb-05 0:25 
GeneralRe: Handling messages in another class Pin
RChin23-Feb-05 0:51
RChin23-Feb-05 0:51 
The first solution that comes to mind is enable Class B to handle user defined messages. This would enable Class A, or any other window for that matter, to send instruction messages to Class B, such as activating the dialogue's timer function.
The only concern is the modality of your dialogues. I have used this method flawlessly in modeless dialog, but I'm not sure how it would work in a modal dialog, since the blocking mechanism my interfare with the sent messages. Maybe someone could verify if this method still works for modal dialogues.

Joseph Newcomer's excellent essay[^] on window messages is a must read.




I Dream of Absolute Zero

Generalmerge some cells from the same row in CListCtrl Pin
catalin buj23-Feb-05 0:14
catalin buj23-Feb-05 0:14 
GeneralRe: merge some cells from the same row in CListCtrl Pin
bitpusher23-Feb-05 9:56
bitpusher23-Feb-05 9:56 
GeneralRe: merge some cells from the same row in CListCtrl Pin
catalin buj23-Feb-05 22:19
catalin buj23-Feb-05 22:19 
GeneralProblem with metafile-playback in print preview Pin
Christian Waluga22-Feb-05 23:35
Christian Waluga22-Feb-05 23:35 
GeneralRe: Problem with metafile-playback in print preview Pin
Christian Waluga23-Feb-05 22:15
Christian Waluga23-Feb-05 22:15 
GeneralUse C++ written class in VB Pin
Logan from Singapore22-Feb-05 23:33
Logan from Singapore22-Feb-05 23:33 
GeneralRe: Use C++ written class in VB Pin
ThatsAlok22-Feb-05 23:52
ThatsAlok22-Feb-05 23:52 
Generalappend CString [] Pin
kittunair22-Feb-05 23:28
kittunair22-Feb-05 23:28 
GeneralRe: append CString [] Pin
ThatsAlok22-Feb-05 23:50
ThatsAlok22-Feb-05 23:50 
GeneralRe: append CString [] Pin
David Nash23-Feb-05 7:03
David Nash23-Feb-05 7:03 
GeneralDate Validation Pin
Renjith Ramachandran22-Feb-05 23:16
Renjith Ramachandran22-Feb-05 23:16 
GeneralRe: Date Validation Pin
David Crow23-Feb-05 2:40
David Crow23-Feb-05 2:40 
GeneralRe: Date Validation Pin
James R. Twine23-Feb-05 2:51
James R. Twine23-Feb-05 2:51 
GeneralRe: Date Validation Pin
anand_study17-May-05 19:47
anand_study17-May-05 19:47 
Generalmalloc fails Pin
Jay Carter22-Feb-05 23:00
Jay Carter22-Feb-05 23:00 
GeneralRe: malloc fails Pin
$8823-Feb-05 1:33
$8823-Feb-05 1:33 
GeneralRe: malloc fails Pin
Mike Dimmick23-Feb-05 2:30
Mike Dimmick23-Feb-05 2:30 

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.