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

Home » Public Forums » archive » Re: Wrapper for WIDGET_DRAW
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Wrapper for WIDGET_DRAW [message #16095 is a reply to message #16079] Tue, 29 June 1999 00:00 Go to previous message
davidf7203 is currently offline  davidf7203
Messages: 12
Registered: August 1998
Junior Member
Phil Aldis writes:

> 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?

I don't see the problem here. A draw widget is a draw widget whether
is in direct graphics or object graphics. The same keywords still
apply and you still interact with it in the same way. The "thingy"
(my own object-oriented terminology, what do you think?) that you
draw into is the only thing that is different and is set by the
GRAPHICS_LEVEL keyword.

Cheers,

David


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Activating the text window.
Next Topic: Newbie: Some advice needed

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

Current Time: Sun Nov 30 02:59:30 PST 2025

Total time taken to generate the page: 0.80307 seconds