In the next IUP version, look for the CLEARVALUE and CLEARATTRIB
attributes documentation at the IupMatrix.

Best,
Scuri

> -----Original Message-----
> From: Ano Nymous [mailto:[email protected]]
> Sent: domingo, 20 de maio de 2012 06:16
> To: IUP discussion list.
> Subject: Re: [Iup-users] reset or clear IupMatrix
> 
> i use the following to clear all matrix, gonna love this IUP toolkit very
much.
> 
> proc iupmatrix_clearall uses ebp esi edi, math
>       locals
>               col dd 0
>               lns dd 0
>       endl
>       cinvoke IupGetInt,[math],"NUMCOL"
>                       mov     [col],eax
>       cinvoke IupGetInt,[math],"NUMLIN"
>                       mov     [lns],eax
>       cinvoke wsprintf,buff,<'iupmatrix_clearall      c=%i
l=%i',CR,LF>,
> [col], [lns]
>       stdcall FileWriteLog,[fhlog],buff
>       cinvoke wsprintf,buff,'1-%i',[col]
>       cinvoke IupSetAttribute,[math],'DELCOL',buff
>       cinvoke IupSetAttribute,[math],'ADDCOL',buff
>       cinvoke wsprintf,buff,'1-%i',[lns]
>       cinvoke IupSetAttribute,[math],'DELLIN',buff
>       cinvoke IupSetAttribute,[math],'ADDLIN',buff
>       cinvoke IupSetAttribute,[math],'REDRAW','ALL'
>                       ret
> endp
> 
>
----------------------------------------------------------------------------
--
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and threat
> landscape has changed and how IT managers can respond. Discussions will
> include endpoint security, mobile security and the latest in malware
threats.
> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Iup-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/iup-users


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to