dlg_get_attr_string

int dlg_get_attr_string (sds_htile handle, wchar_t *attribute, wchar_t *value, long length);


Determine the DCL value of this tile's attribute.


This function returns the value of the dialog box attribute. Note that this value changes due to user input, as well as calls made by the dlg_get_attr function. Unlike dlg_get_attr, this function is used inside a callback function.

The key argument specifies the dialog box tile; key is a string and is case-sensitive.

The attribute argument is the name of the attribute. See the DCL Programming Reference for valid attribute names.

The value argument is the value of the attribute returned by this function.

NOTES

  • The value argument does not return the current value of the argument; instead, it is the original value set by the DCL file.
  • The length argument is a memory buffer large enough to hold the value plus the EOL terminator.
  • This function returns RTNORM when successful, or an error code, if not.

Tell me about...

dlg_get_attr

dlg_get_tile

dlg_set_tile

Programming Overview of SDS (Solutions Development System)