[comp.windows.ms] Accessing help from a modal dialog box

tom@mims-iris.waterloo.edu (Tom Haapanen) (09/15/90)

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 ]

tom@mims-iris.waterloo.edu (Tom Haapanen) (09/18/90)

Sigh.  Please ignore my previous posting.  It was all caused by a dumb
bug in our help routine.  <Embarrasment>

[ \tom haapanen --- university of waterloo --- tom@mims-iris.waterloo.edu ]
[ "i don't even know what street canada is on"               -- al capone ]