Cursors - Resize columns

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I trying to understand how to have a column spliter cursor with a dashed line
drawn down indicating the current size of the column depending on where the
splitter cursor is. I want this to be like a crusor so I don't have to
repaint my control as the line moves. Any references or code?
 
Dennis,

Can you rewrite your message, probably you are meaning the splitter control
and for that the point where that exist in the form. For that you need the
panel side where it exist, however I am not sure if that is your question,

Cor
 
I can get the splitter cursor to show when the mouse moves over the column
boundary. However, I also want to draw a vertical line from the cursor
(Vsplit cursor) to the bottom of the control and have it move with the cursor
in the mouse move event either left or right as the Vsplit cursor moves. I
know I can draw a vertical line on the graphics object for the control but I
don't want to have to repaint the control whenever the vertical line and
Vsplit cursor move.
 
Dennis,

When I was you I would ask this question in the small but active newsgroup

microsoft.public.dotnet.framework.drawing

Cor
 
Thanks..I'll give that news group a try. I think I've got it figured out
though using BitBlt routine. Copy the rectangle under which I will draw the
line (or slim rectangle) to a bitmap then redraw the bitmap on the graphics
object when the line is moved to recreate the original pixels under the
original line.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top