Too bad you weren't looking for a solution concerning menu items because
there is a way to determine whether a menu item is checked or not using the
MenuitemInfoByHandler(someHandler, MENUITEM_INFO_CHECKED) or
MenuitemInfoByID(someID, MENUITEM_INFO_CHECKED). 

I guess you'll have to make your own logic that 'remembers' which status
each togglebutton has.

I allways use a special Type when creating and managing togglebuttons, more
or less like this:

Type T_TOGGLE_BUTTON
   nButtonID    As Integer
   bChecked     As Logical
   ...
End Type

Dim marrTButtons() As T_TOGGLE_BUTTON

And then whenever a button is pushed I update the bChecked variable on the
appropriate button.

Of course it can be done more simple by just using an array of logicals to
remember which item was checked or not.

HTH,
Peter Horsboll Moller
COWI A/S


-----Original Message-----
From: paul quinlan
To: [EMAIL PROTECTED]
Sent: 02-04-03 13:24
Subject: MI-L Toggle Buttons

Hi

is there a way of determining which from a set of toggle buttons is 
selected? i know you can use: commandinfo(CMD_INFO_TOOLBTN) to find the
last 
clicked button, but i need to know all. any suggestions

Thanks
Paul





_________________________________________________________________
Overloaded with spam? With MSN 8, you can filter it out 
http://join.msn.com/?page=features/junkmail&pgmarket=en-gb&XAPID=32&DI=1
059


---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 6182

---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 6184

Reply via email to