Пример #1
0
def test3():
    dlg = win32ui.LoadDialogResource(win32ui.IDD_SET_TABSTOPS)
    dlg[0][0] = 'New Dialog Title'
    dlg[0][1] = (80, 20, 161, 60)
    dlg[1][1] = '&Confusion:'
    cs = win32con.WS_CHILD | win32con.WS_VISIBLE | win32con.WS_TABSTOP | win32con.BS_PUSHBUTTON
    dlg.append([128, "&Help", 100, (111, 41, 40, 14), cs])
    dialog.Dialog(dlg).DoModal()
Пример #2
0
def test2():
    dialog.Dialog(MakeDlgTemplate()).DoModal()