Flowlayoutpanel auto ellipse if some controls are not visible on the screen

I have a flowlayoutpanel with a variable number of items and size(Width) (fixed Height). I want that if the controls in the flowlayoutpanel are not longer visible on the screen, that there come some kind of auto ellipse with the text "More..."

What i mean is that i that for example my flowlayoutpanel = 100px x 20 px, it contains 6 controls with a width of 50px x 10px. In this situation the last two are not visible. I have to replace the 4th control with the text "More..."

Does anybody has a code example or a way to do this?
LVL 2
Tomasz CzyzSystem AdministratorAsked:
Who is Participating?
 
CuteBugConnect With a Mentor Commented:
If you want the FlowLayoutPanel to have custom behaviour, then you need to create your own layout engine(derive it from the LayoutEngine class)

http://msdn.microsoft.com/en-us/library/ms171727.aspx
http://msdn.microsoft.com/en-us/library/ms973821
0
All Courses

From novice to tech pro — start learning today.