Click here to Skip to main content
15,892,005 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionLoad image Pin
john563220-May-10 22:10
john563220-May-10 22:10 
AnswerRe: Load image Pin
KingsGambit20-May-10 22:21
KingsGambit20-May-10 22:21 
AnswerRe: Load image Pin
Hristo-Bojilov20-May-10 23:59
Hristo-Bojilov20-May-10 23:59 
GeneralRe: Load image Pin
john563221-May-10 0:36
john563221-May-10 0:36 
Questionhow to draw an arc in open gl implemented in visual c++ Pin
nearest20-May-10 21:47
nearest20-May-10 21:47 
AnswerRe: how to draw an arc in open gl implemented in visual c++ Pin
Cedric Moonen20-May-10 22:57
Cedric Moonen20-May-10 22:57 
QuestionProblem with Activex Control property pages Pin
Sreenivas00320-May-10 21:21
Sreenivas00320-May-10 21:21 
Questioncall standard-draw of a control Pin
baerten20-May-10 21:10
baerten20-May-10 21:10 
Hello everybody,

I like to draw a small border inside my CEdit. To "highlight" it.
I use already OnEraseBgnd to fill the entire CEdit in another color.
But in OnEraseBgnd I can't draw a small border, because the entire Background will be redrawn.

If I handle OnPaint(), it works, but in this case, I need to redraw the entire control myself (text, background, etc ...)
Is there a function-call to draw the standard-appearance, and after it, I start to draw myself on it?

I tested already to call the Parent OnPaint() ( CEdit::OnPaint() ) but this won't work.

Big thanks for any idea or basic instruction Smile | :)

Greetings
AnswerRe: call standard-draw of a control Pin
Code-o-mat20-May-10 21:58
Code-o-mat20-May-10 21:58 
GeneralRe: call standard-draw of a control Pin
baerten20-May-10 22:41
baerten20-May-10 22:41 
GeneralRe: call standard-draw of a control Pin
Code-o-mat20-May-10 23:06
Code-o-mat20-May-10 23:06 
QuestionSend and Receive Problem Pin
Member 365375120-May-10 20:53
Member 365375120-May-10 20:53 
AnswerRe: Send and Receive Problem Pin
Richard MacCutchan20-May-10 21:19
mveRichard MacCutchan20-May-10 21:19 
GeneralRe: Send and Receive Problem Pin
Member 365375120-May-10 21:41
Member 365375120-May-10 21:41 
GeneralRe: Send and Receive Problem Pin
Richard MacCutchan21-May-10 2:57
mveRichard MacCutchan21-May-10 2:57 
AnswerRe: Send and Receive Problem Pin
CPallini20-May-10 21:34
mveCPallini20-May-10 21:34 
GeneralRe: Send and Receive Problem Pin
Member 365375120-May-10 22:46
Member 365375120-May-10 22:46 
GeneralRe: Send and Receive Problem Pin
Iain Clarke, Warrior Programmer20-May-10 23:11
Iain Clarke, Warrior Programmer20-May-10 23:11 
QuestionRe: Send and Receive Problem Pin
David Crow21-May-10 3:05
David Crow21-May-10 3:05 
QuestionHow to track rename sheet event in Excel ? Pin
Gaurav171020-May-10 20:38
Gaurav171020-May-10 20:38 
QuestionExtract System's register's value by usiong 'C' language Pin
kushMuchaal20-May-10 18:39
kushMuchaal20-May-10 18:39 
AnswerRe: Extract System's register's value by usiong 'C' language Pin
Aescleal20-May-10 20:11
Aescleal20-May-10 20:11 
GeneralRe: Extract System's register's value by usiong 'C' language Pin
kushMuchaal20-May-10 22:53
kushMuchaal20-May-10 22:53 
GeneralRe: Extract System's register's value by usiong 'C' language Pin
kushMuchaal20-May-10 23:14
kushMuchaal20-May-10 23:14 
GeneralRe: Extract System's register's value by usiong 'C' language Pin
kushMuchaal20-May-10 23:55
kushMuchaal20-May-10 23:55 

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.