Click here to Skip to main content
15,887,083 members
Home / Discussions / C#
   

C#

 
GeneralCurious about C# and desktop apps Pin
John Mautari11-Feb-03 3:45
John Mautari11-Feb-03 3:45 
GeneralRe: Curious about C# and desktop apps Pin
Stephane Rodriguez.11-Feb-03 4:14
Stephane Rodriguez.11-Feb-03 4:14 
GeneralRe: Curious about C# and desktop apps Pin
TigerNinja_11-Feb-03 8:18
TigerNinja_11-Feb-03 8:18 
GeneralRe: Curious about C# and desktop apps Pin
Stephane Rodriguez.11-Feb-03 8:44
Stephane Rodriguez.11-Feb-03 8:44 
GeneralRe: Curious about C# and desktop apps Pin
jpwkeeper11-Feb-03 9:01
jpwkeeper11-Feb-03 9:01 
GeneralRe: Curious about C# and desktop apps Pin
John Mautari11-Feb-03 9:34
John Mautari11-Feb-03 9:34 
GeneralRe: Curious about C# and desktop apps Pin
Furty12-Feb-03 19:59
Furty12-Feb-03 19:59 
GeneralError Creating Window Handle Pin
jpwkeeper11-Feb-03 1:51
jpwkeeper11-Feb-03 1:51 
I'm having a problem where I run out of window handles, even though the number seems to be within the realm of the sane.

What I'm doing is creating a scrollable list of bar charts. The bar charts are interactive, so what I did was make each bar a separate control. This made selecting, floating tooltips, and many other things very easy. They're built dynamically. I was very proud of this idea.

Now, I have 100 bar charts, with 108 bars (in this case) each and say 12 other controls per chart (may be slightly less than that). That only amounts to 12,000 window handles, which even on 95/98 should be OK and I'm running XP Pro. I can't imagine that my main app window is using over 4,384 window handles.

When I hit my AddRange, I run out of window handles and get "Error Creating Window Handle".

I can't even do this with 50 charts. Any ideas on how to work around this without having to re-write my bar graph displays? Also, any idea on how spy on my application's window handle usage so I can determine exactly what I'm up against?

John Woodard
GeneralRe: Error Creating Window Handle Pin
perlmunger11-Feb-03 5:00
perlmunger11-Feb-03 5:00 
GeneralRe: Error Creating Window Handle Pin
leppie11-Feb-03 6:05
leppie11-Feb-03 6:05 
GeneralRe: Error Creating Window Handle Pin
jpwkeeper11-Feb-03 8:57
jpwkeeper11-Feb-03 8:57 
GeneralRe: Error Creating Window Handle Pin
leppie11-Feb-03 9:35
leppie11-Feb-03 9:35 
GeneralRe: Error Creating Window Handle Pin
leppie11-Feb-03 9:39
leppie11-Feb-03 9:39 
GeneralAccesing a CORBA object from C# Pin
Giles11-Feb-03 0:57
Giles11-Feb-03 0:57 
GeneralTreeNode Pin
sss_dr11-Feb-03 0:40
sss_dr11-Feb-03 0:40 
GeneralRe: TreeNode Pin
Stephane Rodriguez.11-Feb-03 0:46
Stephane Rodriguez.11-Feb-03 0:46 
GeneralRe: TreeNode Pin
Jim Stewart14-Feb-03 6:45
Jim Stewart14-Feb-03 6:45 
Generalc# LDAP Pin
Member 97442011-Feb-03 0:14
Member 97442011-Feb-03 0:14 
GeneralRe: c# LDAP Pin
Richard Deeming11-Feb-03 0:23
mveRichard Deeming11-Feb-03 0:23 
GeneralWebResponse/WebRequest problem Pin
Keith Iveson11-Feb-03 0:06
Keith Iveson11-Feb-03 0:06 
GeneralRe: WebResponse/WebRequest problem Pin
Chad Young11-Feb-03 2:36
Chad Young11-Feb-03 2:36 
GeneralRe: WebResponse/WebRequest problem Pin
Keith Iveson11-Feb-03 22:33
Keith Iveson11-Feb-03 22:33 
GeneralRe: WebResponse/WebRequest problem Pin
John Mautari11-Feb-03 3:10
John Mautari11-Feb-03 3:10 
GeneralRe: WebResponse/WebRequest problem Pin
Keith Iveson11-Feb-03 22:40
Keith Iveson11-Feb-03 22:40 
GeneralRe: WebResponse/WebRequest problem Pin
John Mautari12-Feb-03 0:00
John Mautari12-Feb-03 0:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.