Click here to Skip to main content
15,887,746 members
Home / Discussions / C#
   

C#

 
AnswerRe: Installed software List Pin
Scott Dorman20-Aug-07 17:24
professionalScott Dorman20-Aug-07 17:24 
QuestionC# and MATLAB Pin
TriBerryPowerBar20-Aug-07 15:17
TriBerryPowerBar20-Aug-07 15:17 
AnswerRe: C# and MATLAB Pin
Scott Dorman20-Aug-07 17:23
professionalScott Dorman20-Aug-07 17:23 
QuestionUpdater block - downloading updates from a server Pin
steve_rm20-Aug-07 11:33
steve_rm20-Aug-07 11:33 
QuestionIP Control Pin
Demian Panello20-Aug-07 9:29
Demian Panello20-Aug-07 9:29 
AnswerRe: IP Control Pin
Demian Panello20-Aug-07 10:34
Demian Panello20-Aug-07 10:34 
QuestionLayout /map [modified] Pin
SpiveyC#20-Aug-07 7:49
SpiveyC#20-Aug-07 7:49 
AnswerRe: Layout /map Pin
Christian Graus20-Aug-07 11:00
protectorChristian Graus20-Aug-07 11:00 
This is not a paint program, it's a drawing program. The difference is that when you paint, you leave behind pixels, when you draw, you leave shapes that you can then interact with. Basically, what you want to do is store a collection of a base shape class, and create derived classes for the shapes you draw. Then when you move the mouse, you need to iterate over those shapes to work out if the mouse is over one. If it is, you start using mouse actions to interact with the shape in question. Changing that instance of a shape class, obviously then changes how it is drawn on screen.

GDI+ actually does very little here, each shape knows how to draw itself, and presumably the drawings are not that complex. The real work is in working out what shape the mouse is over, and manipulating it.


Christian Graus - Microsoft MVP - C++

"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

QuestionValidation and closing a dialog Pin
Marc Clifton20-Aug-07 6:03
mvaMarc Clifton20-Aug-07 6:03 
AnswerRe: Validation and closing a dialog Pin
Eduard Keilholz20-Aug-07 6:10
Eduard Keilholz20-Aug-07 6:10 
GeneralRe: Validation and closing a dialog Pin
Marc Clifton20-Aug-07 6:17
mvaMarc Clifton20-Aug-07 6:17 
GeneralRe: Validation and closing a dialog Pin
Marc Clifton20-Aug-07 9:02
mvaMarc Clifton20-Aug-07 9:02 
QuestionListView list importing from .txt/ini file? Pin
Sylenze20-Aug-07 6:01
Sylenze20-Aug-07 6:01 
AnswerRe: ListView list importing from .txt/ini file? Pin
Eduard Keilholz20-Aug-07 6:59
Eduard Keilholz20-Aug-07 6:59 
GeneralRe: ListView list importing from .txt/ini file? Pin
Sylenze20-Aug-07 8:06
Sylenze20-Aug-07 8:06 
AnswerRe: ListView list importing from .txt/ini file? Pin
Luc Pattyn20-Aug-07 13:38
sitebuilderLuc Pattyn20-Aug-07 13:38 
Questioninstall windows fonts Pin
Werdna20-Aug-07 5:56
Werdna20-Aug-07 5:56 
AnswerRe: install windows fonts Pin
Eduard Keilholz20-Aug-07 6:55
Eduard Keilholz20-Aug-07 6:55 
GeneralRe: install windows fonts Pin
Werdna20-Aug-07 13:48
Werdna20-Aug-07 13:48 
AnswerRe: install windows fonts Pin
SpiveyC#20-Aug-07 7:52
SpiveyC#20-Aug-07 7:52 
AnswerRe: install windows fonts Pin
Okultist16-Jun-09 1:24
Okultist16-Jun-09 1:24 
Questionhow to call c#.net dll in vb 6.0 Pin
hk7792120-Aug-07 4:47
hk7792120-Aug-07 4:47 
AnswerRe: how to call c#.net dll in vb 6.0 Pin
Justin Perez20-Aug-07 4:57
Justin Perez20-Aug-07 4:57 
GeneralRe: how to call c#.net dll in vb 6.0 Pin
hk7792120-Aug-07 7:12
hk7792120-Aug-07 7:12 
GeneralRe: how to call c#.net dll in vb 6.0 Pin
Justin Perez20-Aug-07 8:11
Justin Perez20-Aug-07 8:11 

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.