dlg_dimensions_tile

int dlg_dimensions_tile (sds_hdlg handle, wchar_t *key, short *width, short *height);


Determine the x-and y dimensions of this dialog box tile.


This function returns the x,y dimensions of the tile with the name key. The x,y dimensions are typically used by other dialog box functions: dlg_fill_image, dlg_slide_image, and dlg_vector_image.

The handle argument is the name of the dialog box.

The key argument specifies the tile; it is case-sensitive.

The width argument is the x-coordinate of the tile; the height is the y-coordinate, using a 0-based system.

NOTES

  • The dimension returned is one less than the size, since the dimension begins at 0. Thus, the size of the tile is 16 x 16 when width and height are both 15.
  • The key is a case-sensitive string.
  • This function returns RTNORM or an error code.

Tell me about...

dlg_fill_image

dlg_slide_image

dlg_vector_image

Programming Overview of SDS (Solutions Development System)