Amiga-C (209/223)

From:Donald W Millican
Date:29 Aug 2001 at 22:38:34
Subject:[amiga-c] MUI Listview position

Hi,

I've been trying to get the position of the current selection in an
MUI listview but keep getting the answer 0.

I think the following code is what I'm supposed to do but I must be
making a mistake somewhere :

char *item;
int choices_setting = 0;

get(list,MUIA_List_Active,&item);
choices_setting = atoi(*item); // I'm not sure about this line

Can anyone help?

Donald



Member of GAUG
Glasgow Amiga Users Group
*-Join our mailing list-*
gaug-subscribe@onelist.com

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Secure your servers with 128-bit SSL encryption! Grab your copy of VeriSign's FREE Guide: "Securing Your Web Site for Business." Get it Now!
http://us.click.yahoo.com/n7RbFC/zhwCAA/yigFAA/dpFolB/TM
---------------------------------------------------------------------~->

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/