The information in this article applies to:
SUMMARY
DefBtn.exe is a sample that demonstrates the correct message sequence to
change the status of a push button from the "normal" state to the "default"
state. The default push button receives a message when the ENTER key is
choosen in a dialog box, no matter which control currently has the focus.
MORE INFORMATIONThe following files are available for download from the Microsoft
Download Center. Click the file names below to download the files: http://www.microsoft.com/downloads/search.aspand then click How to use the Microsoft Download Center. For a button to be correctly activated by using an accelerator, it is necessary to subclass the button to process the focus messages. This is caused by the fact that accelerators bypass some steps in the message flow. Additional query words:
Keywords : kbfile kbsample kb16bitonly kbButton kbCtrl kbSDKPlatform kbGrpUser |
Last Reviewed: December 3, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |