Click here to Skip to main content
15,891,136 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
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:24
Mark Salsbery6-Nov-08 15:24 
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:38
e_ilite6-Nov-08 15:38 
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 16:17
Mark Salsbery6-Nov-08 16:17 
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 18:38
e_ilite6-Nov-08 18:38 
Questionerror C2022: '65279' : too big for character Pin
monsieur_jj3-Nov-08 14:51
monsieur_jj3-Nov-08 14:51 
AnswerRe: error C2022: '65279' : too big for character Pin
Saurabh.Garg3-Nov-08 15:11
Saurabh.Garg3-Nov-08 15:11 
GeneralRe: error C2022: '65279' : too big for character Pin
monsieur_jj3-Nov-08 15:17
monsieur_jj3-Nov-08 15:17 
GeneralRe: error C2022: '65279' : too big for character Pin
Saurabh.Garg3-Nov-08 15:29
Saurabh.Garg3-Nov-08 15:29 
GeneralRe: error C2022: '65279' : too big for character Pin
Bram van Kampen4-Nov-08 11:51
Bram van Kampen4-Nov-08 11:51 
Questionstange behavior with OpenGL in VC++.Net Pin
smorel23-Nov-08 12:34
smorel23-Nov-08 12:34 
Questionndis set from visual c++ Pin
ggfernandez3-Nov-08 8:48
ggfernandez3-Nov-08 8:48 

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.