Click here to Skip to main content
15,926,939 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to use WriteProfileString and GetProfileString MFC functions??? Pin
larsho3-Mar-09 22:50
larsho3-Mar-09 22:50 
Questiondisabling controls Pin
ashishmax473-Nov-08 18:27
ashishmax473-Nov-08 18:27 
AnswerRe: disabling controls Pin
Michael Dunn3-Nov-08 19:24
sitebuilderMichael Dunn3-Nov-08 19:24 
AnswerRe: disabling controls Pin
Hamid_RT3-Nov-08 19:38
Hamid_RT3-Nov-08 19:38 
Questionarray Pin
jonig193-Nov-08 17:35
jonig193-Nov-08 17:35 
AnswerRe: array Pin
CodingLover3-Nov-08 18:19
CodingLover3-Nov-08 18:19 
Questionstringstream formatting Pin
CodingLover3-Nov-08 16:35
CodingLover3-Nov-08 16:35 
AnswerRe: stringstream formatting Pin
chris_liush3-Nov-08 18:43
chris_liush3-Nov-08 18:43 
QuestionObject Noob Pin
Haun the 2nd3-Nov-08 16:15
Haun the 2nd3-Nov-08 16:15 
AnswerRe: Object Noob Pin
Cedric Moonen3-Nov-08 20:27
Cedric Moonen3-Nov-08 20:27 
GeneralRe: Object Noob Pin
Haun the 2nd4-Nov-08 13:42
Haun the 2nd4-Nov-08 13:42 
AnswerRe: Object Noob Pin
Haun the 2nd8-Nov-08 7:20
Haun the 2nd8-Nov-08 7:20 
QuestionResource Templates Pin
Bram van Kampen3-Nov-08 15:24
Bram van Kampen3-Nov-08 15:24 
AnswerRe: Resource Templates Pin
Michael Dunn3-Nov-08 19:28
sitebuilderMichael Dunn3-Nov-08 19:28 
GeneralRe: Resource Templates Pin
Bram van Kampen4-Nov-08 11:31
Bram van Kampen4-Nov-08 11:31 
AnswerRe: Resource Templates Pin
cmk3-Nov-08 20:12
cmk3-Nov-08 20:12 
QuestionI loaded a bitmap from resource and share it with some windows to paint for background,but sometimes the bitmap will be changed to black? Pin
e_ilite3-Nov-08 15:15
e_ilite3-Nov-08 15:15 
AnswerRe: I loaded a bitmap from resource and share it with some windows to paint for background,but sometimes the bitmap will be changed to black? Pin
Hamid_RT3-Nov-08 19:42
Hamid_RT3-Nov-08 19:42 
GeneralRe: I loaded a bitmap from resource and share it with some windows to paint for background,but sometimes the bitmap will be changed to black? Pin
e_ilite3-Nov-08 20:44
e_ilite3-Nov-08 20:44 
BEGIN_MSG_MAP(CMyButton)
MESSAGE_HANDLER(WM_CREATE,OnCreate)
MESSAGE_HANDLER(WM_PAINT,OnPaint)
MESSAGE_HANDLER(WM_LBUTTONDOWN,OnLButtonDown)
MESSAGE_HANDLER(WM_LBUTTONUP,OnLButtonUp)
MESSAGE_HANDLER(WM_MOUSEMOVE ,OnMouseMove)
MESSAGE_HANDLER(WM_MOUSELEAVE ,OnMouseLeave)
MESSAGE_HANDLER(WM_KILLFOCUS, OnRefresh)
MESSAGE_HANDLER(WM_SETFOCUS, OnRefresh)
MESSAGE_HANDLER(BM_SETCHECK, OnStateChange)
MESSAGE_HANDLER(BM_SETSTATE, OnStateChange)
MESSAGE_HANDLER(WM_ENABLE, OnRefresh)
MESSAGE_HANDLER(WM_UPDATEUISTATE,OnRefresh)
END_MSG_MAP()

I did not use the WM_ERASEBKGND,and the system will do the default?
Need I to disable this msg?such as :
in handle WM_ERASEBKGND msg,return TRUE.

Great & Free windows software for you
http://www.aisnote.com

QuestionRe: I loaded a bitmap from resource and share it with some windows to paint for background,but sometimes the bitmap will be changed to black? Pin
Mark Salsbery4-Nov-08 4:42
Mark Salsbery4-Nov-08 4:42 
AnswerRe: I loaded a bitmap from resource and share it with some windows to paint for background,but sometimes the bitmap will be changed to black? Pin
e_ilite4-Nov-08 14:01
e_ilite4-Nov-08 14:01 
GeneralRe: I loaded a bitmap from resource and share it with some windows to paint for background,but sometimes the bitmap will be changed to black? Pin
Mark Salsbery5-Nov-08 4:30
Mark Salsbery5-Nov-08 4:30 
GeneralRe: I loaded a bitmap from resource and share it with some windows to paint for background,but sometimes the bitmap will be changed to black? Pin
e_ilite6-Nov-08 14:42
e_ilite6-Nov-08 14:42 
GeneralRe: I loaded a bitmap from resource and share it with some windows to paint for background,but sometimes the bitmap will be changed to black? Pin
Mark Salsbery6-Nov-08 15:00
Mark Salsbery6-Nov-08 15:00 
GeneralRe: I loaded a bitmap from resource and share it with some windows to paint for background,but sometimes the bitmap will be changed to black? Pin
e_ilite6-Nov-08 15:04
e_ilite6-Nov-08 15: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.