DX: Full Screen GUI Development 2[9]

[入库:2005年8月18日] [更新:2007年3月24日]

本文简介:选择自 sonicdater 的 blog

        .parenty = frmmain.window.y

        .x = 75

        .y = 75

        .width = 200

        .height = 200

        .windowname = "frame1"

        .caption = "test frame"

    end with

    frmmain.window.addchild frmmain.frame1

 

the property let objectsurface and mousedown function have had the radiobtn added to the cases for the chkbox:

 

public property let objectsurface(byval objsurface as directdrawsurface7)

 

?/span>

 

        case chkbox, radiobtn

            iheight = ddsd.lheight / 4

 

?/span>

 

end property

 

public function drawobject(objsurface as directdrawsurface7)

   

    dim clswindow as clswindow

    dim ilp as integer

    dim ddsd as ddsurfacedesc2

    dim rectbitmap as rect

    dim rectobject as rect

    dim lret as long

    dim bdrawcaption as boolean

    dim loldcolor as long

    dim lbltflags as long

   

    on error goto drawobjecterr

   

    rectbitmap.left = ix

    rectbitmap.right = ix + iwidth

    rectbitmap.top = iy

本文关键:DX: Full Screen GUI Development
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top