Older Newer
Thu, 25 Aug 2016 10:13:56 . . . . SyneRyder [Corrections to function prototype and usage example]


Changes by last author:

Added:
= getCtlText =

== Syntax ==

:int getCtlText(int ctlnum)

== Arguments ==

:ctlnum

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

== 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>

== Also see ==

:getCtlVal, setCtlText

== Comments ==

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