Amiga-C (211/223)

From:Carsten Scholling
Date:30 Aug 2001 at 11:20:41
Subject:[amiga-c] Re: MUI Listview position

Hi!

> 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?

Why so complicated? Simply use

LONG item;

get( list, MUIA_List_Active, &item );

Ciao
Carsten



------------------------ 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/