Hi, No, IupMesssage and IupMessageDlg use native functions to display a message. IupMessageDlg could be positioned because of its API, but the native function in Windows does not allow positioning (in GTK it can be positioned).
The alternative is to implement you own dialog to display messages. Best, Scuri Em sáb., 25 de abr. de 2020 às 23:56, Pedro Gonçalves < pedro.a.goncal...@gmail.com> escreveu: > Hi all, > > While browsing through the past Iup-users list messages I couldn't find > this question or any similar, so here goes: I've started following the iup > tutorial recently (at http://webserver2.tecgraf.puc-rio.br/iup/) and just > noticed (in section 3.4 Custom Dialogs > <http://webserver2.tecgraf.puc-rio.br/iup/en/tutorial/tutorial3.html#Custom_Dialogs>) > that iupMessage does not seem to allow custom positioning like other > dialogs. > > Here's the current context: if the user is using e.g. 2 monitors > the IUP_CENTER positioning will set the dialogs in the middle of the 2 > monitors. Fortunately, an easier solution is IUP_MOUSEPOS, but it seems > that dialogs like iupMessage don't have this argument. According to the > documentation, *the IupMessage function shows a dialog centralized on the > screen *- so I'm assuming that this function is internall using > IUP_CENTER, too. It would be much flexible to allow the developer to be > able to specify the position, like in other dialogs. Could this be added > anytime soon? Is there any way to work this around? > > Thank you very much, > Pedro > _______________________________________________ > Iup-users mailing list > Iup-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/iup-users >
_______________________________________________ Iup-users mailing list Iup-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iup-users