Click here to Skip to main content
15,921,716 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: About Muti Thread, who can tell me what's wrong, thanks Pin
geo_m1-Jun-03 0:58
geo_m1-Jun-03 0:58 
GeneralRe: About Muti Thread, who can tell me what's wrong, thanks Pin
valikac1-Jun-03 6:22
valikac1-Jun-03 6:22 
GeneralRe: About Muti Thread, who can tell me what's wrong, thanks Pin
cjzdq2-Jun-03 1:09
cjzdq2-Jun-03 1:09 
GeneralRe: About Muti Thread, who can tell me what's wrong, thanks Pin
cjzdq2-Jun-03 1:14
cjzdq2-Jun-03 1:14 
GeneralI want to draw on a control,but the Dialog app will draw it automatic! Pin
white jungle31-May-03 20:10
white jungle31-May-03 20:10 
GeneralRe: I want to draw on a control,but the Dialog app will draw it automatic! Pin
Ted Ferenc31-May-03 21:42
Ted Ferenc31-May-03 21:42 
GeneralRe: I want to draw on a control,but the Dialog app will draw it automatic! Pin
white jungle31-May-03 23:41
white jungle31-May-03 23:41 
GeneralRe: I want to draw on a control,but the Dialog app will draw it automatic! Pin
Ted Ferenc1-Jun-03 1:31
Ted Ferenc1-Jun-03 1:31 
I am working from memory here.

In that case the best method, I think, would be to subclass the control.

Or you could try get the CDC of the static control, using my #1 method and use this to paint, also add the paint logic into the OnPaint. BUT the control may decide to paint it it's slef therefore overwriting what you have put there! I use this method to place a bitmap into a static control.



If I have seen further it is by standing on the shoulders of Giants. - Isaac Newton 1676
GeneralRe: I want to draw on a control,but the Dialog app will draw it automatic! Pin
white jungle1-Jun-03 3:18
white jungle1-Jun-03 3:18 
GeneralInternet Connection Availibility Pin
Alex Korchemniy31-May-03 17:46
Alex Korchemniy31-May-03 17:46 
GeneralRe: Internet Connection Availibility Pin
Jason Henderson31-May-03 19:30
Jason Henderson31-May-03 19:30 
GeneralRe: Internet Connection Availibility Pin
Alex Korchemniy31-May-03 20:06
Alex Korchemniy31-May-03 20:06 
GeneralRegistry problems, help! Pin
Steven M Hunt31-May-03 17:19
Steven M Hunt31-May-03 17:19 
GeneralRe: Registry problems, help! Pin
Tom Wright31-May-03 18:07
Tom Wright31-May-03 18:07 
GeneralThanks! Pin
Steven M Hunt31-May-03 18:21
Steven M Hunt31-May-03 18:21 
GeneralDialog based app problem Pin
Tom Wright31-May-03 16:40
Tom Wright31-May-03 16:40 
GeneralRe: Dialog based app problem Pin
Paul Lyons31-May-03 17:45
Paul Lyons31-May-03 17:45 
GeneralRe: Dialog based app problem Pin
Tom Wright31-May-03 17:53
Tom Wright31-May-03 17:53 
GeneralRe: Dialog based app problem Pin
Michael Dunn31-May-03 18:43
sitebuilderMichael Dunn31-May-03 18:43 
GeneralRe: Dialog based app problem Pin
Tom Wright2-Jun-03 7:57
Tom Wright2-Jun-03 7:57 
GeneralXML Post from VC++ Pin
Member 41868531-May-03 12:28
Member 41868531-May-03 12:28 
GeneralRe: XML Post from VC++ Pin
Ravi Bhavnani31-May-03 13:34
professionalRavi Bhavnani31-May-03 13:34 
GeneralPlease Help Me Pin
Nazar Hussain31-May-03 12:12
sussNazar Hussain31-May-03 12:12 
GeneralRe: Please Help Me Pin
Anna-Jayne Metcalfe2-Jun-03 0:10
Anna-Jayne Metcalfe2-Jun-03 0:10 
GeneralRe: Please Help Me Pin
Anonymous2-Jun-03 12:03
Anonymous2-Jun-03 12:03 

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.