Click here to Skip to main content
15,888,579 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRemoval of class from library Pin
Still learning how to code6-Dec-09 23:40
Still learning how to code6-Dec-09 23:40 
AnswerRe: Removal of class from library Pin
Adam Roderick J6-Dec-09 23:46
Adam Roderick J6-Dec-09 23:46 
AnswerRe: Removal of class from library Pin
Cedric Moonen7-Dec-09 0:15
Cedric Moonen7-Dec-09 0:15 
GeneralRe: Removal of class from library Pin
Still learning how to code7-Dec-09 1:45
Still learning how to code7-Dec-09 1:45 
QuestionChange the background color Pin
m_mun6-Dec-09 22:39
m_mun6-Dec-09 22:39 
AnswerRe: Change the background color Pin
Madhu Nair6-Dec-09 22:45
Madhu Nair6-Dec-09 22:45 
GeneralRe: Change the background color Pin
m_mun6-Dec-09 22:52
m_mun6-Dec-09 22:52 
GeneralRe: Change the background color [modified] Pin
Madhu Nair6-Dec-09 23:02
Madhu Nair6-Dec-09 23:02 
m_mun wrote:
want to change the background color


Create a solid brush in FormView's OnInitialUpdate m_wndbkBrush.CreateSolidBrush(RGB(0,255,0)); , and use this in OnEraseBkgnd overload of FormView.

void CxxxFormView::OnEraseBkgnd(CDC* pDC) 
{
CFormView::OnEraseBkgnd(pDC);
CRect rect;
GetClientRect(rect);
pDC->FillRect(&rect, &m_wndbkBrush);
return TRUE;
}


modified on Monday, December 7, 2009 5:09 AM

GeneralRe: Change the background color [modified] Pin
m_mun6-Dec-09 23:42
m_mun6-Dec-09 23:42 
QuestionRe: Change the background color Pin
m_mun6-Dec-09 23:57
m_mun6-Dec-09 23:57 
AnswerRe: Change the background color Pin
Sarath C7-Dec-09 1:01
Sarath C7-Dec-09 1:01 
AnswerRe: Change the background color Pin
David Crow7-Dec-09 3:11
David Crow7-Dec-09 3:11 
GeneralRe: Change the background color Pin
m_mun7-Dec-09 4:28
m_mun7-Dec-09 4:28 
GeneralRe: Change the background color Pin
David Crow7-Dec-09 4:30
David Crow7-Dec-09 4:30 
GeneralRe: Change the background color Pin
m_mun7-Dec-09 4:37
m_mun7-Dec-09 4:37 
GeneralRe: Change the background color Pin
«_Superman_»7-Dec-09 4:25
professional«_Superman_»7-Dec-09 4:25 
QuestionSuper-man, help me please? Pin
nenfa6-Dec-09 21:23
nenfa6-Dec-09 21:23 
AnswerRe: Super-man, help me please? Pin
«_Superman_»6-Dec-09 21:36
professional«_Superman_»6-Dec-09 21:36 
AnswerRe: Super-man, help me please? Pin
Madhu Nair6-Dec-09 22:29
Madhu Nair6-Dec-09 22:29 
GeneralRe: Super-man, help me please? Pin
nenfa7-Dec-09 0:45
nenfa7-Dec-09 0:45 
Questionhi guys, how to rename the existing macro in vc? Pin
nenfa6-Dec-09 15:30
nenfa6-Dec-09 15:30 
AnswerRe: hi guys, how to rename the existing macro in vc? Pin
nenfa6-Dec-09 15:55
nenfa6-Dec-09 15:55 
QuestionContinue to Get "Read Only" under Properties in Windows Explorer after I reset it Pin
Larry Mills Sr6-Dec-09 14:18
Larry Mills Sr6-Dec-09 14:18 
AnswerRe: Continue to Get "Read Only" under Properties in Windows Explorer after I reset it Pin
«_Superman_»6-Dec-09 14:46
professional«_Superman_»6-Dec-09 14:46 
QuestionSharing memory between dll and application with HeapAlloc ? Pin
yarp6-Dec-09 7:04
yarp6-Dec-09 7:04 

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.