![]() |
||
| Home | SwiftForth Archive | SwiftX Archive | |

SetWindowText will set the text of any window - remember a window can be
a dialog, application window, button, edit control, etc.
Try the following in the SF console (or any dialog):
HWND Z" foobar" SetWindowText DROP
Or try the following in a dialog that has an Apply button (execute when
processing the Apply button message),
\ Since we have Applied, we change "Cancel" to "Close"
HWND IDCANCEL GetDlgItem ( hWnd ) Z" Close" SetWindowText DROP
Hope this helps,
Mike
-----Original Message-----
From: sftalk-bounce_at_forth.com [mailto:sftalk-bounce_at_forth.com] On Behalf
Of Dr. Roger Dube
Sent: Wednesday, May 23, 2007 8:40 AM
To: sftalk_at_forth.com
Subject: [sftalk] MODAL message
I am currently using a MODAL dialog of the form:
[MODAL " Test 123" 12 38 323 202 (FONT 8, Arial) (+STYLE WS_MINIMIZEBOX
WS_SYSMENU) (-STYLE WS_POPUP) ]
I would like to replace the " Test 123" with an address which contains
the text I want to display, but can't find an example of this.
Can someone tell me how to do this?
Thanks!
-- Roger
--------------------------------------------
Dr. Roger Dube
President and Chief Science Officer
Digital Authentication Technologies, Inc.
561.392.7404 (office)
561.892.2474 (eFax)
HYPERLINK "mailto:RogerDube_at_datHQ.com"RogerDube_at_datHQ.com
HYPERLINK "http://www.datHQ.com"http://www.datHQ.com
1900 Glades Road Suite 441
Boca Raton, FL 33431
----------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s)
and may contain confidential and privileged information. Any
unauthorized review, use, disclosure or distribution is prohibited. If
you are not the intended recipient, please contact the sender by reply
email and destroy all copies of the original message. Any views
expressed in this message are those of the individual sender, except
where the sender specifically states them to be the views of Digital
Authentication Technologies, Inc.
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.467 / Virus Database: 269.7.6/815 - Release Date: 5/22/2007
3:49 PM
----------------------------------------------------------------------
sftalk_at_forth.com The SwiftForth programming discussion email list
To unsubscribe, send subject "unsubscribe" to sftalk-request_at_forth.com
For list command help, send subject "help" to sftalk-request_at_forth.com
Message archives are located at http://www.forth.com/archive/sftalk
----------------------------------------------------------------------
This list is a forum for SwiftForth users. For product support and bug
reports, please send email to support_at_forth.com
----------------------------------------------------------------------
----------------------------------------------------------------------
sftalk_at_forth.com The SwiftForth programming discussion email list
To unsubscribe, send subject "unsubscribe" to sftalk-request_at_forth.com
For list command help, send subject "help" to sftalk-request_at_forth.com
Message archives are located at http://www.forth.com/archive/sftalk
----------------------------------------------------------------------
This list is a forum for SwiftForth users. For product support and
bug reports, please send email to support_at_forth.com
----------------------------------------------------------------------
Received on Thu May 24 2007 - 06:00:31 PDT
This archive was generated by hypermail 2.2.0 : Tue Dec 02 2008 - 03:04:42 PST