Filer_OpenDir WIMP message

Tony van der Hoff tony at mk-net.demon.co.uk
Sun Mar 31 11:01:37 BST 2002


On 28 Mar 2002, in message <1017332619.29719.32.camel at fridge>,
Jonathan Wright <jwright at teamenergy.com> wrote:

> Hi,
> 
> I am trying to send a Filer_OpenDir WIMP message using OSLib but I can't
> see how to build the message in the first place. I've tried using the
> struct in filer.h (filer_open_dir_message) and casting it to a
> wimp_message but I am obviously missing a fundamental point.
> 
I assume you meant filer_message_open_dir, as the one you mention doesn't
exist. In fact, even that message structure is deprecated, as it does not
contain the message header; it is only present for legacy purposes. The
structure you require is filer_full_message_open_dir. You'll need to
initialise the header appropriately, and make the cast as you describe.

> I would say that I was a novice C programmer but intermediate at Java.
> My general RISC OS knowledge is good.
> 
> Any help would be gratefully received.
> 
HTH. Could you please address any further queries to the OSLib-user
maillist, so that there is a chance of your query being dealt with even when
I'm away, like last week.
 
> Regards, Jon Wright
> 
Cheers, Tony

-- 
Tony van der Hoff         | MailTo:tony at mk-net.demon.co.uk
                          | MailTo:avanderhoff at iee.org
Buckinghamshire, England  | http:www.mk-net.demon.co.uk



More information about the oslib-user mailing list