NTLK PROG Q: how to display PICT resource

From: Jim Witte (jswitte@bloomington.in.us)
Date: Fri May 05 2000 - 15:45:58 CDT


  I want to import a PICT resource as a SHAPE, for use with HitShape.
I've got the following commands in the Project Data file:

OpenResFile(HOME&"Quickwriting.rsrc");
DefConst('kPicture, GetNamedResource("PICT", "mapBw", 'picture));
CloseResFile();

Then in a viewClickScript, I call DrawShape(kPicture,<style frame>), and
at run-time it gives me a an error -8804, which the Inspector says is
evt.ex.graf. I assume this means I can't display a 'picture object from
a resource using DrawShape?

  BTW, the project this is for is a version of Quickwriting for the Newton.

Jim
******************************************
This NewtonTalk Message brought to you by:

EVOTE.COM, the ESPN of Politics on the
Internet. Visit EVOTE.COM for all the latest
news on Campaign 2000!

Visit http://www.evote.com today!

******************************************

Need Subscribe/Unsubscribe Info?
visit http://www.planetnewton.com

******************************************



This archive was generated by hypermail 2b29 : Thu Jun 01 2000 - 00:00:07 CDT