Click here to Skip to main content
15,905,508 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
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 
Thanks your reply.Let me explain how I used the bitmap in my code.
I used WTL.
I just on WM_PAINT to draw the groupbox background use the bitmap.And I need to make the bitmap transparent.
In common ,the isssue do not duplicated.But sometimes it can be duplicated.
I posted the issue in detail here:
http://aisnote.spaces.live.com/blog/cns!5F43300FF5FC67C!161.entry[^]

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

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 
Questionimage acquition Pin
jjvr3-Nov-08 8:22
jjvr3-Nov-08 8:22 
AnswerRe: image acquition Pin
led mike3-Nov-08 10:35
led mike3-Nov-08 10:35 

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.