Re: C_List change
** Reply to note from "=?iso-8859-2?Q?Przemys=B3aw?= G. =?iso-8859-2?Q?Gawro=F1ski?=" <gawron@obop.com.pl> Fri, 19 Mar 1999 10:23:54 +0100
> Is there a way to find out that (well I hope there is), that the curent
> selection of the C_List has changed the moment it has ocured.
The method DialogCommand() of your dialog window get an event for every
selection.
::DialogCommand(ItemVal id, ItemVal retval, CmdType ctype)
All you have to do ist to compare id with the id of your C_List. retval is
the index of the selected item. That's all.
void dlgObjSelDialog::DialogCommand(ItemVal id, ItemVal retval, CmdType ctype)
{
switch (id)
{
case id_MainList:
{
int iSelectedItem = retval;
Mfg, J. Desch
--
Voelker Video- und Datentechnik
_____
eMail: voelker.develop@t-online.de
cc: V++ Mailingliste <vgui-discuss@other.debian.org>
Reply to: