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

C / C++ / MFC

 
AnswerRe: Add Virtual Function in VC6 missing in VS2008 Pin
«_Superman_»27-Jun-09 2:38
professional«_Superman_»27-Jun-09 2:38 
GeneralRe: Add Virtual Function in VC6 missing in VS2008 Pin
sashoalm27-Jun-09 2:47
sashoalm27-Jun-09 2:47 
Questionconverting Strucutre to Byte array Pin
jalsa G26-Jun-09 23:58
jalsa G26-Jun-09 23:58 
AnswerRe: converting Strucutre to Byte array Pin
chandu00427-Jun-09 0:01
chandu00427-Jun-09 0:01 
GeneralRe: converting Strucutre to Byte array Pin
jalsa G27-Jun-09 0:06
jalsa G27-Jun-09 0:06 
GeneralRe: converting Strucutre to Byte array Pin
chandu00427-Jun-09 0:11
chandu00427-Jun-09 0:11 
GeneralRe: converting Strucutre to Byte array Pin
CPallini27-Jun-09 0:41
mveCPallini27-Jun-09 0:41 
GeneralRe: converting Strucutre to Byte array Pin
«_Superman_»27-Jun-09 2:51
professional«_Superman_»27-Jun-09 2:51 
GeneralRe: converting Strucutre to Byte array Pin
kumar sanghvi27-Jun-09 3:01
kumar sanghvi27-Jun-09 3:01 
GeneralRe: converting Strucutre to Byte array Pin
CPallini27-Jun-09 4:28
mveCPallini27-Jun-09 4:28 
QuestionDoes it have a part for C++ builder? Pin
favorxx26-Jun-09 21:20
favorxx26-Jun-09 21:20 
AnswerRe: Does it have a part for C++ builder? Pin
CPallini26-Jun-09 23:37
mveCPallini26-Jun-09 23:37 
GeneralRe: Does it have a part for C++ builder? Pin
favorxx27-Jun-09 2:19
favorxx27-Jun-09 2:19 
QuestionHow to read footer at a sector using C++/VC++ Pin
Shiv Murti Pal26-Jun-09 20:51
Shiv Murti Pal26-Jun-09 20:51 
QuestionWrite PE with VC6 [modified] Pin
tuan111126-Jun-09 17:51
tuan111126-Jun-09 17:51 
AnswerRe: Write kernel OS Pin
Michael Schubert26-Jun-09 23:52
Michael Schubert26-Jun-09 23:52 
GeneralRe: Write kernel OS Pin
sashoalm27-Jun-09 1:37
sashoalm27-Jun-09 1:37 
QuestionContext sensitive help in MFC app Pin
Sternocera26-Jun-09 10:39
Sternocera26-Jun-09 10:39 
Question[SOLVED] Help needed with Alphablend function [modified] Pin
Rozis26-Jun-09 10:01
Rozis26-Jun-09 10:01 
AnswerRe: Help needed with Alphablend function Pin
PJ Arends26-Jun-09 11:05
professionalPJ Arends26-Jun-09 11:05 
GeneralRe: Help needed with Alphablend function Pin
Rozis27-Jun-09 1:22
Rozis27-Jun-09 1:22 
GeneralRe: Help needed with Alphablend function Pin
PJ Arends27-Jun-09 6:08
professionalPJ Arends27-Jun-09 6:08 
Rozis wrote:
1. Is bf.BlendOp = AC_SRC_OVER; the same as: bf.BlendOp = 0; ??


from wingdi.h:
#define AC_SRC_OVER                 0x00



Rozis wrote:
2. To my opinion you do nothing to add an alpha channel to your bitmap. Thus your bitmap has no alpha channel - do you agree on that?


From MSDN[^]:
When the AlphaFormat member is AC_SRC_ALPHA, the source bitmap must be 32 bpp. If it is not, the AlphaBlend function will fail.
So you are correct, I did not worry about the alpha channel. I just set the AlphaFormat value to zero.


Rozis wrote:
3. Because i use another language then you: what does int s = DC.SaveDC() ; do? Is this one essential to Alphablend?


See http://msdn.microsoft.com/en-ca/library/dd162945(VS.85).aspx[^] and http://www.flounder.com/savedc.htm[^]


You may be right
I may be crazy
-- Billy Joel --


Within you lies the power for good - Use it!

GeneralRe: Help needed with Alphablend function Pin
Rozis27-Jun-09 8:25
Rozis27-Jun-09 8:25 
GeneralRe: Help needed with Alphablend function Pin
PJ Arends27-Jun-09 12:14
professionalPJ Arends27-Jun-09 12:14 
AnswerRe: Help needed with Alphablend function Pin
Rozis27-Jun-09 23:00
Rozis27-Jun-09 23:00 

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.