Click here to Skip to main content
15,912,756 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Object serialization Pin
Peter Krankl22-Apr-04 3:38
sussPeter Krankl22-Apr-04 3:38 
GeneralRe: Object serialization Pin
Anonymous22-Apr-04 4:28
Anonymous22-Apr-04 4:28 
GeneralRe: Object serialization Pin
Peter Krankl22-Apr-04 4:55
sussPeter Krankl22-Apr-04 4:55 
GeneralRe: Object serializatio Pin
Peter Krankl22-Apr-04 4:56
sussPeter Krankl22-Apr-04 4:56 
GeneralMS-SQL and C++ Pin
andysmurfen22-Apr-04 2:17
andysmurfen22-Apr-04 2:17 
GeneralRe: MS-SQL and C++ Pin
John M. Drescher22-Apr-04 3:02
John M. Drescher22-Apr-04 3:02 
GeneralRe: MS-SQL and C++ Pin
RChin22-Apr-04 3:15
RChin22-Apr-04 3:15 
GeneralDrawState (CDC) problem Pin
YaronNir22-Apr-04 2:13
YaronNir22-Apr-04 2:13 
Hello,

how can i draw an image that would be transparent? which means will get the background of where it is drawn....

this is the code i use to draw the image:

HBITMAP hBmp = pDlgInf->GetBmp();
CPoint pnt(rc.left + SPACE_WIDTH / 5,rcText.top);
CSize  size(IMAGE_DIMENTIONS,IMAGE_DIMENTIONS);
pDC->DrawState(pnt,size,hBmp,DST_BITMAP);



i see the image fine, but it is not transparent...the transparent color (0,128,128) is shown there...


can any1 help?

thanks in advanced
Yaron

Ask not what your application can do for you,
Ask what you can do for your application
GeneralRe: DrawState (CDC) problem Pin
YoSilver22-Apr-04 3:13
YoSilver22-Apr-04 3:13 
GeneralRe: DrawState (CDC) problem Pin
YaronNir22-Apr-04 4:50
YaronNir22-Apr-04 4:50 
GeneralRe: DrawState (CDC) problem Pin
YoSilver26-Apr-04 10:02
YoSilver26-Apr-04 10:02 
QuestionHow to make CDateTimeCtrl not editable, without arrows ? Pin
vgrigor22-Apr-04 2:11
vgrigor22-Apr-04 2:11 
AnswerRe: How to make CDateTimeCtrl not editable, without arrows ? Pin
ravjak22-Apr-04 4:32
ravjak22-Apr-04 4:32 
Generalserial comm in w2k Pin
фил22-Apr-04 1:56
фил22-Apr-04 1:56 
GeneralProblem with CStdioFile Pin
Stojan7822-Apr-04 1:36
Stojan7822-Apr-04 1:36 
GeneralRe: Problem with CStdioFile Pin
Steve S22-Apr-04 1:53
Steve S22-Apr-04 1:53 
GeneralRe: Problem with CStdioFile Pin
jmkhael22-Apr-04 1:53
jmkhael22-Apr-04 1:53 
GeneralRe: Problem with CStdioFile Pin
RChin22-Apr-04 1:53
RChin22-Apr-04 1:53 
GeneralRe: Problem with CStdioFile Pin
Stojan7822-Apr-04 2:11
Stojan7822-Apr-04 2:11 
Generalgraphics in c/c++ Pin
kcal22-Apr-04 1:36
kcal22-Apr-04 1:36 
GeneralRe: graphics in c/c++ Pin
Ian Darling22-Apr-04 2:06
Ian Darling22-Apr-04 2:06 
GeneralChange Style subsequent on CSlideCtrl Pin
AnTri22-Apr-04 1:13
AnTri22-Apr-04 1:13 
GeneralProblem of setting size and position of scrollbar's thumb Pin
bg2sc22-Apr-04 1:06
bg2sc22-Apr-04 1:06 
QuestionHow do i detect user inactivity ? Pin
rallister22-Apr-04 1:02
rallister22-Apr-04 1:02 
AnswerRe: How do i detect user inactivity ? Pin
jmkhael22-Apr-04 1:10
jmkhael22-Apr-04 1:10 

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.