Highlight default button [message #70232] |
Fri, 26 March 2010 01:03 |
LNpellen
Messages: 37 Registered: November 2009
|
Member |
|
|
I'm trying to modify CW_FORM to have a default focus on a button or a
text-field. I have succeeded with the text-fields. For the buttons I
think I have the focus correct because pressing space bar works, but
there is no highlight or dotted line around the text to indicate which
button have the focus and I'd prefer to press Return or Enter instead.
I found a thread in this group from 2000 where the answer was that
this is not possible with Windows. Is it still so in 2010? The
dialog_message type Question have this correct so I cannot understand
why this should not be possible for all buttons in IDL. I tried to
find the dialog_message source code to copy code, but did not succeed.
I have used the WIDGET_CONTROL, <id>, /INPUT_FOCUS
Any suggestions?
Ellen
|
|
|