Click here to Skip to main content
15,890,845 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionc LANGUAGE PROGRAM Pin
Marium Malik6-Oct-11 5:09
Marium Malik6-Oct-11 5:09 
AnswerRe: c LANGUAGE PROGRAM Pin
Erudite_Eric6-Oct-11 5:29
Erudite_Eric6-Oct-11 5:29 
QuestionRe: c LANGUAGE PROGRAM Pin
David Crow6-Oct-11 9:34
David Crow6-Oct-11 9:34 
AnswerRe: c LANGUAGE PROGRAM Pin
Erudite_Eric6-Oct-11 22:13
Erudite_Eric6-Oct-11 22:13 
GeneralRe: c LANGUAGE PROGRAM Pin
Marium Malik19-Oct-11 4:33
Marium Malik19-Oct-11 4:33 
GeneralRe: c LANGUAGE PROGRAM Pin
Erudite_Eric20-Oct-11 7:49
Erudite_Eric20-Oct-11 7:49 
QuestionProblem with overlapping alphablended lines in GDI+ Pin
Code-o-mat6-Oct-11 0:56
Code-o-mat6-Oct-11 0:56 
AnswerRe: Problem with overlapping alphablended lines in GDI+ Pin
PJ Arends7-Oct-11 9:55
professionalPJ Arends7-Oct-11 9:55 
Code-o-mat wrote:
I could try creating a bitmap, drawing the lines onto it, trying to render an
alpha channel somehow and then alphablend this onto the original image but i
wouldn't like to do this because it sounds a lot like wasting resources and not
even sure how to render the alpha.


I would use the bitmap method. Render your lines onto a white background and use AlphaBlend()[^] to render it onto your DC. In the BLENDFUNCTION structure (the last parameter to AlphaBlend) set BlendOp to AC_SRC_OVER and play with SourceConstantAlpha.
Independent ACN Business Owner
  • Check out the possibilities for your future!
  • Financial independance
  • Full time or Part time
  • In more than 20 countries through North America, Europe, Asia and the Pacific
  • Featuring the ACN IRIS 5000 video phone. See the person you are talking to.


Within you lies the power for good - Use it!

GeneralRe: Problem with overlapping alphablended lines in GDI+ Pin
Code-o-mat7-Oct-11 10:25
Code-o-mat7-Oct-11 10:25 
QuestionShort cut key is not working properly Pin
Amrit Agr6-Oct-11 0:43
Amrit Agr6-Oct-11 0:43 
AnswerRe: Short cut key is not working properly Pin
Richard MacCutchan6-Oct-11 5:55
mveRichard MacCutchan6-Oct-11 5:55 
AnswerRe: Short cut key is not working properly Pin
PJ Arends7-Oct-11 11:31
professionalPJ Arends7-Oct-11 11:31 
QuestionResizing a WPF Window that is a child to a CView Pin
nadine123455-Oct-11 22:01
nadine123455-Oct-11 22:01 
AnswerRe: Resizing a WPF Window that is a child to a CView Pin
TheGreatAndPowerfulOz6-Oct-11 11:05
TheGreatAndPowerfulOz6-Oct-11 11:05 
GeneralRe: Resizing a WPF Window that is a child to a CView Pin
nadine123456-Oct-11 21:34
nadine123456-Oct-11 21:34 
GeneralRe: Resizing a WPF Window that is a child to a CView Pin
TheGreatAndPowerfulOz7-Oct-11 4:47
TheGreatAndPowerfulOz7-Oct-11 4:47 
GeneralRe: Resizing a WPF Window that is a child to a CView Pin
nadine123458-Oct-11 9:09
nadine123458-Oct-11 9:09 
AnswerRe: Resizing a WPF Window that is a child to a CView Pin
TheGreatAndPowerfulOz18-Oct-11 7:33
TheGreatAndPowerfulOz18-Oct-11 7:33 
QuestionHow do you const your references? Pin
User 5838525-Oct-11 18:35
User 5838525-Oct-11 18:35 
AnswerRe: How do you const your references? Pin
Stefan_Lang6-Oct-11 0:53
Stefan_Lang6-Oct-11 0:53 
GeneralRe: How do you const your references? Pin
TheGreatAndPowerfulOz6-Oct-11 5:55
TheGreatAndPowerfulOz6-Oct-11 5:55 
GeneralRe: How do you const your references? Pin
Stefan_Lang6-Oct-11 6:09
Stefan_Lang6-Oct-11 6:09 
GeneralRe: How do you const your references? Pin
TheGreatAndPowerfulOz6-Oct-11 6:37
TheGreatAndPowerfulOz6-Oct-11 6:37 
GeneralRe: How do you const your references? Pin
Stefan_Lang6-Oct-11 6:48
Stefan_Lang6-Oct-11 6:48 
GeneralRe: How do you const your references? Pin
TheGreatAndPowerfulOz6-Oct-11 7:07
TheGreatAndPowerfulOz6-Oct-11 7:07 

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.