d = GetNewDialog(id, -1)
if not d:
- print "Can't get DLOG resource with id =", id
+ print "EasyDialogs: Can't get DLOG resource with id =", id, " (missing resource file?)"
return
h = d.GetDialogItemAsControl(2)
SetDialogItemText(h, lf2cr(msg))
d = GetNewDialog(id, -1)
if not d:
- print "Can't get DLOG resource with id =", id
+ print "EasyDialogs: Can't get DLOG resource with id =", id, " (missing resource file?)"
return
h = d.GetDialogItemAsControl(3)
SetDialogItemText(h, lf2cr(prompt))
"""
d = GetNewDialog(id, -1)
if not d:
- print "Can't get DLOG resource with id =", id
+ print "EasyDialogs: Can't get DLOG resource with id =", id, " (missing resource file?)"
return
h = d.GetDialogItemAsControl(3)
SetDialogItemText(h, lf2cr(prompt))
d = GetNewDialog(id, -1)
if not d:
- print "Can't get DLOG resource with id =", id
+ print "EasyDialogs: Can't get DLOG resource with id =", id, " (missing resource file?)"
return
# Button assignments:
# 1 = default (invisible)
def GetArgv(optionlist=None, commandlist=None, addoldfile=1, addnewfile=1, addfolder=1, id=ARGV_ID):
d = GetNewDialog(id, -1)
if not d:
- print "Can't get DLOG resource with id =", id
+ print "EasyDialogs: Can't get DLOG resource with id =", id, " (missing resource file?)"
return
# h = d.GetDialogItemAsControl(3)
# SetDialogItemText(h, lf2cr(prompt))