-- try(cui.UnRegisterDialogBar Hello)catch() try DestroyDialog Hello catch() rollout Hello "HI" ( button bt1 "按钮" width:100 height:50 pos:[0,0] on bt1 pressed do ( ) ) createdialog Hello width:200 height:200 pos:[200,200] --style:#(#style_toolwindow, #style_sysmenu) -- Cui.RegisterDialogBar Hello style:#(#cui_dock_left, #cui_dock_right, #cui_handles, #cui_floatable) maxSize:[200,600] minSize:[200,400] -- Cui.DockDialogBar Hello #cui_dock_left
原文:https://www.cnblogs.com/humd/p/12110044.html