Click here to Skip to main content
15,910,981 members
Home / Discussions / C#
   

C#

 
GeneralRe: Bolt hscrollbar to a picturebox Pin
Dave Kreskowiak20-Jan-09 8:09
mveDave Kreskowiak20-Jan-09 8:09 
GeneralRe: Bolt hscrollbar to a picturebox Pin
pcjd6320-Jan-09 8:21
pcjd6320-Jan-09 8:21 
GeneralRe: Bolt hscrollbar to a picturebox Pin
Dave Kreskowiak20-Jan-09 9:58
mveDave Kreskowiak20-Jan-09 9:58 
GeneralRe: Bolt hscrollbar to a picturebox Pin
pcjd6320-Jan-09 10:34
pcjd6320-Jan-09 10:34 
GeneralRe: Bolt hscrollbar to a picturebox Pin
Dave Kreskowiak20-Jan-09 11:04
mveDave Kreskowiak20-Jan-09 11:04 
GeneralRe: Bolt hscrollbar to a picturebox Pin
pcjd6320-Jan-09 11:22
pcjd6320-Jan-09 11:22 
GeneralRe: Bolt hscrollbar to a picturebox Pin
Dave Kreskowiak20-Jan-09 13:40
mveDave Kreskowiak20-Jan-09 13:40 
GeneralRe: Bolt hscrollbar to a picturebox Pin
pcjd6321-Jan-09 2:37
pcjd6321-Jan-09 2:37 
<if you="re handling the mouse click of the inner panel, no matter where you click on it, repeatedly, the mouse coord" s="" will="" not="" change="" with="" the="" scrolling="" of="" outer="" panel.="">

Eactly, this is what I'm trying to get round by using hscrollbar, as by using Autoscroll=true, there is no way to get the scrollbar position (offset)

<next,>

Doesn't make any difference whether I fix the panels width, or set it to the image width (all images have the same width anyway)

the 'funky math' is simply the addition of the scrollbar value (hScrollBar1.Value) to the X coodinate of the clicked point.

thanks for your help - lets call it a day

regards

pcjd
QuestionSQL image to pdf in c# Pin
Saamir20-Jan-09 5:50
Saamir20-Jan-09 5:50 
AnswerRe: SQL image to pdf in c# Pin
Dave Kreskowiak20-Jan-09 6:31
mveDave Kreskowiak20-Jan-09 6:31 
GeneralRe: SQL image to pdf in c# Pin
Saamir21-Jan-09 3:39
Saamir21-Jan-09 3:39 
GeneralRe: SQL image to pdf in c# Pin
Dave Kreskowiak21-Jan-09 12:11
mveDave Kreskowiak21-Jan-09 12:11 
AnswerRe: SQL image to pdf in c# Pin
Giorgi Dalakishvili20-Jan-09 6:41
mentorGiorgi Dalakishvili20-Jan-09 6:41 
GeneralRe: SQL image to pdf in c# Pin
Saamir21-Jan-09 3:38
Saamir21-Jan-09 3:38 
GeneralRe: SQL image to pdf in c# Pin
Giorgi Dalakishvili21-Jan-09 4:48
mentorGiorgi Dalakishvili21-Jan-09 4:48 
Question[newbie] generating a new GUID Pin
jon-8020-Jan-09 5:41
professionaljon-8020-Jan-09 5:41 
AnswerRe: [newbie] generating a new GUID Pin
musefan20-Jan-09 5:49
musefan20-Jan-09 5:49 
AnswerRe: [newbie] generating a new GUID Pin
Ennis Ray Lynch, Jr.20-Jan-09 9:56
Ennis Ray Lynch, Jr.20-Jan-09 9:56 
GeneralRe: [newbie] generating a new GUID Pin
jon-8020-Jan-09 10:05
professionaljon-8020-Jan-09 10:05 
GeneralRe: [newbie] generating a new GUID Pin
Guffa20-Jan-09 11:06
Guffa20-Jan-09 11:06 
GeneralRe: [newbie] generating a new GUID Pin
PIEBALDconsult21-Jan-09 5:51
mvePIEBALDconsult21-Jan-09 5:51 
QuestionIConfigurationSectionHandler Pin
Patrick Skelton20-Jan-09 5:22
Patrick Skelton20-Jan-09 5:22 
AnswerRe: IConfigurationSectionHandler Pin
J4amieC20-Jan-09 5:29
J4amieC20-Jan-09 5:29 
GeneralRe: IConfigurationSectionHandler Pin
Patrick Skelton20-Jan-09 5:59
Patrick Skelton20-Jan-09 5:59 
QuestionReading Data from XML String using XmlDocument [modified] Pin
jl60420-Jan-09 5:17
jl60420-Jan-09 5:17 

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.