If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register or Login
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Re: [win32] - transparent and opacy

But have you checked that SetBackColor() is called before the WM_ERASEBKGND message is recieved? If it is called after, then clrBackColor won't have been set before it's used in the message process code.

All advice is offered in good faith only. You are ultimately responsible for effects of your programs and the integrity of the machines they run on.
C, C++ Compiler: Microsoft VS2015

Re: [win32] - transparent and opacy

Originally Posted by 2kaud

But have you checked that SetBackColor() is called before the WM_ERASEBKGND message is recieved? If it is called after, then clrBackColor won't have been set before it's used in the message process code.