Click here to Skip to main content
15,912,932 members
Home / Discussions / C#
   

C#

 
AnswerRe: WebDAV Pin
#realJSOP28-Dec-09 23:58
professional#realJSOP28-Dec-09 23:58 
QuestionWith regard to "csexwb" lost in the new tab window document.referrer Pin
590240@qq.com28-Dec-09 20:18
590240@qq.com28-Dec-09 20:18 
AnswerRe: With regard to "csexwb" lost in the new tab window document.referrer Pin
Abhinav S28-Dec-09 20:41
Abhinav S28-Dec-09 20:41 
QuestionTimeout for an operation Pin
faheemnadeem28-Dec-09 19:27
faheemnadeem28-Dec-09 19:27 
AnswerRe: Timeout for an operation Pin
Ben Fair29-Dec-09 3:02
Ben Fair29-Dec-09 3:02 
QuestionInterface Colllection Pin
Isaac Gordon28-Dec-09 19:15
Isaac Gordon28-Dec-09 19:15 
AnswerRe: Interface Colllection Pin
Abhinav S28-Dec-09 19:23
Abhinav S28-Dec-09 19:23 
QuestionDragging to Resize A Control Pin
Roger Wright28-Dec-09 19:09
professionalRoger Wright28-Dec-09 19:09 
I'm taking a brief break from my Recloser project to try a custom control.   For many years I've wanted to build a scheduling app that actually works, something like Project, except that it would be usable. The stumbling block was always in developing a nice Gannt chart control with the little triangles at the edges, a rectangle to show the task duration, and a contrasting rectangle to show progress, all of which had to be draggable (yeah, I know that's not a word, but it works here). For a decade I tried with MFC to do it, but remain stumped; the GDI+ functions in the .Net Framework seem ideal for the task and I've been reading about them. I need a break from the other task, so I started this one tonight.

I've got as far as creating a container, sizing it, and populating it with the graphical elements for the display. Tomorrow I plan to start trying to Draw the elements and maybe delve into mouse interaction a bit.   But I'm stuck on a proper approach. I see a lot of controls that can be resized at runtime, and the visual elements change size or positions as the mouse moves. I have a fair idea how to make the elements change one time - after a drag - by recalculating all the parameters on a Mouse_up event.   But I don't have any idea how to implement a method that continuously updates the screen as the item is dragged by the mouse.

Can someone point me to a tutorial or example of implementing this behavior?

"A Journey of a Thousand Rest Stops Begins with a Single Movement"

AnswerRe: Dragging to Resize A Control Pin
dan!sh 28-Dec-09 19:26
professional dan!sh 28-Dec-09 19:26 
QuestionHello Pin
levan omadze28-Dec-09 19:08
levan omadze28-Dec-09 19:08 
AnswerRe: Hello Pin
Roger Wright28-Dec-09 19:21
professionalRoger Wright28-Dec-09 19:21 
AnswerRe: Hello Pin
dan!sh 28-Dec-09 19:32
professional dan!sh 28-Dec-09 19:32 
QuestionHello Pin
levan omadze28-Dec-09 19:05
levan omadze28-Dec-09 19:05 
QuestionHow to store PIXEL VALUES in ARRAY? Pin
meetmak28-Dec-09 18:54
meetmak28-Dec-09 18:54 
AnswerRe: How to store PIXEL VALUES in ARRAY? Pin
dan!sh 28-Dec-09 19:21
professional dan!sh 28-Dec-09 19:21 
GeneralRe: How to store PIXEL VALUES in ARRAY? Pin
meetmak29-Dec-09 1:14
meetmak29-Dec-09 1:14 
GeneralRe: How to store PIXEL VALUES in ARRAY? Pin
dan!sh 29-Dec-09 3:32
professional dan!sh 29-Dec-09 3:32 
AnswerRe: How to store PIXEL VALUES in ARRAY? Pin
Abhinav S28-Dec-09 19:27
Abhinav S28-Dec-09 19:27 
GeneralRe: How to store PIXEL VALUES in ARRAY? Pin
meetmak29-Dec-09 1:12
meetmak29-Dec-09 1:12 
GeneralRe: How to store PIXEL VALUES in ARRAY? Pin
meetmak29-Dec-09 1:13
meetmak29-Dec-09 1:13 
AnswerRe: How to store PIXEL VALUES in ARRAY? Pin
Keith Barrow29-Dec-09 0:00
professionalKeith Barrow29-Dec-09 0:00 
GeneralRe: How to store PIXEL VALUES in ARRAY? Pin
meetmak29-Dec-09 1:08
meetmak29-Dec-09 1:08 
QuestionError while declaring Interfaces regarding HRESULT Pin
giji gangadharan28-Dec-09 17:20
giji gangadharan28-Dec-09 17:20 
AnswerRe: Error while declaring Interfaces regarding HRESULT Pin
Ben Fair29-Dec-09 3:58
Ben Fair29-Dec-09 3:58 
QuestionChanging registry settings through .Net app Pin
Anindya Chatterjee28-Dec-09 17:02
Anindya Chatterjee28-Dec-09 17:02 

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.