Click here to Skip to main content
15,846,860 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Pointers to member functions which return pointers to themselves Pin
CPallini31-May-11 22:08
mveCPallini31-May-11 22:08 
AnswerRe: Pointers to member functions which return pointers to themselves Pin
Stefan_Lang30-May-11 5:50
Stefan_Lang30-May-11 5:50 
GeneralRe: Pointers to member functions which return pointers to themselves Pin
Ray Hagstrom31-May-11 13:46
Ray Hagstrom31-May-11 13:46 
GeneralRe: Pointers to member functions which return pointers to themselves Pin
Stefan_Lang31-May-11 22:15
Stefan_Lang31-May-11 22:15 
AnswerRe: Pointers to member functions which return pointers to themselves Pin
saephoed8-Jan-14 12:22
saephoed8-Jan-14 12:22 
QuestionAlphaBlend doesn't work properly Pin
Cold_Fearing_Bird27-May-11 10:06
Cold_Fearing_Bird27-May-11 10:06 
QuestionRe: AlphaBlend doesn't work properly Pin
Mark Salsbery27-May-11 16:17
Mark Salsbery27-May-11 16:17 
AnswerRe: AlphaBlend doesn't work properly Pin
Cold_Fearing_Bird27-May-11 19:50
Cold_Fearing_Bird27-May-11 19:50 
BlendFunction.BlendOp = AC_SRC_OVER
.blendflag = 0
.SCA = 255
.AlphaFormat = AC_SRC_ALPHA
My bmp is per-pixel alpha channel bitmap.
I googled something articles and turuned out I didn't do the premultiple, but I am still comfused with the following formula:
Dst.Red = Src.Red + (1 - Src.Alpha) * Dst.Red
where the Src.alpha's value making sense should be 0.0 - 1.0, but it is 0 - 255. I wonder OS translate the alpha value in background for us?
Questionchange selection background color of a CRichEditCtrl Pin
includeh1027-May-11 9:14
includeh1027-May-11 9:14 
Questionadd WM_SETFONT message handle in MFC Pin
includeh1027-May-11 6:37
includeh1027-May-11 6:37 
QuestionRe: add WM_SETFONT message handle in MFC Pin
David Crow27-May-11 7:06
David Crow27-May-11 7:06 
AnswerRe: add WM_SETFONT message handle in MFC Pin
వేంకటనారాయణ(venkatmakam)27-May-11 7:12
వేంకటనారాయణ(venkatmakam)27-May-11 7:12 
QuestionRe: add WM_SETFONT message handle in MFC Pin
David Crow27-May-11 7:14
David Crow27-May-11 7:14 
AnswerRe: add WM_SETFONT message handle in MFC Pin
Luc Pattyn27-May-11 7:53
sitebuilderLuc Pattyn27-May-11 7:53 
GeneralRe: add WM_SETFONT message handle in MFC Pin
David Crow27-May-11 8:05
David Crow27-May-11 8:05 
AnswerRe: add WM_SETFONT message handle in MFC Pin
Mark Salsbery27-May-11 8:03
Mark Salsbery27-May-11 8:03 
QuestionCToolbar Pin
si_6927-May-11 6:19
si_6927-May-11 6:19 
QuestionSetWindowRgn Menu Problem Pin
guojianbo27-May-11 2:18
guojianbo27-May-11 2:18 
QuestionRe: SetWindowRgn Menu Problem Pin
వేంకటనారాయణ(venkatmakam)27-May-11 4:34
వేంకటనారాయణ(venkatmakam)27-May-11 4:34 
AnswerRe: SetWindowRgn Menu Problem Pin
guojianbo29-May-11 16:42
guojianbo29-May-11 16:42 
GeneralRe: SetWindowRgn Menu Problem Pin
guojianbo30-May-11 1:53
guojianbo30-May-11 1:53 
QuestionTO EVRY BODY html path in .lnk file Pin
limelect27-May-11 0:52
limelect27-May-11 0:52 
AnswerRe: TO EVRY BODY html path in .lnk file Pin
_AnsHUMAN_ 27-May-11 1:58
_AnsHUMAN_ 27-May-11 1:58 
GeneralRe: TO EVRY BODY html path in .lnk file Pin
Richard MacCutchan27-May-11 2:16
mveRichard MacCutchan27-May-11 2:16 
QuestionRe: TO EVRY BODY html path in .lnk file Pin
Niklas L27-May-11 2:14
Niklas L27-May-11 2:14 

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.