'id is the resource ID, or a template
dllid may be None, a dll object, or a string with a dll name'

def __init__(self, id, dllid=None):

    self.dll = dllFromDll(dllid)
    if (type(id) == type([])):
        dlg = win32ui.CreateDialogIndirect(id)
    else:
        dlg = win32ui.CreateDialog(id, self.dll)
    window.Wnd.__init__(self, dlg)
    self.HookCommands()
    self.bHaveInit = None
