Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试过设置 dlg.CenterOnParent() 但这不起作用。我认为这是因为我的 MessageDialog 没有将框架设置为父级。在那种情况下,我该怎么做?
当你创建一个 wx 小部件时,创建函数的正常模式是 wx.SomeUIObject(parent, id, ...)。创建对话框时可以设置父级。