Click here to Skip to main content
16,005,236 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Answeroops. i definately blew it Pin
closecall18-May-04 18:06
closecall18-May-04 18:06 
GeneralRe: oops. i definately blew it Pin
Curi0us_George18-May-04 18:14
Curi0us_George18-May-04 18:14 
GeneralRe: oops. i definately blew it Pin
Maxwell Chen18-May-04 18:35
Maxwell Chen18-May-04 18:35 
AnswerTemplate Specialisation Pin
Andrew Walker18-May-04 19:03
Andrew Walker18-May-04 19:03 
AnswerRe: how to get variable type Pin
toxcct18-May-04 22:18
toxcct18-May-04 22:18 
AnswerRe: how to get variable type Pin
Anthony_Yio18-May-04 22:20
Anthony_Yio18-May-04 22:20 
AnswerRe: how to get variable type Pin
David Crow19-May-04 4:04
David Crow19-May-04 4:04 
Generaldrawing while clicking Pin
kfaday18-May-04 14:27
kfaday18-May-04 14:27 
i'm starting with MFC and drawing
i want to draw a consistent line when i click the mouse (with the function OnMouseMove). i tried with this, but it's not quite the result i want.

<br />
		CClientDC dc(this);<br />
		dc.MoveTo(point.x,point.y);<br />
		dc.LineTo(point.x+1,point.y+1);<br />


this is also not nice:

<br />
CClientDC dc(this);<br />
dc.Rectangle(point.x,point.y,point.x+2,point.y+2);


any ideas?
thanks!!!
GeneralRe: drawing while clicking Pin
Christian Graus18-May-04 18:30
protectorChristian Graus18-May-04 18:30 
GeneralRe: drawing while clicking Pin
kfaday19-May-04 3:06
kfaday19-May-04 3:06 
GeneralRe: drawing while clicking Pin
Christian Graus19-May-04 11:38
protectorChristian Graus19-May-04 11:38 
GeneralRe: drawing while clicking Pin
kfaday19-May-04 14:41
kfaday19-May-04 14:41 
GeneralNEW AT FUNCTIONS, PLEASE HELP, URGETNT Pin
ashrafak18-May-04 13:07
ashrafak18-May-04 13:07 
GeneralRe: NEW AT FUNCTIONS, PLEASE HELP, URGETNT Pin
Pablo Hernandez Valdes18-May-04 15:03
Pablo Hernandez Valdes18-May-04 15:03 
GeneralRe: NEW AT FUNCTIONS, PLEASE HELP, URGETNT Pin
Christian Graus18-May-04 18:31
protectorChristian Graus18-May-04 18:31 
GeneralOverloading operator== in derived classes Pin
Wheatbread18-May-04 11:55
Wheatbread18-May-04 11:55 
GeneralRe: Overloading operator== in derived classes Pin
kfaday18-May-04 15:19
kfaday18-May-04 15:19 
GeneralRe: Overloading operator== in derived classes Pin
Wheatbread19-May-04 4:50
Wheatbread19-May-04 4:50 
QuestionWhere AM I ? Pin
john john mackey18-May-04 11:52
john john mackey18-May-04 11:52 
AnswerRe: Where AM I ? Pin
Garth J Lancaster18-May-04 12:05
professionalGarth J Lancaster18-May-04 12:05 
GeneralRe: Where AM I ? Pin
vcplusplus18-May-04 12:23
vcplusplus18-May-04 12:23 
GeneralRe: Where AM I ? Pin
Garth J Lancaster18-May-04 12:29
professionalGarth J Lancaster18-May-04 12:29 
GeneralRe: Where AM I ? Pin
john john mackey18-May-04 13:17
john john mackey18-May-04 13:17 
QuestionExceptions after building for Release, but building for Debug mode is OK? Pin
jerry1211a18-May-04 11:12
jerry1211a18-May-04 11:12 
AnswerRe: Exceptions after building for Release, but building for Debug mode is OK? Pin
Marcus Spitzmiller18-May-04 12:53
Marcus Spitzmiller18-May-04 12:53 

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.