zoukankan      html  css  js  c++  java
  • max 内置函数,管理uv 编辑器下面的窗口的显示情况

      unwrapModPKW = modpanel.getcurrentobject() --- modpanel.getcurrentobject 是查询当前层级
      xPKW =  unwrapModPKW.GetWindowX() -- GetWindowX 找到窗口x 坐标
      yPKW =  unwrapModPKW.GetWindowY() -- GetWindowY 找到窗口y 坐标
      hPKW =  unwrapModPKW.GetWindowH() -- GetWindowH 找到展uv 窗口 的总高度。
    ---但什么时候这里等于零 就是在我最小环的时候进行,高度就是等于了0  
      if (hPKW==0) then
       (
     yPKW = -10
     ) 
      pPKW = Point2 xPKW (yPKW+hPKW) ---这个时候 窗体的位置永远在我的界面之外,很好,还有几十这样的mcr 程序是事实进行的。
      CreateDialog UnwrapUIDialog pos:pPKW style:#(#style_border)
     
      if (hPKW==0) then -- 淡然我最最小花的时候 界面的高度与也是为0
       (
     unwrapUIdialog.height = 0
     )

  • 相关阅读:
    linux 文件类型 文件权限
    微信公众号支付
    struts2 详解
    git 命令行操作
    javascript 闭包
    SVN 基本操作
    javascript 函数 方法
    git
    javascript变量 数组 对象
    Intellij调试debug
  • 原文地址:https://www.cnblogs.com/gaitian00/p/2211186.html
Copyright © 2011-2022 走看看