Click here to Skip to main content
15,919,178 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralForce Registry to update Pin
soul.ripper19-Oct-03 21:44
soul.ripper19-Oct-03 21:44 
GeneralRe: Force Registry to update Pin
David Crow20-Oct-03 2:42
David Crow20-Oct-03 2:42 
GeneralRe: Force Registry to update Pin
soul.ripper20-Oct-03 3:20
soul.ripper20-Oct-03 3:20 
GeneralRe: Force Registry to update Pin
David Crow20-Oct-03 3:43
David Crow20-Oct-03 3:43 
GeneralRe: Force Registry to update Pin
Michael Dunn20-Oct-03 4:39
sitebuilderMichael Dunn20-Oct-03 4:39 
GeneralInstalling SOAP on 98 / 2000 ... Pin
Braulio Dez19-Oct-03 21:41
Braulio Dez19-Oct-03 21:41 
GeneralChanging background color of an edit control Pin
marigold_1219-Oct-03 21:12
marigold_1219-Oct-03 21:12 
GeneralRe: Changing background color of an edit control Pin
YaronNir19-Oct-03 22:04
YaronNir19-Oct-03 22:04 
Hi,

the trick is to return the proper hBrush...

create a brush using your back ground color RGB(0,0,0) and then instead of returning

return (HBRUSH)(m_bkBrush.GetSafeHandle()); // m_bkBrush-CBrush

return the created brush

note: create the brush elsewhere (not in the OnCtlColor method, cause it is called 1000000 of times)

hope this helps ya

Yaron

Ask not what your application can do for you,
Ask what you can do for your application
GeneralRe: Changing background color of an edit control Pin
marigold_1221-Oct-03 21:06
marigold_1221-Oct-03 21:06 
GeneralSocket Callback Mystery!?! Pin
kbilly19-Oct-03 20:06
kbilly19-Oct-03 20:06 
GeneralRe: Socket Callback Mystery!?! Pin
jmkhael20-Oct-03 1:23
jmkhael20-Oct-03 1:23 
GeneralRe: Socket Callback Mystery!?! Pin
Alexander M.,20-Oct-03 2:41
Alexander M.,20-Oct-03 2:41 
GeneralClass missing in Class view pane Pin
eowyn19-Oct-03 19:30
eowyn19-Oct-03 19:30 
GeneralRe: Class missing in Class view pane Pin
Anonymous19-Oct-03 20:38
Anonymous19-Oct-03 20:38 
GeneralRe: Class missing in Class view pane Pin
Rasmus Therkelsen19-Oct-03 21:05
Rasmus Therkelsen19-Oct-03 21:05 
GeneralRe: Class missing in Class view pane Pin
jhwurmbach19-Oct-03 22:58
jhwurmbach19-Oct-03 22:58 
GeneralRe: Class missing in Class view pane Pin
sanskypotov15-Feb-04 21:44
sanskypotov15-Feb-04 21:44 
GeneralDeclarations help Pin
fynox19-Oct-03 17:41
fynox19-Oct-03 17:41 
GeneralRe: Declarations help Pin
Joe Woodbury19-Oct-03 18:27
professionalJoe Woodbury19-Oct-03 18:27 
QuestionHELP PLEASE!!! CRAZY COMPILERS????? Pin
tguzella19-Oct-03 12:44
tguzella19-Oct-03 12:44 
AnswerRe: HELP PLEASE!!! CRAZY COMPILERS????? Pin
tguzella19-Oct-03 12:45
tguzella19-Oct-03 12:45 
AnswerRe: HELP PLEASE!!! CRAZY COMPILERS????? Pin
markkuk19-Oct-03 22:48
markkuk19-Oct-03 22:48 
AnswerRe: HELP PLEASE!!! CRAZY COMPILERS????? Pin
jhwurmbach19-Oct-03 22:56
jhwurmbach19-Oct-03 22:56 
GeneralMacro accessing a function from another macro file Pin
Jeff Miles19-Oct-03 12:35
Jeff Miles19-Oct-03 12:35 
GeneralDatabase connection through MFC help Pin
Mike Danberg19-Oct-03 12:33
Mike Danberg19-Oct-03 12:33 

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.