comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Wrapper for WIDGET_DRAW
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Wrapper for WIDGET_DRAW [message #16127] Mon, 28 June 1999 00:00
philaldis is currently offline  philaldis
Messages: 32
Registered: March 1999
Member
In this object/direct graphics thing that I'm doing, I've created all
my own direct graphics destination objects. The window object takes a
draw widget ID and is then bound to that. I would really like it
though if I could have a wrapper for WIDGET_DRAW, whereby if
GRPHICS_LEVEL is set to 0, then direct graphics and GET_VALUE returns
a window number, 1, object graphics and GET_VALUE retruns an
IDLgrWindow object and 2, obj/direct graphics and GET_VALUE returns an
DERAgrWindow object.

The problems I am having is that the user still wants to be able to
use Widget_Control to what they think is a draw widget. They don't
want what they think is a draw widget to be in fact a base. I can't
think of any way to store the object I create and the information
about it.

Can anyone think of a way to do this?

Cheers,
Phil
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Passing zero as a Parameter/ NOT KEYWORD_SET
Next Topic: When should objects be used?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 14:00:49 PDT 2025

Total time taken to generate the page: 0.47832 seconds