Click here to Skip to main content
15,893,486 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: freestanding Pin
Richard MacCutchan10-Sep-15 7:04
mveRichard MacCutchan10-Sep-15 7:04 
AnswerRe: freestanding Pin
Member 1194028910-Sep-15 16:05
Member 1194028910-Sep-15 16:05 
GeneralRe: freestanding Pin
Richard MacCutchan10-Sep-15 21:41
mveRichard MacCutchan10-Sep-15 21:41 
AnswerRe: freestanding Pin
David Crow11-Sep-15 2:15
David Crow11-Sep-15 2:15 
GeneralRe: freestanding Pin
Member 1194028911-Sep-15 11:57
Member 1194028911-Sep-15 11:57 
QuestionDraw and re-pos CStatic controls in CDockablePane Pin
Member 85340359-Sep-15 4:55
Member 85340359-Sep-15 4:55 
AnswerRe: Draw and re-pos CStatic controls in CDockablePane Pin
Member 853403510-Sep-15 0:50
Member 853403510-Sep-15 0:50 
QuestionCustomize filter control of CHeaderCtrl Pin
aks.9-Sep-15 4:50
aks.9-Sep-15 4:50 
I have a CListCtrl in my MFC dialog application.
I enabled the HDS_FILTERBAR for List control the by the following code.

CHeaderCtrl* pHeaderCtrl = m_myListCtrl.GetHeaderCtrl();
 pHeaderCtrl->SetDlgCtrlID( IDC_LIST1 );
 HDITEM hdItem;
 ZeroMemory( &hdItem, sizeof( HDITEM ));
 hdItem.mask = ( HDI_FILTER );
 pHeaderCtrl->ModifyStyle( 0, HDS_FILTERBAR );
 hdItem.type = HDFT_ISSTRING;            


The filter is displayed.
However I would like to change the background color and font of the Edit control and button in the filter section.
How can I achieve it.
aks

AnswerRe: Customize filter control of CHeaderCtrl Pin
Richard MacCutchan9-Sep-15 23:30
mveRichard MacCutchan9-Sep-15 23:30 
GeneralRe: Customize filter control of CHeaderCtrl Pin
aks.15-Sep-15 20:55
aks.15-Sep-15 20:55 
GeneralRe: Customize filter control of CHeaderCtrl Pin
Richard MacCutchan15-Sep-15 21:22
mveRichard MacCutchan15-Sep-15 21:22 
GeneralRe: Customize filter control of CHeaderCtrl Pin
aks.16-Sep-15 1:45
aks.16-Sep-15 1:45 
GeneralRe: Customize filter control of CHeaderCtrl Pin
Richard MacCutchan16-Sep-15 2:13
mveRichard MacCutchan16-Sep-15 2:13 
GeneralRe: Customize filter control of CHeaderCtrl Pin
aks.17-Sep-15 22:08
aks.17-Sep-15 22:08 
QuestionRadio Buttons, Lots of them Pin
golfbird8-Sep-15 3:03
golfbird8-Sep-15 3:03 
AnswerRe: Radio Buttons, Lots of them Pin
Eddy Vluggen8-Sep-15 3:38
professionalEddy Vluggen8-Sep-15 3:38 
GeneralRe: Radio Buttons, Lots of them Pin
golfbird8-Sep-15 7:47
golfbird8-Sep-15 7:47 
AnswerRe: Radio Buttons, Lots of them Pin
Richard MacCutchan8-Sep-15 4:46
mveRichard MacCutchan8-Sep-15 4:46 
GeneralRe: Radio Buttons, Lots of them Pin
golfbird8-Sep-15 10:15
golfbird8-Sep-15 10:15 
GeneralRe: Radio Buttons, Lots of them Pin
jeron18-Sep-15 10:47
jeron18-Sep-15 10:47 
GeneralRe: Radio Buttons, Lots of them Pin
golfbird8-Sep-15 13:46
golfbird8-Sep-15 13:46 
AnswerRe: Radio Buttons, Lots of them Pin
Peter Leow8-Sep-15 4:56
professionalPeter Leow8-Sep-15 4:56 
AnswerRe: Radio Buttons, Lots of them Pin
David Crow8-Sep-15 9:13
David Crow8-Sep-15 9:13 
GeneralRe: Radio Buttons, Lots of them Pin
golfbird8-Sep-15 9:33
golfbird8-Sep-15 9:33 
QuestionCreate CBitmap from another CBitmap Pin
_Flaviu3-Sep-15 1:49
_Flaviu3-Sep-15 1:49 

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.