adding components ....

  • Thread starter Thread starter temp2
  • Start date Start date
T

temp2

Hello,

I'm wanting to add 320,000 controls(Panels) to an instantiated Panel
object. Yes, you heard me right, 320,000. It's for displaying a
320,000 int buffer memory status. Long story. Anyway, the controls
Add() method is way to slow for this. AddRange() isn't any better.
Probably adding that many little Panels to the controls array for the
main Panel is problematic. Anybody got any better ideas?

TIA
 
Yeah I second that motion. It's ridiculous. I don't even know if an
average size screen has 320000 pixels on it... But if it does, you can
turn on and off every pixel, using a library function that I'm sure is
available...

RL
 
raylopez99 said:
Yeah I second that motion. It's ridiculous. I don't even know if an
average size screen has 320000 pixels on it

1024x768 (that is rather small these days) would have, well, approx.
768,000 pixels already. <g>

But 320,000+ panels would bring the system down, no doubt. I doubt
Windows can handle so many windows. <g>
--
Rudy Velthuis http://rvelthuis.de

"Sometimes I lie awake at night, and I ask, 'Where have I gone
wrong?' Then a voice says to me, 'This is going to take more
than one night.'" -- Charlie Brown.
 
Back
Top