Click here to Skip to main content
15,888,454 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: what is tab area? Pin
CPallini22-Oct-09 23:23
mveCPallini22-Oct-09 23:23 
GeneralRe: what is tab area? Pin
jianzhuhuai23-Oct-09 5:14
jianzhuhuai23-Oct-09 5:14 
QuestionRe: what is tab area? Pin
David Crow23-Oct-09 2:59
David Crow23-Oct-09 2:59 
QuestionWriting contacts into outlook Pin
Anil Kumar.Arvapalli22-Oct-09 21:56
Anil Kumar.Arvapalli22-Oct-09 21:56 
AnswerRe: Writing contacts into outlook [modified] Pin
Nuri Ismail22-Oct-09 22:10
Nuri Ismail22-Oct-09 22:10 
AnswerRe: Writing contacts into outlook Pin
Kushagra Tiwari23-Oct-09 0:37
Kushagra Tiwari23-Oct-09 0:37 
Questionfind angle Pin
ankit_akku22-Oct-09 21:48
ankit_akku22-Oct-09 21:48 
AnswerRe: find angle Pin
Iain Clarke, Warrior Programmer22-Oct-09 22:20
Iain Clarke, Warrior Programmer22-Oct-09 22:20 
Your question is short, but the answer heavily depends on how much math knowledge you have.

Possibly the biggest tip I can give anyone who ever wants to deal with graphics is to go back you your end-of-school (ie A-level) math books, and learn about matrices (matrix-es) and vectors. It's fine if you don't know it now. If you are unwilling or unable to do this, quit now and start learning how to say "would you like fries with that?".

That said, the following will help, I think:
Angle between vectors[^]

For a more complex dragging about of shapes, have a look at the following, superbly written and illustrated, article:
Warping Coordinates with Matrices[^] by me!

If you don't already know about it, I'd advise you learn about SetROP2(R2_NOT) for your mouse handling code, to draw / undraw tracking lines.

I hope that helps steer you in the right direction. A more exact answer would depend on the details of your application and skill level.

Good luck,

Iain.

I have now moved to Sweden for love (awwww).
If you're in Scandinavia and want an MVP on the payroll (or happy with a remote worker), or need contract work done, give me a job! http://cv.imcsoft.co.uk/[^]

AnswerRe: find angle Pin
theCPkid22-Oct-09 22:46
theCPkid22-Oct-09 22:46 
JokeRe: find angle Pin
Cedric Moonen22-Oct-09 22:56
Cedric Moonen22-Oct-09 22:56 
JokeRe: find angle Pin
CPallini22-Oct-09 23:15
mveCPallini22-Oct-09 23:15 
AnswerRe: find angle Pin
Chris Losinger23-Oct-09 4:41
professionalChris Losinger23-Oct-09 4:41 
Questionfatal error LNK1120: 1 unresolved externals [modified] Pin
NarVish22-Oct-09 21:29
NarVish22-Oct-09 21:29 
AnswerRe: fatal error LNK1120: 1 unresolved externals Pin
theCPkid22-Oct-09 21:46
theCPkid22-Oct-09 21:46 
QuestionRe: fatal error LNK1120: 1 unresolved externals Pin
Nuri Ismail22-Oct-09 21:48
Nuri Ismail22-Oct-09 21:48 
AnswerRe: fatal error LNK1120: 1 unresolved externals Pin
NarVish22-Oct-09 22:00
NarVish22-Oct-09 22:00 
AnswerRe: fatal error LNK1120: 1 unresolved externals Pin
NarVish23-Oct-09 1:41
NarVish23-Oct-09 1:41 
GeneralRe: fatal error LNK1120: 1 unresolved externals Pin
Hans Dietrich23-Oct-09 3:03
mentorHans Dietrich23-Oct-09 3:03 
QuestionHow to i send files to a network printer without opening the files. Pin
yoga_s22-Oct-09 19:27
yoga_s22-Oct-09 19:27 
AnswerRe: How to i send files to a network printer without opening the files. Pin
David Crow23-Oct-09 3:05
David Crow23-Oct-09 3:05 
QuestionHiding the edit control box in MFC Pin
DevelopmentNoob22-Oct-09 17:53
DevelopmentNoob22-Oct-09 17:53 
AnswerRe: Hiding the edit control box in MFC Pin
Adam Roderick J22-Oct-09 18:01
Adam Roderick J22-Oct-09 18:01 
AnswerRe: Hiding the edit control box in MFC Pin
Randor 22-Oct-09 18:03
professional Randor 22-Oct-09 18:03 
GeneralRe: Hiding the edit control box in MFC Pin
DevelopmentNoob22-Oct-09 19:02
DevelopmentNoob22-Oct-09 19:02 
GeneralRe: Hiding the edit control box in MFC Pin
Rajesh R Subramanian22-Oct-09 20:58
professionalRajesh R Subramanian22-Oct-09 20:58 

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.