programming tools for Windows applications development
  Home  |   SwiftForth Archive  |   SwiftX Archive  |

radio buttons

From: DAT Admin account <rdube_at_entropylock.com>
Date: Fri, 6 Feb 2004 18:27:43 -0500

I am trying to create an interface in which a user selects some number of check radio buttons (checks them) and I store his selection in a file. I read the file back, and want to restore the buttons he selected, but I can't seem to restore more than one check button at a time.
The structure in which I pass value(s) to the handler looks like:

[SWITCH SET-MESSAGES ZERO ( msg -- res )
   WM_COMMAND RUN:
      WPARAM LOWORD SET-COMMANDS ;
   WM_INITDIALOG RUN:
      HWND 171 Z" Files" SetDlgItemText DROP
      HWND 171 173 LPARAM 1 MAX #MsgButtons MIN 170 + CheckRadioButton ;
SWITCH]

How can I display more than one box checked when I create the window?

--- Roger
----------------------------------------------------------------------
Dr. Roger Dube

RogerDube_at_datHQ.com
President/CEO
Digital Authentication Technologies, Inc.
http://www.datHQ.com/
TEL +1.561.392.7404
FAX +1.561.892.2474

PO Box 811564
Boca Raton, FL 33481-1564

----------------------------------------------------------------------
This E-mail message and any attachments have been scanned for viruses
and are believed to be free of any virus or other defect that might
affect any computer system into which it is received and opened. However,
it is the responsibility of the recipient to ensure that it is virus free
and no responsibility is accepted by Digital Authentication Technologies,
Inc. for any loss or damage arising in any way from its use. 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.

----------------------------------------------------------------------
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 Fri Feb 06 2004 - 15:28:30 PST

This archive was generated by hypermail 2.2.0 : Wed Nov 19 2008 - 03:04:22 PST