Click here to Skip to main content
15,896,207 members
Home / Discussions / C#
   

C#

 
QuestionDrawing rectangles - with the mouse. Pin
dennycrane6-Oct-08 13:44
dennycrane6-Oct-08 13:44 
AnswerRe: Drawing rectangles - with the mouse. Pin
Pedram Behroozi6-Oct-08 13:52
Pedram Behroozi6-Oct-08 13:52 
GeneralRe: Drawing rectangles - with the mouse. Pin
Pedram Behroozi6-Oct-08 14:04
Pedram Behroozi6-Oct-08 14:04 
AnswerRe: Drawing rectangles - with the mouse. Pin
Pedram Behroozi6-Oct-08 13:53
Pedram Behroozi6-Oct-08 13:53 
AnswerRe: Drawing rectangles - with the mouse. Pin
Pedram Behroozi6-Oct-08 13:55
Pedram Behroozi6-Oct-08 13:55 
GeneralRe: Drawing rectangles - with the mouse. Pin
dennycrane6-Oct-08 13:56
dennycrane6-Oct-08 13:56 
GeneralRe: Drawing rectangles - with the mouse. Pin
Pedram Behroozi6-Oct-08 14:03
Pedram Behroozi6-Oct-08 14:03 
GeneralRe: Drawing rectangles - with the mouse. Pin
dennycrane6-Oct-08 21:34
dennycrane6-Oct-08 21:34 
GeneralRe: Drawing rectangles - with the mouse. Pin
Pedram Behroozi7-Oct-08 6:29
Pedram Behroozi7-Oct-08 6:29 
AnswerRe: Drawing rectangles - with the mouse. Pin
dan!sh 6-Oct-08 23:26
professional dan!sh 6-Oct-08 23:26 
GeneralRe: Drawing rectangles - with the mouse. Pin
dennycrane7-Oct-08 2:15
dennycrane7-Oct-08 2:15 
GeneralRe: Drawing rectangles - with the mouse. Pin
dan!sh 7-Oct-08 3:24
professional dan!sh 7-Oct-08 3:24 
AnswerRe: Drawing rectangles - with the mouse. Pin
Giorgi Dalakishvili7-Oct-08 0:13
mentorGiorgi Dalakishvili7-Oct-08 0:13 
GeneralRe: Drawing rectangles - with the mouse. Pin
dennycrane7-Oct-08 2:15
dennycrane7-Oct-08 2:15 
Questionhow to show Caret Pin
netJP12L6-Oct-08 9:40
netJP12L6-Oct-08 9:40 
AnswerRe: how to show Caret Pin
led mike6-Oct-08 9:55
led mike6-Oct-08 9:55 
GeneralRe: how to show Caret Pin
netJP12L6-Oct-08 10:13
netJP12L6-Oct-08 10:13 
AnswerRe: how to show Caret Pin
DaveyM696-Oct-08 10:06
professionalDaveyM696-Oct-08 10:06 
GeneralRe: how to show Caret Pin
netJP12L6-Oct-08 10:18
netJP12L6-Oct-08 10:18 
GeneralRe: how to show Caret Pin
DaveyM696-Oct-08 10:34
professionalDaveyM696-Oct-08 10:34 
GeneralRe: how to show Caret Pin
netJP12L6-Oct-08 11:58
netJP12L6-Oct-08 11:58 
QuestionMoving & resizing controls at runtime Pin
Dewald6-Oct-08 9:31
Dewald6-Oct-08 9:31 
AnswerRe: Moving & resizing controls at runtime Pin
DaveyM696-Oct-08 10:09
professionalDaveyM696-Oct-08 10:09 
I think you'll need to capture mouse down, mouse move and mouse up events on the controls and set their Location or Size properties accordingly. To display handles on them you'll need to override their OnPaint methods.

Dave
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)

AnswerRe: Moving & resizing controls at runtime Pin
Hossein Afyuoni6-Oct-08 10:13
Hossein Afyuoni6-Oct-08 10:13 
GeneralRe: Moving & resizing controls at runtime Pin
netJP12L6-Oct-08 10:54
netJP12L6-Oct-08 10:54 

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.