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 #31906 is a reply to message #31893] Sun, 25 August 2002 10:55 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
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.

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[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: Sun Oct 12 13:37:42 PDT 2025

Total time taken to generate the page: 0.48135 seconds