Dear IUP Users, How is one supposed to give IupButton a visual cue that it's the default button? Just using
IupSetAttributeHandle( dialog, "DEFAULTENTER", button ) ; does not do this, and I found no reference to this in the attributes of the IupButton object itself. So I ended up using a MAP_CB which does the following. HWND wnd = IupGetAttribute( handle, "WID" ) ; if ( wnd ) { SendMessage( wnd, BM_SETSTYLE, BS_DEFPUSHBUTTON, TRUE ) ; } This works well enough, but I was expecting something more obvious in the IUP toolkit itself. Best, Johann _______________________________________________ Iup-users mailing list Iup-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iup-users