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 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: max # pixmaps in MSWin IDL 5.5? [message #31870] Tue, 27 August 2002 13:15
Pavel A. Romashkin is currently offline  Pavel A. Romashkin
Messages: 531
Registered: November 2000
Senior Member
As long as others don't know that it is NATO who your client is, and the
client does not read this NG (cc: df_bosss@nato.mil), I think you need
not worry about your job security :-)
Cheers,
Pavel

David Fanning wrote:
>
> Oh, now wait a minute! Now you are stealing the ideas
> my client is paying me a lot of money to develop! He
> thinks I'm the only one who can come up with this. :-(
>
Re: max # pixmaps in MSWin IDL 5.5? [message #31874 is a reply to message #31870] Tue, 27 August 2002 09:14 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Liam E. Gumley (Liam.Gumley@ssec.wisc.edu) writes:

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

Oh, now wait a minute! Now you are stealing the ideas
my client is paying me a lot of money to develop! He
thinks I'm the only one who can come up with this. :-(

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
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 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/
Re: max # pixmaps in MSWin IDL 5.5? [message #31887 is a reply to message #31877] Mon, 26 August 2002 18:09 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Dick Jackson (dick@d-jackson.com) writes:

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

That would be the idea. :-)

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
Re: max # pixmaps in MSWin IDL 5.5? [message #31893 is a reply to message #31887] Mon, 26 August 2002 15:42 Go to previous message
Dick Jackson is currently offline  Dick Jackson
Messages: 347
Registered: August 1998
Senior Member
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.

Cheers,
--
-Dick

Dick Jackson / dick@d-jackson.com
D-Jackson Software Consulting / http://www.d-jackson.com
Calgary, Alberta, Canada / +1-403-242-7398 / Fax: 241-7392
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
  Switch to threaded view of this topic Create a new topic Submit Reply
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: Wed Oct 08 19:42:35 PDT 2025

Total time taken to generate the page: 0.00653 seconds