自己建造客户区域

来源:互联网 发布:win10登录windows账号 编辑:程序博客网 时间:2024/04/27 23:50
messagebox(string(workspacewidth()),string(workspaceheight()))
messagebox(string(workspacex()),string(workspacey()))

//工作区:窗口中间的区域
//工作区的坐标是相对于桌面的坐标,只有mdi窗口的workspacex|y 为0
//pointerx|y    是相当是当前窗口,坐标的单位是pbu
cb_1.x=0
cb_1.y=0
mdi_1.x=cb_1.width
mdi_1.y=cb_1.height
messagebox(string(workspacewidth()),string(workspaceheight()))
messagebox(string(workspacex()),string(workspacey()))
mdi_1.width=this.workspacewidth( ) - cb_1.width
mdi_1.height=this.workspaceheight() - cb_1.height
messagebox(string(workspacewidth()),string(workspaceheight()))
messagebox(string(workspacex()),string(workspacey()))


messagebox(string(workspacewidth()),string(workspaceheight()))
messagebox(string(workspacex()),string(workspacey()))

//工作区:窗口中间的区域
//工作区的坐标是相对于桌面的坐标,只有mdi窗口的workspacex|y 为0
//pointerx|y    是相当是当前窗口,坐标的单位是pbu
原创粉丝点击