Click here to Skip to main content
15,895,808 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: setup Pin
Hamid_RT29-Sep-06 6:57
Hamid_RT29-Sep-06 6:57 
QuestionOutput to the debugger Pin
Waldermort29-Sep-06 5:43
Waldermort29-Sep-06 5:43 
AnswerRe: Output to the debugger Pin
David Crow29-Sep-06 6:05
David Crow29-Sep-06 6:05 
GeneralRe: Output to the debugger Pin
Waldermort29-Sep-06 6:09
Waldermort29-Sep-06 6:09 
GeneralRe: Output to the debugger Pin
David Crow29-Sep-06 6:12
David Crow29-Sep-06 6:12 
GeneralRe: Output to the debugger Pin
Waldermort29-Sep-06 6:32
Waldermort29-Sep-06 6:32 
GeneralRe: Output to the debugger Pin
Jörgen Sigvardsson29-Sep-06 7:28
Jörgen Sigvardsson29-Sep-06 7:28 
QuestionPicture Control Drawing Pin
LCI29-Sep-06 5:32
LCI29-Sep-06 5:32 
I have a picture control on a dialog application.
My goal is to be able to paint the control area say White. Then write some text in black.

I retrieved a pointer dc to the picture control.
Then i did a GetClientRect to get the dimensions.
Now i do a FillSolidRect(pRect, RGB(255, 255, 255))

I figured that this should paint the picture control
This did not.


Then i tried to write the text by Creating a Pen in the color black
Then Using Drawtext from the dc to write out some text on the picture control

This did not work either.
This should be pretty easy so i must be using the wrong api's
Any ideas???
AnswerRe: Picture Control Drawing Pin
Cedric Moonen29-Sep-06 5:50
Cedric Moonen29-Sep-06 5:50 
AnswerRe: Picture Control Drawing Pin
Waldermort29-Sep-06 5:51
Waldermort29-Sep-06 5:51 
AnswerRe: Picture Control Drawing Pin
Hamid_RT29-Sep-06 7:01
Hamid_RT29-Sep-06 7:01 
Question"Open with" Apps list Pin
Kharfax29-Sep-06 5:32
Kharfax29-Sep-06 5:32 
AnswerRe: "Open with" Apps list [modified] Pin
Waldermort29-Sep-06 5:56
Waldermort29-Sep-06 5:56 
GeneralRe: "Open with" Apps list Pin
Kharfax29-Sep-06 6:16
Kharfax29-Sep-06 6:16 
GeneralRe: "Open with" Apps list Pin
Waldermort29-Sep-06 6:39
Waldermort29-Sep-06 6:39 
GeneralRe: "Open with" Apps list Pin
Kharfax29-Sep-06 6:52
Kharfax29-Sep-06 6:52 
GeneralRe: "Open with" Apps list Pin
Waldermort29-Sep-06 8:53
Waldermort29-Sep-06 8:53 
AnswerSolved Pin
Kharfax29-Sep-06 7:50
Kharfax29-Sep-06 7:50 
AnswerRe: "Open with" Apps list Pin
ShilpiP29-Sep-06 20:44
ShilpiP29-Sep-06 20:44 
QuestionInvalid CWnd* pointer Pin
AnTri29-Sep-06 5:00
AnTri29-Sep-06 5:00 
AnswerRe: Invalid CWnd* pointer Pin
David Crow29-Sep-06 5:20
David Crow29-Sep-06 5:20 
GeneralRe: Invalid CWnd* pointer Pin
AnTri29-Sep-06 8:01
AnTri29-Sep-06 8:01 
GeneralRe: Invalid CWnd* pointer Pin
David Crow29-Sep-06 8:11
David Crow29-Sep-06 8:11 
GeneralRe: Invalid CWnd* pointer [modified] Pin
AnTri29-Sep-06 9:04
AnTri29-Sep-06 9:04 
GeneralRe: Invalid CWnd* pointer Pin
PJ Arends29-Sep-06 10:40
professionalPJ Arends29-Sep-06 10:40 

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.