Click here to Skip to main content
15,889,859 members
Home / Discussions / C#
   

C#

 
AnswerRe: how can I manage some links in html page that load with webbrowser within a win app ? Pin
lmoelleb30-May-06 1:33
lmoelleb30-May-06 1:33 
QuestionRe: how can I manage some links in html page that load with webbrowser within a win app ? Pin
Nafiseh Salmani30-May-06 2:47
Nafiseh Salmani30-May-06 2:47 
AnswerRe: how can I manage some links in html page that load with webbrowser within a win app ? Pin
lmoelleb30-May-06 3:16
lmoelleb30-May-06 3:16 
QuestionUrgent Pin
Shiv529-May-06 19:35
Shiv529-May-06 19:35 
AnswerRe: Urgent Pin
Darren_29-May-06 19:48
Darren_29-May-06 19:48 
AnswerRe: Urgent Pin
Colin Angus Mackay29-May-06 20:04
Colin Angus Mackay29-May-06 20:04 
AnswerRe: Urgent Pin
albCode29-May-06 20:58
albCode29-May-06 20:58 
QuestionGetting the ScrollBar offset Pin
Darren_29-May-06 19:19
Darren_29-May-06 19:19 
Hi guys,

I am currently writing a small app that contains an editable ListView based on the one detailed here:

http://www.c-sharpcorner.com/Code/2002/July/EditableListView.asp

I noticed a small bug in the code in case your interested, to correctly work out the column to edit from the x,y values of your mouse the code totals up the column widths to find an x value that matches entry of the bounds for the editable box your mouse clicked in. However, the first column width is already checked before it continues, when it continues it adds the first column width again before checking and therefore messes up if you have different column widths, so the line:


epos += this.Columns[i].Width;

simply needs changed to:


epos += this.Columns[i+1].Width;


Anyway, I have a small problem that has been bugging me for hours now and hope you can help. If the said ListView or any form control for that matter is larger than the size of the form, a scrollbar appears. Therefore when the user clicks on the screen you recieve the x,y coordinates from the top left of the form or part of the control that is visable (not sure myself) so.. is there a way to get the scrollbar offset so you can correctly determine the x,y coordinates even though a portion of the control is not visible?

Any help would be great and thanks for your time

Darren
QuestionHow do i read and Execute a bunch of .Sql at the same time using C# Pin
Shiv529-May-06 18:24
Shiv529-May-06 18:24 
AnswerRe: How do i read and Execute a bunch of .Sql at the same time using C# Pin
KevinMac29-May-06 18:56
KevinMac29-May-06 18:56 
QuestionAdd a control on menu Pin
Dinh Thang29-May-06 17:46
Dinh Thang29-May-06 17:46 
AnswerRe: Add a control on menu Pin
ekynox29-May-06 19:05
ekynox29-May-06 19:05 
QuestionDisplay text using labels -- very slow Pin
printscreen1234529-May-06 16:47
printscreen1234529-May-06 16:47 
AnswerRe: Display text using labels -- very slow Pin
leppie29-May-06 17:03
leppie29-May-06 17:03 
GeneralRe: Display text using labels -- very slow Pin
printscreen1234529-May-06 17:38
printscreen1234529-May-06 17:38 
GeneralRe: Display text using labels -- very slow [modified] Pin
printscreen1234529-May-06 21:52
printscreen1234529-May-06 21:52 
AnswerRe: Display text using labels -- very slow Pin
Robert Rohde29-May-06 19:13
Robert Rohde29-May-06 19:13 
GeneralRe: Display text using labels -- very slow Pin
printscreen1234529-May-06 22:59
printscreen1234529-May-06 22:59 
GeneralRe: Display text using labels -- very slow Pin
Dan Neely30-May-06 2:14
Dan Neely30-May-06 2:14 
GeneralRe: Display text using labels -- very slow [modified] Pin
printscreen1234530-May-06 4:53
printscreen1234530-May-06 4:53 
QuestionTriggo function Pin
Haizzster29-May-06 15:39
Haizzster29-May-06 15:39 
AnswerRe: Triggo function Pin
leppie29-May-06 17:13
leppie29-May-06 17:13 
GeneralRe: Triggo function Pin
Haizzster29-May-06 17:20
Haizzster29-May-06 17:20 
GeneralRe: Triggo function Pin
Dustin Metzgar30-May-06 5:06
Dustin Metzgar30-May-06 5:06 
GeneralRe: Triggo function Pin
Haizzster30-May-06 17:39
Haizzster30-May-06 17:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.