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

C / C++ / MFC

 
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 
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 
Guess what, you're right!! That was the thing i was overlooking. You're a genius!!!
Did a quick try, made 0x00800000 as the last parameter to Alphablend() and it does the job. And it is lightyears faster then the workaround i made with getpixel(). Problem solved!

The reason i never questioned it, is because a struct is a chunk of memory so i expected this would always be a pointer when used as a parameter. I mean: when a have a struct of let's say 200 bytes and use it as a parameter to a function would this mean these 200 bytes are allocated on the stack?

Saw you're living in Canada, although you have a dutch name. So whenever you are in holland, call me, i have a present for you. Thanks for taking your time.

Rozis
GeneralRe: Help needed with Alphablend function Pin
PJ Arends28-Jun-09 19:48
professionalPJ Arends28-Jun-09 19:48 
QuestionSetting font.. [modified] Pin
kumar sanghvi26-Jun-09 9:53
kumar sanghvi26-Jun-09 9:53 
AnswerRe: Setting font.. Pin
CPallini26-Jun-09 10:06
mveCPallini26-Jun-09 10:06 
GeneralRe: Setting font.. Pin
kumar sanghvi26-Jun-09 10:10
kumar sanghvi26-Jun-09 10:10 
GeneralRe: Setting font.. Pin
CPallini26-Jun-09 10:25
mveCPallini26-Jun-09 10:25 
GeneralRe: Setting font.. Pin
kumar sanghvi26-Jun-09 17:55
kumar sanghvi26-Jun-09 17:55 
GeneralRe: Setting font.. Pin
kumar sanghvi27-Jun-09 2:26
kumar sanghvi27-Jun-09 2:26 
QuestionUsing CoCreateInstance from C to use class in VB DLL [modified] Pin
BeerFizz26-Jun-09 8:08
BeerFizz26-Jun-09 8:08 
QuestionRe: Using CoCreateInstance from C to use class in VB DLL Pin
CPallini26-Jun-09 8:58
mveCPallini26-Jun-09 8:58 
AnswerRe: Using CoCreateInstance from C to use class in VB DLL Pin
BeerFizz26-Jun-09 9:30
BeerFizz26-Jun-09 9:30 
GeneralRe: Using CoCreateInstance from C to use class in VB DLL Pin
CPallini26-Jun-09 9:38
mveCPallini26-Jun-09 9:38 
General[Message Deleted] Pin
BeerFizz26-Jun-09 10:00
BeerFizz26-Jun-09 10:00 
GeneralRe: Using CoCreateInstance from C to use class in VB DLL Pin
BeerFizz26-Jun-09 10:06
BeerFizz26-Jun-09 10:06 
QuestionRe: Using CoCreateInstance from C to use class in VB DLL Pin
CPallini26-Jun-09 10:17
mveCPallini26-Jun-09 10:17 
AnswerRe: Using CoCreateInstance from C to use class in VB DLL Pin
BeerFizz26-Jun-09 10:41
BeerFizz26-Jun-09 10:41 
GeneralRe: Using CoCreateInstance from C to use class in VB DLL Pin
CPallini26-Jun-09 11:00
mveCPallini26-Jun-09 11:00 
GeneralRe: Using CoCreateInstance from C to use class in VB DLL Pin
BeerFizz26-Jun-09 11:11
BeerFizz26-Jun-09 11:11 

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.