Click here to Skip to main content
15,920,438 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Dumb add variable question Pin
Christian Graus6-Aug-01 13:23
protectorChristian Graus6-Aug-01 13:23 
QuestionHow to add a member variable of one class to another class Pin
JerzyPeter6-Aug-01 11:27
JerzyPeter6-Aug-01 11:27 
AnswerRe: How to add a member variable of one class to another class Pin
Nemanja Trifunovic6-Aug-01 11:52
Nemanja Trifunovic6-Aug-01 11:52 
GeneralRe: How to add a member variable of one class to another class Pin
JerzyPeter7-Aug-01 3:50
JerzyPeter7-Aug-01 3:50 
GeneralRe: How to add a member variable of one class to another class Pin
User 98857-Aug-01 5:42
User 98857-Aug-01 5:42 
GeneralRe: How to add a member variable of one class to another class Pin
User 98857-Aug-01 5:42
User 98857-Aug-01 5:42 
GeneralRe: How to add a member variable of one class to another class Pin
JerzyPeter7-Aug-01 6:39
JerzyPeter7-Aug-01 6:39 
QuestionHow can I use a CRgn to draw on a CBitmap? Pin
Craig Miller6-Aug-01 11:08
Craig Miller6-Aug-01 11:08 
Hi,

I was wondering if anyone can tell me if the following is possible and how I
would go about doing it:

I have a CBitmap in memory that is created at start up that is 1750 x 2000
and is just an empty bitmap.

I have a list of corrodinates that I want to create CRgn's for, let's say I
have the following

0, 0, 10, 10
25, 50, 35, 60

I then load the Bitmap into a DC, the question is now, how do I create the
CRgn's on this bitmap? I've decided to try and use regions instead of a
color bitmap mask to do my image hotspots. Does anyone see anything that
I'm missing as to why this wouldn't work?

Thanks for any help you can provide,

Craig

AnswerRe: How can I use a CRgn to draw on a CBitmap? Pin
Baafie6-Aug-01 12:13
Baafie6-Aug-01 12:13 
GeneralRe: How can I use a CRgn to draw on a CBitmap? Pin
Craig Miller6-Aug-01 12:27
Craig Miller6-Aug-01 12:27 
GeneralRe: How can I use a CRgn to draw on a CBitmap? Pin
Christian Graus6-Aug-01 12:39
protectorChristian Graus6-Aug-01 12:39 
GeneralRe: How can I use a CRgn to draw on a CBitmap? Pin
Craig Miller6-Aug-01 12:45
Craig Miller6-Aug-01 12:45 
GeneralRe: How can I use a CRgn to draw on a CBitmap? Pin
Christian Graus6-Aug-01 12:48
protectorChristian Graus6-Aug-01 12:48 
GeneralRe: How can I use a CRgn to draw on a CBitmap? Pin
Craig Miller6-Aug-01 12:57
Craig Miller6-Aug-01 12:57 
GeneralRe: How can I use a CRgn to draw on a CBitmap? Pin
Christian Graus6-Aug-01 13:23
protectorChristian Graus6-Aug-01 13:23 
GeneralRe: How can I use a CRgn to draw on a CBitmap? Pin
Craig Miller6-Aug-01 13:30
Craig Miller6-Aug-01 13:30 
GeneralRe: How can I use a CRgn to draw on a CBitmap? Pin
Christian Graus6-Aug-01 13:32
protectorChristian Graus6-Aug-01 13:32 
GeneralIexplorer Pin
calebcohoon6-Aug-01 10:34
calebcohoon6-Aug-01 10:34 
GeneralRe: Iexplorer Pin
Not Active6-Aug-01 10:43
mentorNot Active6-Aug-01 10:43 
GeneralSetting a value and reading values in registry Pin
RobJones6-Aug-01 10:14
RobJones6-Aug-01 10:14 
GeneralRe: Setting a value and reading values in registry Pin
Not Active6-Aug-01 10:36
mentorNot Active6-Aug-01 10:36 
GeneralRe: Setting a value and reading values in registry Pin
RobJones6-Aug-01 11:56
RobJones6-Aug-01 11:56 
GeneralDebug v. Release Pin
flurinator6-Aug-01 9:51
flurinator6-Aug-01 9:51 
GeneralRe: Debug v. Release Pin
Baafie6-Aug-01 13:32
Baafie6-Aug-01 13:32 
GeneralRe: Debug v. Release Pin
flurinator6-Aug-01 20:04
flurinator6-Aug-01 20:04 

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.