FAR 3, build 3258.
In OpenPluginW, I create a new dialog and display it. It works fine, all controls respond how they should, the default button (DI_BUTTON with DIF_DEFAULTBUTTON) reacts as well. The other button (DI_BUTTON with no special flags) closes the dialog as intended. But I can't get the dialog to close when I press ESCAPE; in FAR2, this behavior was automatic, but in FAR3, I could only achieve it through the DialogProc's DN_CONTROLINPUT message (I check for an ESCAPE, and then it is pressed, I send a DM_CLOSE message to the dialog). Isn't there an easier way?
FAR3 dialogs and ESCAPE
Re: FAR3 dialogs and ESCAPE
Not yet ready to release anything. I just wanted to know i this behavior is normal and perhaps I need to use a specific flag. If you say ESCAPE should work normally, I will leave it until the plugin is finished and then maybe upgrade FAR3 and see what happens.
Re: FAR3 dialogs and ESCAPE
I have problem with escape key in any dialog. And it seems to me it doesn't want to go away. Any ideas?
Re: FAR3 dialogs and ESCAPE
Same problem here. How to fix this??glebedev wrote:I have problem with escape key in any dialog. And it seems to me it doesn't want to go away. Any ideas?