J
Jonathan Boivin
Hi people,
Let me introduce to how I get this error.
I have a form which load all my bills representation depending upon filters
which each bill is a usercontrol of my own having some textboxes containing
bill's datas. (I already replaced the labels by painting the text instead.)
When I click on my filter button, it clears the current usercontrol bills
and load the new ones upon the current chosen filters. The bug happens when
you filter multiple times which doesn't depend on the filters chosen. There
is not precise time when the bug is thrown. My bill usercontrol includes
also two other usercontrols which show the history of the bill and one other
which show furthermore infos. The futhermore infos usercontrol only contains
textboxes and labels (again) had been replaced by text screen printing. The
history controls are a ComboBox I created myself from a ListBox I created
myself from skratch. The ComboBox includes 1 Label, 1 Button and My List
Control. This last one only has a panel control and inherits from
UserControl and it's already disposing all drawing objects (not quite sure
though the disposing is linked to the problem).
From what I see, I think the problem is coming from a number of exceeding
window handle created. (Because when I look into my last created bill
usercontrol, not all the controls within are created). Further, when the bug
just happened (after storing to a log file), I can't open anything else
(external programs I mean) unless I close my own program.
How come can I reach the window handles limit if the first time I load all
bills it doesn't bug, only after a few tries ?
Also, is there a way to know how many window handles are created ?
Thanks,
Jonathan Boivin
Let me introduce to how I get this error.
I have a form which load all my bills representation depending upon filters
which each bill is a usercontrol of my own having some textboxes containing
bill's datas. (I already replaced the labels by painting the text instead.)
When I click on my filter button, it clears the current usercontrol bills
and load the new ones upon the current chosen filters. The bug happens when
you filter multiple times which doesn't depend on the filters chosen. There
is not precise time when the bug is thrown. My bill usercontrol includes
also two other usercontrols which show the history of the bill and one other
which show furthermore infos. The futhermore infos usercontrol only contains
textboxes and labels (again) had been replaced by text screen printing. The
history controls are a ComboBox I created myself from a ListBox I created
myself from skratch. The ComboBox includes 1 Label, 1 Button and My List
Control. This last one only has a panel control and inherits from
UserControl and it's already disposing all drawing objects (not quite sure
though the disposing is linked to the problem).
From what I see, I think the problem is coming from a number of exceeding
window handle created. (Because when I look into my last created bill
usercontrol, not all the controls within are created). Further, when the bug
just happened (after storing to a log file), I can't open anything else
(external programs I mean) unless I close my own program.
How come can I reach the window handles limit if the first time I load all
bills it doesn't bug, only after a few tries ?
Also, is there a way to know how many window handles are created ?
Thanks,
Jonathan Boivin