SAMPLE: Creating the Default Border Around a Push ButtonLast reviewed: July 22, 1997Article ID: Q48713  | 
	
| 
	
 
3.00 3.10
WINDOWS
kbprg kbfile
 The information in this article applies to: 
 
 SUMMARYThere is a file named DEFBTN in the Microsoft Software Library 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. In the DEFBTN example, when a numeral button is pressed ("1", "2", or "3") the corresponding number button ("one", "two", or "three") becomes the default button. Download DEFBTN.EXE, a self-extracting file, from the Microsoft Software Library (MSL) on the following services: 
 
  | 
	
	Additional reference words: 3.00 3.10 softlib DEFBTN.EXE 
 © 1998 Microsoft Corporation. All rights reserved. Terms of Use.  |