Determine if only one instance is running: Difference between revisions

m
→‎{{header|Phix}}: IupCloseOnEscape no longer needed
(Updated to work with Nim 1.4: replaced "writeln" by "writeLine".)
m (→‎{{header|Phix}}: IupCloseOnEscape no longer needed)
Line 955:
Ihandle dlg = IupDialog(IupVbox({IupLabel("hello")},"MARGIN=200x200"))
IupSetAttribute(dlg,"TITLE","Single Instance")
IupCloseOnEscape(dlg)
IupSetCallback(dlg, "COPYDATA_CB", Icallback("copydata_cb"));
IupShow(dlg)
7,805

edits