Click here to Skip to main content
15,913,722 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Accused of function pointering Pin
basementman17-Nov-04 5:00
basementman17-Nov-04 5:00 
GeneralChange color of items of list control Pin
Anonymous17-Nov-04 3:25
Anonymous17-Nov-04 3:25 
GeneralRe: Change color of items of list control Pin
RChin17-Nov-04 3:56
RChin17-Nov-04 3:56 
GeneralPerspective Warping Pin
Xa3apT17-Nov-04 3:18
Xa3apT17-Nov-04 3:18 
GeneralSetting the IP address Pin
JC907917-Nov-04 3:12
JC907917-Nov-04 3:12 
GeneralRe: Setting the IP address Pin
ThatsAlok17-Nov-04 17:14
ThatsAlok17-Nov-04 17:14 
GeneralConversion from Encoded Bitstream file to any mediafile format Pin
handle12317-Nov-04 1:46
handle12317-Nov-04 1:46 
GeneralGDI Expert Knowledge Required Pin
Kyudos17-Nov-04 1:25
Kyudos17-Nov-04 1:25 
I am displaying a bitmap, loaded from a file, that my users can move and resize as they please. I've managed to implement transparency and flipping and mirroring. So far so good.

Now, under certain conditions (if the bitmpa is linked to another display), I'd like to highlight the bitmap by drawing a frame around it (well, actually I want to frame only the non-transparent region)). I have two problems:

1). I've tried framing the source bitmap - but every region function I've tried seems to return a rectangular region, so I end up with a rectangular frame, not a frame that outlines the non-transparent shape of the bitmap.

2). Obviously, framing the source bitmap is not what I need. But how do I get hold of the (potentially) moved and resized transparent bitmap that is actually displayed?

Thanks
GeneralRe: GDI Expert Knowledge Required Pin
basementman17-Nov-04 5:19
basementman17-Nov-04 5:19 
GeneralRe: GDI Expert Knowledge Required Pin
Kyudos17-Nov-04 5:30
Kyudos17-Nov-04 5:30 
GeneralRe: Help me : simple Edit Ctrl Pin
dSolariuM17-Nov-04 1:02
dSolariuM17-Nov-04 1:02 
Questionhow to find the process id of an open TCP connection in Win2K Pin
Anonymous17-Nov-04 0:16
Anonymous17-Nov-04 0:16 
AnswerRe: how to find the process id of an open TCP connection in Win2K Pin
Alexander M.,17-Nov-04 9:51
Alexander M.,17-Nov-04 9:51 
Generalits abt CClientDC().....there is a problem when i use it..... Pin
namaskaaram16-Nov-04 23:36
namaskaaram16-Nov-04 23:36 
GeneralRe: its abt CClientDC().....there is a problem when i use it..... Pin
Antony M Kancidrowski17-Nov-04 0:05
Antony M Kancidrowski17-Nov-04 0:05 
Questioncommand line switches? Pin
Keck16-Nov-04 23:26
Keck16-Nov-04 23:26 
AnswerRe: command line switches? Pin
Antony M Kancidrowski17-Nov-04 0:11
Antony M Kancidrowski17-Nov-04 0:11 
GeneralRe: command line switches? Pin
Keck17-Nov-04 0:19
Keck17-Nov-04 0:19 
AnswerRe: command line switches? Pin
handle12317-Nov-04 1:50
handle12317-Nov-04 1:50 
AnswerRe: command line switches? Pin
shiraztk17-Nov-04 3:12
shiraztk17-Nov-04 3:12 
QuestionVC++: How can i know the Document object is created or not? Pin
hemagiriyb16-Nov-04 23:25
hemagiriyb16-Nov-04 23:25 
AnswerRe: VC++: How can i know the Document object is created or not? Pin
John R. Shaw17-Nov-04 10:00
John R. Shaw17-Nov-04 10:00 
GeneralParse a XML from a CHttpFile object Pin
Cris16-Nov-04 23:10
Cris16-Nov-04 23:10 
Generalcgi Pin
hou_12616-Nov-04 23:09
hou_12616-Nov-04 23:09 
Generalcoinstaller build - vc6 vs. vc7 Pin
calin_iaru16-Nov-04 22:33
calin_iaru16-Nov-04 22:33 

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.