Re: Change Text on static labels
Igor Tandetnik <[email protected]> Tue, 13 Dec 2011 11:29:01 -0500
| Newsgroups | gmane.comp.windows.wtl |
|---|---|
| Message-ID | <[email protected]> |
On 12/11/2011 5:33 PM, yusuftran wrote:
> To test I want to the static label's text to change when I click the
> new button, I am getting a little confused with the DDX code and was
> hoping someone can describe what I would need to do to be able to set
> / change the static label's text.
In the simplest case, just give your static label a distinct ID (as
opposed to the default of IDC_STATIC) and call SetDlgItemText(label_id,
"text") in the button click handler.
--
Igor Tandetnik
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/wtl/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/wtl/join
(Yahoo! ID required)
<*> To change settings via email:
[email protected]
[email protected]
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/