G
Guest
Hi
I'm creating a control very similar to the ListView in Details mode. I'm confused as to how to go about drawing the column headers at the top
As the column headers are static and stay in one position (hence, they do not need to be scrolled by the system when the AutoScrollPosition is changed), I do not want to draw them each time the control needs to be repainted or the user scrolls down.
The only way I can think of to do this right now is to create a top-docked panel and use this panel to draw the columns on. However, I'd like to stay away from using any controls and write this control from scratch.
Any ideas
Thanks
Yaron
I'm creating a control very similar to the ListView in Details mode. I'm confused as to how to go about drawing the column headers at the top
As the column headers are static and stay in one position (hence, they do not need to be scrolled by the system when the AutoScrollPosition is changed), I do not want to draw them each time the control needs to be repainted or the user scrolls down.
The only way I can think of to do this right now is to create a top-docked panel and use this panel to draw the columns on. However, I'd like to stay away from using any controls and write this control from scratch.
Any ideas
Thanks
Yaron