Click here to Skip to main content
15,891,372 members

Comments by ChewsHumans (Top 5 by date)

ChewsHumans 3-Jan-12 20:47pm View    
Ah, sorry, I misunderstood. Thanks for your help.
ChewsHumans 3-Jan-12 14:11pm View    
That worked! Many thanks: I've been tearing my hair out over this one. One question though. Shouldn't you provide a hotfix or something? Like, modify the Control.OnSizeChanged function in the framework to, for example, keep a count of the recursion and use BeginInvoke() automatically when the limit is reached? Because doing it for a single control in the heirarchy will only help for a specific application. When I write another application, I will have to do it again, because the nesting will be different. I might not be using panels, for example, or the panels might be close to the surface or really deep in.
ChewsHumans 1-Jan-12 10:41am View    
While that is an interesting project - and one which I may use in my own applications - it's purpose is not to replace the docking functionality in Windows Forms, but rather to allow panels to be docked, tabbed and floated in a similar manner to Visual Studio tool windows. Useful yes, but nothing to do with the problem I'm having. Thanks for suggesting it - as I say, I may find it useful, but it doesn't help with my problem.
ChewsHumans 1-Jan-12 10:38am View    
Yes, you make valid points. However, I don't believe the designer is to blame for this issue. I think there is a bug in the framework layout code itself.

Incidentally, the demo (if you would care to take a look - I provided an executable) already has colour-coded backgrounds. Granted there's a lot of duplication of colours, but I arranged them to avoid confusion.
ChewsHumans 31-Dec-11 18:43pm View    
Well, I've looked until my eyes bleed, and found nothing. I suppose you couldn't have a glance at the project and see if anything occurs to you? I'd appreciate it.