David Giovannini
June 3rd, 1999, 04:25 PM
Hello,
I am having just the opposite problem as "Dialog Focus Blues." Two dialogs in my application have desired behaviors switched and I do not know why.
The first is a login dialog. It has default styled button, a list box (users) and a password field. I would like the return key to simulate a click in the default button.
The second is a setup dialog. This dialog contains sub-CDialogs. The return key dismisses the parent dialog unless the control style is set true on the sub-dialogs and I have not switched which sub-dialog is visible.
Both dialogs have identical style attributes.
I believe ::IsDialogMessage is trapping and altering the return key message in the one dialog. What piece of logic do I not understand?
Thank you
Dave Giovannini
I am having just the opposite problem as "Dialog Focus Blues." Two dialogs in my application have desired behaviors switched and I do not know why.
The first is a login dialog. It has default styled button, a list box (users) and a password field. I would like the return key to simulate a click in the default button.
The second is a setup dialog. This dialog contains sub-CDialogs. The return key dismisses the parent dialog unless the control style is set true on the sub-dialogs and I have not switched which sub-dialog is visible.
Both dialogs have identical style attributes.
I believe ::IsDialogMessage is trapping and altering the return key message in the one dialog. What piece of logic do I not understand?
Thank you
Dave Giovannini