Sorry for I didn't describe clear, On Windows 7, It works as you say, but on linux, press "ESC" will get "Returns" = 1
Antonio Scuri <[email protected]> 於 2019年8月12日 週一 下午9:01寫道: > Hi, > > IupMessageAlarm uses IupMessageDlg, which is a native pre-defined > dialog. It does not have support for DEFAULTESC. > > IupAlarm is a IupDialog and we control everything. > > Best, > Scuri > > > Em dom, 11 de ago de 2019 às 10:10, 許永寬 <[email protected]> escreveu: > >> Dear Scuri: >> I created an IupMessageAlarm with "YESNO" parameter, but whatever I press >> "ENTER" or "ESC", the button 1 -- "YES" always be trigger, not like >> IupAlarm function. >> _______________________________________________ >> Iup-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/iup-users >> > _______________________________________________ > Iup-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/iup-users >
_______________________________________________ Iup-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/iup-users
