Older Newer
Sun, 29 Dec 2019 14:41:44 . . . . SyneRyder [Fix grammar, formatting]


Changes by last author:

Added:
= getCtlText =

== Syntax ==

int getCtlText(int ctlnum)

== Arguments ==

:ctlnum

::The number of the control whose text you would like to retrieve.

== Return ==

Returns a pointer (actually a char*) to a string containing the text property of the given user control.

== Description ==

Gets the text label / property of a user control with the index ctlnum. Note that not all user controls support text strings.

== Example ==

<code>

strcpy(str1, getCtlText(CTL_OK));

msgBox(MB_OK, "The text label of CTL_OK is", str1);

</code>

== See Also ==

getCtlVal, setCtlText

== Comments ==

:Everyone can add his comments about his experiences with this function here. Tips for using it are welcome, too.