I'm using DDT with "extra code" to handle new Dialogs. Instead
of opening a new Dialog for each program, I'm simulating it by
first clearing the screen of all controls (loop below), and
then putting a completely new dialog onto the same screen
using DDT CONTROL ADD commands. It works well, except that
the keyboard input ALT+Letter only works the first time
it is used. After that the keyboard is dead. I assume there
is some message I should send to windows to tell it that the
previous ALT+Letter is complete and it is OK to enable the
Keyboard.
Does anyone have any suggestions to fix this?
---------------------------------------------------------------
FOR i&=First& TO Last&
CONTROL KILL hDlg,ButtonList(i&).event
NEXT i&
' then since the screen is blank I can start a new dialog
' with CONTROL ADD's. Only ALT+Letter no longer works!?
of opening a new Dialog for each program, I'm simulating it by
first clearing the screen of all controls (loop below), and
then putting a completely new dialog onto the same screen
using DDT CONTROL ADD commands. It works well, except that
the keyboard input ALT+Letter only works the first time
it is used. After that the keyboard is dead. I assume there
is some message I should send to windows to tell it that the
previous ALT+Letter is complete and it is OK to enable the
Keyboard.
Does anyone have any suggestions to fix this?
---------------------------------------------------------------
FOR i&=First& TO Last&
CONTROL KILL hDlg,ButtonList(i&).event
NEXT i&
' then since the screen is blank I can start a new dialog
' with CONTROL ADD's. Only ALT+Letter no longer works!?
Comment