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

C / C++ / MFC

 
GeneralRe: MSN server connection Pin
27-Jun-02 11:08
suss27-Jun-02 11:08 
GeneralCore API Application and manifest Pin
S van Leent27-Jun-02 6:33
S van Leent27-Jun-02 6:33 
QuestionHow to write burning program for CDR! Pin
sunghj27-Jun-02 6:07
sunghj27-Jun-02 6:07 
AnswerRe: How to write burning program for CDR! Pin
Christian Graus27-Jun-02 13:32
protectorChristian Graus27-Jun-02 13:32 
AnswerRe: How to write burning program for CDR! Pin
Mike Nordell28-Jun-02 9:16
Mike Nordell28-Jun-02 9:16 
GeneralGetting the Device Context Pin
JennyP27-Jun-02 6:03
JennyP27-Jun-02 6:03 
GeneralRe: Getting the Device Context Pin
Roger Allen27-Jun-02 6:20
Roger Allen27-Jun-02 6:20 
GeneralRe: Getting the Device Context Pin
JennyP27-Jun-02 6:30
JennyP27-Jun-02 6:30 
Hi Roger,

Thanks for the reply.

I found that the custom draw DC is the 'correct' one that gives proper proportions, while the other is the 'bad' one.

How do I get the DC from the control? I thought I was already doing it by its position in the code? I have tried

CDC* pDC = CGoalsListView::GetDC(); // with resolution operator

but that didn't work. I've tried to extract it from the

void CGoalsListView::OnBeginlabeledit(NMHDR* pNMHDR, LRESULT* pResult)

header, but I was unable to find it.

Any suggestions? Thanks! JP


Jon Paul
GeneralRe: Getting the Device Context Pin
Roger Allen27-Jun-02 6:37
Roger Allen27-Jun-02 6:37 
GeneralRe: Getting the Device Context Pin
JennyP27-Jun-02 7:13
JennyP27-Jun-02 7:13 
GeneralSimple String Conversion Pin
Ryan B.27-Jun-02 5:05
Ryan B.27-Jun-02 5:05 
GeneralRe: Simple String Conversion Pin
Le centriste27-Jun-02 5:18
Le centriste27-Jun-02 5:18 
GeneralRe: Simple String Conversion Pin
Ryan B.27-Jun-02 5:36
Ryan B.27-Jun-02 5:36 
GeneralRe: Simple String Conversion Pin
Le centriste27-Jun-02 7:36
Le centriste27-Jun-02 7:36 
QuestionHow do I find the task bar color Pin
Rama Krishna Vavilala27-Jun-02 4:42
Rama Krishna Vavilala27-Jun-02 4:42 
AnswerRe: How do I find the task bar color Pin
Scott H. Settlemier27-Jun-02 7:43
Scott H. Settlemier27-Jun-02 7:43 
GeneralSelf Termination Pin
27-Jun-02 4:34
suss27-Jun-02 4:34 
GeneralRe: Self Termination Pin
27-Jun-02 4:53
suss27-Jun-02 4:53 
GeneralRe: Self Termination Pin
Rage27-Jun-02 5:00
professionalRage27-Jun-02 5:00 
GeneralRe: Self Termination Pin
_Magnus_27-Jun-02 5:04
_Magnus_27-Jun-02 5:04 
GeneralRe: Self Termination Pin
Roger Allen27-Jun-02 6:22
Roger Allen27-Jun-02 6:22 
GeneralRe: Self Termination Pin
Scott H. Settlemier27-Jun-02 7:59
Scott H. Settlemier27-Jun-02 7:59 
GeneralIntellisense in VS.NET Pin
Steve Thresher27-Jun-02 4:30
Steve Thresher27-Jun-02 4:30 
GeneralRe: Intellisense in VS.NET Pin
Mike Nordell28-Jun-02 9:20
Mike Nordell28-Jun-02 9:20 
Generalserializing issue Pin
27-Jun-02 4:01
suss27-Jun-02 4:01 

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.