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

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

    self.dll = dllFromDll(dllid)
    if self.dll:
        oldRes = win32ui.SetResource(self.dll)
    if (type(id) == type([])):
        dlg = win32ui.CreatePropertyPageIndirect(id)
    else:
        dlg = win32ui.CreatePropertyPage(id, caption)
    if self.dll:
        win32ui.SetResource(oldRes)
    window.Wnd.__init__(self, dlg)
    self.HookCommands()
