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

Home » Public Forums » archive » Re: max # pixmaps in MSWin IDL 5.5?
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: max # pixmaps in MSWin IDL 5.5? [message #31877 is a reply to message #31874] Tue, 27 August 2002 07:40 Go to previous messageGo to previous message
Liam E. Gumley is currently offline  Liam E. Gumley
Messages: 378
Registered: January 2000
Senior Member
Dick Jackson wrote:
>
> Hi Dave,
>
> "David Fanning" <david@dfanning.com> wrote in message
> news:MPG.17d2c7f3f8fbd16398997a@news.frii.com...
>> Craig Hamilton (someone@microsoft.com) writes:
>>
>>> I want to allocate a lot of pixmaps using
>>> window,/pixmap,xsize=128,ysize=128,/free
>>>
>>> Is there a limit to the number of pixmaps using IDL 5.5
>>> under MSWindows 2000? I get an 'unable to create pixmap'
>>> error after !d.window reaches 364 (although this number varies).
>>>
>>> I have 768MB of RAM, so I am not running out of memory. So far
>>> in the docs, I have just found that it says you can create 'a large
>>> number' of pixmaps.
>>
>> The reason for the hand-waving is that the number of pixmaps
>> you can create is a function of your graphics card and how
>> "smart" it is.
>>
>> To get around this limitation, I use unmapped draw widgets
>> (wrapped up in an object, of course, for easy accessibility).
>> You can have a lot more of these kinds of windows than you
>> can have pixmaps, and they serve exactly the same function.
>
> Really?! That's gotta be the best idea I've heard in a while! I guess
> you wrote TV, TVRD and "Device, Copy" methods for handy I/O? I've been
> pushing some unpredictable limits with pixmaps lately, and your idea
> might be just the ticket. Sounds easy enough to write, just thought I'd
> ask if I'm on the right track.

Sounds like a good idea to me. In fact it would be great to have a
generic window object with these methods, and the ability to be visible
(mapped) or invisible (unmapped). I'd also vote for a 'frame'capability,
where each window has a number of built-in frames that you can step
through or animate.

Cheers,
Liam.
Practical IDL Programming
http://www.gumley.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: replacement for insight
Next Topic: call_external: passing string from IDL to C

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

Current Time: Sat Oct 11 13:15:14 PDT 2025

Total time taken to generate the page: 0.00853 seconds