How do you obtain Current Window Handle Count and Window Handle Limit in .NET?
I want to obtain the current number of window handles and the system-wide window handle limit in C#. How do I go about this? If you read Raymond Chen's post, you'll probably find it as annoying as I did. You're only "probably doing something wrong" because you're doing something Windows isn't capable of. In my application, the first time a user visits a tab page, I create and lay out all the controls on that page. This takes a noticeable amount of time - there can easily be 50 controls on a page. So I don't discard the controls on a tab page after populating it, if it's at all possible, and