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

Changes by last author:

= getCtlText =

== Syntax ==

:int getCtlText(int ctlnum)

== Arguments ==


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


strcpy(str1, getCtlText(CTL_OK));

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


== Also see ==

:getCtlVal, setCtlText

== Comments ==

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