De: Ranier Vilela <[email protected]>
Enviado: quinta-feira, 18 de junho de 2020 18:26
Para: IUP discussion list.
Assunto: [Iup-users] IUP 3.29 possible regression (IupMessage hide app
completely
>Maybe has a possible regression with IUP 3.29, regarding IUP 3.25 (last used).
>IupMessage, hide app completely, after click ok button.
>IUP 3.29
>Win32_DLL15_lib
>Windows 10 64 bits (2004)
>app msvc 2019 (64 bits)
Here a example:
int iup_message_cb(Ihandle * ih)
{
IupMessage("Message", "Message Example");
return IUP_DEFAULT;
}
int main(int argc, char ** argv)
{
Ihandle * vdlg;
Ihandle * window1;
Ihandle * txt_historic;
Ihandle * btn_msg;
IupOpen(&argc, &argv);
IupSetGlobal("UTF8MODE", "YES");
IupSetLanguage("PORTUGUESE");
txt_historic = IupText(NULL);
IupSetAttribute(txt_historic, "NAME", "txt_historic");
IupSetAttribute(txt_historic, "NUMBER", "YES");
IupSetAttribute(txt_historic, "SIZE", "80");
btn_msg = IupButton("Message", "btn_msg");
IupSetAttribute(btn_msg, "NAME", "btn_msg");
IupSetCallback(btn_msg, "ACTION", (Icallback) iup_message_cb);
vdlg = IupVbox(txt_historic, btn_msg, NULL);
window1 = IupDialog(vdlg);
IupSetAttribute(window1, "SIZE", "320x320");
IupShow(window1);
IupMainLoop();
IupClose();
return 0;
}
regards,
Ranier Vilela
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users