Click here to Skip to main content
15,915,509 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CString to char conversion Pin
hithesh20-Apr-05 10:38
hithesh20-Apr-05 10:38 
GeneralRe: CString to char conversion Pin
ThatsAlok20-Apr-05 17:51
ThatsAlok20-Apr-05 17:51 
GeneralGrab Webpage to clipboard (as bitmap) Pin
Mathefreak19-Apr-05 23:11
Mathefreak19-Apr-05 23:11 
GeneralRe: Grab Webpage to clipboard (as bitmap) Pin
Sheng Jiang 蒋晟20-Apr-05 13:19
Sheng Jiang 蒋晟20-Apr-05 13:19 
Questionhow to make lines visible all the time!! Pin
mafuza19-Apr-05 23:03
mafuza19-Apr-05 23:03 
AnswerRe: how to make lines visible all the time!! Pin
Cedric Moonen19-Apr-05 23:15
Cedric Moonen19-Apr-05 23:15 
GeneralRe: how to make lines visible all the time!! Pin
mafuza21-Apr-05 22:13
mafuza21-Apr-05 22:13 
GeneralRe: how to make lines visible all the time!! Pin
Cedric Moonen21-Apr-05 22:18
Cedric Moonen21-Apr-05 22:18 
What you can do is on the LButtonDown event, take the coordinates of the lines and store them somewhere (in your view or doc, I think document is better because it is designed for containing the data). Then invalidate the view (I think by calling Invalidate but not sure anymore), this will force your window to be redrawn (and will call OnDraw). Then in the OnDraw function, you draw all the lines that you have stored.

But there is an example of exactly the same case in the MSDN I think. This is called the scribble example (but I'm not sure)...
GeneralAutomatic Proxy URL Pin
Geert van Horrik19-Apr-05 22:05
Geert van Horrik19-Apr-05 22:05 
GeneralChange text color in static (ATL+MFC) problem Pin
AdyOS19-Apr-05 21:43
AdyOS19-Apr-05 21:43 
GeneralRe: Change text color in static (ATL+MFC) problem Pin
Geert van Horrik19-Apr-05 22:05
Geert van Horrik19-Apr-05 22:05 
GeneralRe: Change text color in static (ATL+MFC) problem Pin
AdyOS19-Apr-05 22:22
AdyOS19-Apr-05 22:22 
GeneralRe: Change text color in static (ATL+MFC) problem Pin
David Crow20-Apr-05 2:30
David Crow20-Apr-05 2:30 
Generalline color of statistic Pin
ThinkingPrometheus19-Apr-05 21:34
ThinkingPrometheus19-Apr-05 21:34 
Generalconvert string to double or string to ascii Pin
nehathoma19-Apr-05 19:18
nehathoma19-Apr-05 19:18 
GeneralRe: convert string to double or string to ascii Pin
22491719-Apr-05 19:31
22491719-Apr-05 19:31 
Generalconversion string double or string to ascci Pin
shaans19-Apr-05 19:17
shaans19-Apr-05 19:17 
GeneralRe: conversion string double or string to ascci Pin
Christian Graus19-Apr-05 19:25
protectorChristian Graus19-Apr-05 19:25 
GeneralGetting the extent of Text with a seleted Font!! in VC++ Pin
ashwinder19-Apr-05 19:13
ashwinder19-Apr-05 19:13 
GeneralRe: Getting the extent of Text with a seleted Font!! in VC++ Pin
David Crow20-Apr-05 2:35
David Crow20-Apr-05 2:35 
QuestionHow to statically bind (link) an "ocx"? Pin
Jahfer V P19-Apr-05 19:03
sussJahfer V P19-Apr-05 19:03 
AnswerRe: How to statically bind (link) an "ocx"? Pin
22491719-Apr-05 20:11
22491719-Apr-05 20:11 
AnswerRe: How to statically bind (link) an "ocx"? Pin
Trollslayer19-Apr-05 23:39
mentorTrollslayer19-Apr-05 23:39 
QuestionProblem with Undo??? Pin
Azghar Hussain19-Apr-05 18:30
professionalAzghar Hussain19-Apr-05 18:30 
AnswerRe: Problem with Undo??? Pin
22491719-Apr-05 19:05
22491719-Apr-05 19:05 

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.