Click here to Skip to main content
15,899,475 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Frustrated Pin
antonaras11-Jun-06 21:26
antonaras11-Jun-06 21:26 
AnswerRe: Frustrated Pin
Saurabh.Garg11-Jun-06 2:26
Saurabh.Garg11-Jun-06 2:26 
GeneralRe: Frustrated Pin
antonaras11-Jun-06 21:28
antonaras11-Jun-06 21:28 
GeneralRe: Frustrated Pin
David Crow12-Jun-06 3:35
David Crow12-Jun-06 3:35 
Questionhelp with editable listview control Pin
Tara1410-Jun-06 22:55
Tara1410-Jun-06 22:55 
AnswerRe: help with editable listview control Pin
Hamid_RT11-Jun-06 0:58
Hamid_RT11-Jun-06 0:58 
GeneralRe: help with editable listview control Pin
Tara1411-Jun-06 1:58
Tara1411-Jun-06 1:58 
GeneralRe: help with editable listview control Pin
Hamid_RT11-Jun-06 2:35
Hamid_RT11-Jun-06 2:35 
Hope I understood your question
WM_CTLCOLOREDIT is a message notify

you can see in MSDN(this explain)
"This message notifies the parent window of an edit control when the control is about to be drawn. By responding to this message, the parent window can use the specified device context handle to set the text and background colors of the edit control."

see this code maybe it is some helpful to you :
<br />
BEGIN_MESSAGE_MAP(CAnswerView,CListView)<br />
	ON_MESSAGE(WM_CTLCOLOREDIT, OnColorEdit)<br />
END_MESSAGE_MAP()<br />
...<br />
...<br />
LRESULT CAnswerView::OnColorEdit(WPARAM wParam,LPARAM lParam)<br />
{<br />
	HDC hdc=(HDC)wParam;<br />
	SetBkColor(hdc,RGB(53,97,200));<br />
	SetTextColor(hdc,RGB(255,255,255));<br />
	return (LRESULT)m_Brush->m_hObject;<br />
}<br />



whitesky


QuestionMFC LoadFrame Bug [modified] Pin
fangzj10-Jun-06 22:10
fangzj10-Jun-06 22:10 
QuestionHOw to list all the deleted files ina directory???? Pin
Inder gujral10-Jun-06 21:55
Inder gujral10-Jun-06 21:55 
AnswerRe: HOw to list all the deleted files ina directory???? Pin
Michael Dunn10-Jun-06 22:57
sitebuilderMichael Dunn10-Jun-06 22:57 
AnswerRe: HOw to list all the deleted files ina directory???? Pin
Hamid_RT11-Jun-06 0:44
Hamid_RT11-Jun-06 0:44 
QuestionLooking for some API method \ or some other way to get all file list in some folder. Pin
Yanshof10-Jun-06 21:15
Yanshof10-Jun-06 21:15 
AnswerRe: Looking for some API method \ or some other way to get all file list in some folder. Pin
YaronNir10-Jun-06 22:14
YaronNir10-Jun-06 22:14 
AnswerRe: Looking for some API method \ or some other way to get all file list in some folder. Pin
Hamid_RT11-Jun-06 0:36
Hamid_RT11-Jun-06 0:36 
Questionhttp post &amp; cookie response... for 'logins' Pin
chasetoys10-Jun-06 20:28
chasetoys10-Jun-06 20:28 
QuestionThermometer Pin
pblais10-Jun-06 15:13
pblais10-Jun-06 15:13 
AnswerRe: Thermometer Pin
Jun Du10-Jun-06 15:30
Jun Du10-Jun-06 15:30 
GeneralRe: Thermometer Pin
pblais10-Jun-06 18:33
pblais10-Jun-06 18:33 
GeneralRe: Thermometer Pin
Jun Du11-Jun-06 1:46
Jun Du11-Jun-06 1:46 
GeneralRe: Thermometer Pin
pblais11-Jun-06 15:19
pblais11-Jun-06 15:19 
Questionchat application help please Pin
amyy8610-Jun-06 12:48
amyy8610-Jun-06 12:48 
AnswerRe: chat application help please Pin
Sebastian Schneider10-Jun-06 14:45
Sebastian Schneider10-Jun-06 14:45 
QuestionHow to add a menu to a propertysheet :doh: Pin
tbrake10-Jun-06 10:14
tbrake10-Jun-06 10:14 
QuestionRTC Pin
Julian Goldsmith10-Jun-06 9:19
Julian Goldsmith10-Jun-06 9:19 

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.