Click here to Skip to main content
15,913,487 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Drawing text with DirectDraw Pin
Hanan88826-Mar-08 1:51
Hanan88826-Mar-08 1:51 
AnswerRe: Drawing text with DirectDraw Pin
Hanan88826-Mar-08 3:11
Hanan88826-Mar-08 3:11 
GeneralRe: Drawing text with DirectDraw Pin
James R. Twine26-Mar-08 4:58
James R. Twine26-Mar-08 4:58 
GeneralRe: Drawing text with DirectDraw Pin
Hanan88826-Mar-08 5:39
Hanan88826-Mar-08 5:39 
GeneralRe: Drawing text with DirectDraw Pin
Stephen Hewitt26-Mar-08 13:54
Stephen Hewitt26-Mar-08 13:54 
GeneralRe: Drawing text with DirectDraw Pin
Hanan88826-Mar-08 22:39
Hanan88826-Mar-08 22:39 
General64 bit API Hooking Pin
San246826-Mar-08 0:01
San246826-Mar-08 0:01 
QuestionCan I draw in a RichEdit Control Pin
Desmond Mardle25-Mar-08 23:56
Desmond Mardle25-Mar-08 23:56 
Hello
I would like to draw in a Richedit or other control. I have tried to get a DC for the control and just change the background color to start with using

CDC *dc = m_bargraph_redit.GetDC;
dc->SetBkColor(RGB(0,255,0));

this does not work. Could somebody help me get started.

I am painting directly on to the background on my GUI to draw a bargraph this works OK until the screen resolution is changed. I would like to have the bargraph stay in the same place when the screen resolution changes.

Thank in anticipation
Desmond Mardle
AnswerRe: Can I draw in a RichEdit Control Pin
Rajasekharan Vengalil26-Mar-08 0:24
Rajasekharan Vengalil26-Mar-08 0:24 
Questiondifference between static_cast and dynamic cast? Pin
rowdy_vc++25-Mar-08 23:37
rowdy_vc++25-Mar-08 23:37 
AnswerRe: difference between static_cast and dynamic cast? Pin
Maxwell Chen25-Mar-08 23:46
Maxwell Chen25-Mar-08 23:46 
AnswerRe: difference between static_cast and dynamic cast? Pin
Cedric Moonen25-Mar-08 23:55
Cedric Moonen25-Mar-08 23:55 
AnswerRe: difference between static_cast and dynamic cast? Pin
CPallini26-Mar-08 0:05
mveCPallini26-Mar-08 0:05 
GeneralRe: difference between static_cast and dynamic cast? Pin
BadKarma26-Mar-08 2:54
BadKarma26-Mar-08 2:54 
GeneralRe: difference between static_cast and dynamic cast? Pin
CPallini26-Mar-08 3:08
mveCPallini26-Mar-08 3:08 
GeneralC++ UAC elevation error on code Pin
spiced25-Mar-08 23:36
spiced25-Mar-08 23:36 
GeneralRe: C++ UAC elevation error on code Pin
Rajasekharan Vengalil26-Mar-08 0:12
Rajasekharan Vengalil26-Mar-08 0:12 
GeneralDesktop item postion - Shell programming Pin
tom87@2125-Mar-08 23:31
tom87@2125-Mar-08 23:31 
GeneralMaking a copy of the object inside the object Pin
piul25-Mar-08 23:00
piul25-Mar-08 23:00 
GeneralRe: Making a copy of the object inside the object Pin
CPallini25-Mar-08 23:14
mveCPallini25-Mar-08 23:14 
GeneralRe: Making a copy of the object inside the object Pin
piul25-Mar-08 23:22
piul25-Mar-08 23:22 
QuestionHow to enable the Maximize itemin System Menu for MFC appplications?? Pin
Vikas_12325-Mar-08 22:37
Vikas_12325-Mar-08 22:37 
AnswerRe: How to enable the Maximize itemin System Menu for MFC appplications?? Pin
Rajasekharan Vengalil26-Mar-08 0:04
Rajasekharan Vengalil26-Mar-08 0:04 
GeneralRe: How to enable the Maximize itemin System Menu for MFC appplications?? Pin
Vikas_12326-Mar-08 1:20
Vikas_12326-Mar-08 1:20 
GeneralRe: How to enable the Maximize itemin System Menu for MFC appplications?? Pin
Rajasekharan Vengalil26-Mar-08 1:26
Rajasekharan Vengalil26-Mar-08 1:26 

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.