Newsgroups: comp.windows.ms Path: utzoo!utgpu!watserv1!daemon From: tom@mims-iris.waterloo.edu (Tom Haapanen) Subject: Accessing help from a modal dialog box Message-ID: <1990Sep14.213452.15508@watserv1.waterloo.edu> Sender: daemon@watserv1.waterloo.edu Organization: University of Waterloo, WATMIMS Research Group Date: Fri, 14 Sep 90 21:34:52 GMT Lines: 17 Our Windows 2.1 application has a need for a context-sensitive help facility. We've implemented this using F1 for a menu accelerator, and it generally works fine. However, while we have a modal dialog box up the menu (and thus F1) is not accessible to the user. I have tried looking for a WM_CHAR with VK_F1 in the dialog function, and in a subclassed child window function --- and neither one ever receives such a message. Neither does the dialog box's parent, nor the main window. Where is it going to? I know it's possible to get this --- after all, Excel and Word have F1 available in dialog boxes. How do I implement this? Countless thanks are proffered in advance... [ \tom haapanen --- university of waterloo --- tom@mims-iris.waterloo.edu ] [ "i don't even know what street canada is on" -- al capone ]