RE: Nested Splitters Problem
"Michael Stephenson" <[email protected]> Fri, 22 Jun 2012 11:30:30 -0400
| Newsgroups | gmane.comp.windows.wtl |
|---|---|
| Message-ID | <[email protected]> |
I think you need a PreTranslateMessage that returns ::IsDialogMessage for the child dialog. This is needed for modeless dialogs to drive their message processing. You can wire this up either in your dialog class and attach/detach your message filter appropriately on dialog creation/destruction, or you could have the frame's PreTranslateMessage handler call the IsDialogMessage with the child dialog's window handle. If you create a new SDI project with the wizard and use a form view (a dialog), it'll give you the general idea. Other standard causes of the behavior you mention include not having a REFLECT_NOTIFICATIONS() entry in the parent's message map and the setting of WS_CLIPCHILDREN in the parent, though I doubt either of those are your problem here. In any event, it sounds like messages are not getting to your dialog window. From: [email protected] [mailto:[email protected]] On Behalf Of maybnxtseasn Sent: Saturday, June 16, 2012 2:14 PM To: [email protected] Subject: [wtl] Nested Splitters Problem http://social.msdn.microsoft.com/Forums/en-US/vcmfcatl/thread/bc715647-7f9b- 4404-81fb-89c11bbd7b30 above is the link to the original discussion along with the code im using [Non-text portions of this message have been removed] ------------------------------------ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/wtl/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/wtl/join (Yahoo! ID required) <*> To change settings via email: [email protected] [email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/