c++ - Moving between dialog controls in Windows Mobile without the tab key -
i have windows mobile 5.0 app, written in c++ mfc, lots of dialogs. 1 of devices i'm targetting not have tab key, use key move between controls. fine buttons not edit controls or combo boxes. have looked @ similar question answer not suit. i've tried overriding cdialog::onkeydown no avail, , rather not have override keystroke functionality every control in every dialog. thoughts far write new classes replacing cedit , ccombobox, checking if there easier way, such temporarily re-programming key.
i don't know mfc that good, maybe pull off subclassing window procedures of controls single class, handle cases of pressing cursor keys , pass rest of events original procedures.
you have provide own mechanism of moving appropriate control, depending on cursor key pressed may worth usability gains.
if worked, enumerate dialog controls , subclass them automatically.
windows mobile 6 allows switching between dialog controls using cursors default - it's new, more "smartphoney" way of moving around ui , it's incredibly convenient.
Comments
Post a Comment