Blitz (85/218)

From:Steve Hargreaves
Date:16 Aug 2001 at 02:47:29
Subject:MUI set cycle chain

Hello all,

I want to define an active MUI object in a window when the window opens, which
requires a cyclechain to be defined first. The CycleChain tag doesn't co-operate
with what I want to do, so I tried to set the cyclechain with:-

MUIDoMethod mywin,#MUIM_Window_SetCycleChain,57,0,1,2,3,60,4,21,Null

but I get a compile error. I've tried several permutations:-

Null(57,0.....21), (57,0,.....21,Null) etc. I've also tried:-

InitTagList 1,10
Taglist 1,#MUIM_WIndow_SetCycleChain,57,0,1, etc.

but that doesn't work, either.

The compiler accepts the first version without the "Null", but the list has to
be Null terminated. How do I Null terminate a list of numbers (and not strings)?

All the best

Steve.
========================================================
//Amiga 1200, '060/50, OS3.9, EZ-Tower, Dopus,
// PC Keyboard W EZ-Key, 56K modem, 2+32 Meg,
\\ // NEC 2A Multisync, Logic 3 SpeedMouse, HPDJ610C,
\\/ Sega Controller, & no hair.

=========================================================
A rock pile ceases to be a rock pile the moment a single man contemplates it, bearing within him the image of a cathedral.
-- Antoine de Saint-Exupery

---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie