Figure PARMBLK Structure

o pb_tree - A POINTER to the object tree that contains the application-defined object.

o pb_obj - A WORD containing the object index of the application-defined object.

o pb_prevstate - A WORD containing the old state of an object to be changed.

o jpb_currstate - A WORD containing the changed (new) state of an object .

Note: If pb_prevstate and pb_currstate are the same, the application is drawing the object, not changing it.

o pb_x - A WORD containing the X-coordinate of a rectangle defining the location of the object on the physical screen.

o pb_y - A WORD containing the Y-coordinate of a rectangle defining the location of the object on' the physical screen.

o pb_w - A WORD containing the width (in pixels) of a rectangle defining the size of the object on the physical screen.

o pb_h - A WORD containing the height (in pixels) of a rectangle defining the size of the object on the physical screen.

o pb_xc - A WORD containing the X-coordinate of the current clip rectangle on the physical screen.

° pb_yc - A WORD containing the Y-coordinate of the current clip rectangle on the physical screen.

o pb_wc - A WORD containing the width (in pixels) of the current clip rectangle on the physical screen.

o pb_hc - A WORD containing the height (in pixels) of the current clip rectangle on the physical screen.

o pb_parm - A LONG value; identical to ab_parm in the USERBLK structure. The Object Library passes this value to the application when it is time for the application to draw or change the object.

0 0

Post a comment

  • Receive news updates via email from this site