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 in Houston 5 2159
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
"Dennis" <De****@discussions.microsoft.com> 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 in Houston
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.
"Cor Ligthert" wrote: 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
"Dennis" <De****@discussions.microsoft.com>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 in Houston
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.
"Cor Ligthert" wrote: 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
"Dennis" <De****@discussions.microsoft.com>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 in Houston
Dennis,
When I was you I would ask this question in the small but active newsgroup
microsoft.public.dotnet.framework.drawing
Cor
"Dennis" <De****@discussions.microsoft.com> 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.
"Cor Ligthert" wrote:
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
"Dennis" <De****@discussions.microsoft.com> >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 in Houston
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.
"Cor Ligthert" wrote: Dennis,
When I was you I would ask this question in the small but active newsgroup
microsoft.public.dotnet.framework.drawing
Cor
"Dennis" <De****@discussions.microsoft.com>
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.
"Cor Ligthert" wrote:
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
"Dennis" <De****@discussions.microsoft.com> >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 in Houston This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: David Hayes |
last post by:
juglesh <juglesh@nospamRadioKDUG.com> wrote in "Re: how to maximize the
browser window that fits the monitor size?" (Saturday, January 01, 2005 3:12
AM):
>
> >I want to maximize the browser...
|
by: Chad Miller |
last post by:
Why doesn't the listview columns resize automatically after the first time
the listview is populated.
Or if you run the sub twice.
Private Sub LoadLV
lvProjects.SuspendLayout()...
|
by: Just Me |
last post by:
Does Me.Cursor.Current=Cursors.WaitCursor
set the current property of Me.Cursor to Cursors.WaitCursor
And Me.Cursor.Current=Cursors.Default set the Me.Current
property to something (default)...
|
by: garyusenet |
last post by:
I'm following a sql/vb tutorial which contains the following code which
is meant to resize the datagrid view so that the columns take the
correct width for the content within them.
It doesn't...
|
by: Mudcat |
last post by:
I was trying to design a widget that I could drag and drop anywhere in
a frame and then resize by pulling at the edges with the mouse. I have
fiddled with several different approaches and came...
|
by: Jerry |
last post by:
Hi
I have a data grid view that I have AllowUserToResizeColumns = True but at
runtime, the user cannot resize columns.
Is there something I am missing? Is there a conflict with the ability to...
|
by: vbDavidC |
last post by:
I have an unbound grid that is on my form (not created
programmatically). I stretched the size to what I think is wide
enough to accomodate the 6 columns I will be creating. I plan on
making the...
|
by: theamesy |
last post by:
I have a datagridview on a windows form, AllowUserToResizeColumns is
set to false, it has 3 columns, as you'd expect i cant resize the
columns, but i CAN resize the last column?
I have column...
|
by: =?Utf-8?B?UiBSZXllcw==?= |
last post by:
Hi!
This discussion may help other programmers get a better idea of how to save
uploaded images through a website.
Why? Well currently, I save 3 versions of every uploaded image on my own...
|
by: aliviu |
last post by:
I have a DataGridView populated from a DataSource with the code:
Dim dt As New DataTable
dt.Columns.Add("Name")
dt.Columns.Add("Result")
Dim dr As DataRow
...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
|
by: ryjfgjl |
last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
| |