Click here to Skip to main content
16,008,010 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: problem with OnFileOpen Pin
PJ Arends19-Jul-04 7:22
professionalPJ Arends19-Jul-04 7:22 
GeneralRe: problem with OnFileOpen Pin
Antti Keskinen19-Jul-04 14:30
Antti Keskinen19-Jul-04 14:30 
GeneralRe: problem with OnFileOpen Pin
toothpick20-Jul-04 12:56
toothpick20-Jul-04 12:56 
GeneralFile Mapping Pin
Toni7819-Jul-04 6:24
Toni7819-Jul-04 6:24 
GeneralRe: File Mapping Pin
bikram singh19-Jul-04 11:02
bikram singh19-Jul-04 11:02 
GeneralRe: File Mapping Pin
Toni7821-Jul-04 8:47
Toni7821-Jul-04 8:47 
GeneralUsing the Clipboard Pin
tunerica19-Jul-04 6:21
tunerica19-Jul-04 6:21 
GeneralRe: Using the Clipboard Pin
PJ Arends19-Jul-04 7:49
professionalPJ Arends19-Jul-04 7:49 
RTFM[^]

[quote]

CBitmap::GetBitmapDimension
CSize GetBitmapDimension( ) const;

Return Value

The width and height of the bitmap, measured in 0.1-millimeter units. The height is in the cy member of the CSize object, and the width is in the cx member. If the bitmap width and height have not been set by using SetBitmapDimension, the return value is 0.

Remarks

Returns the width and height of the bitmap. The height and width are assumed to have been set previously by using the SetBitmapDimension member function.

CBitmap Overview | Class Members | Hierarchy Chart

See Also CBitmap::SetBitmapDimension

[/quote]

Use a BITMAP structure filled with CBitmap::GetBitmap(BITMAP *) to get the bitmaps dimensions.








"You're obviously a superstar." - Christian Graus about me - 12 Feb '03

"Obviously ???  You're definitely a superstar!!!" mYkel - 21 Jun '04

Within you lies the power for good - Use it!
GeneralSending mail using CDOSYS Pin
Mike Beckerleg19-Jul-04 5:41
Mike Beckerleg19-Jul-04 5:41 
GeneralRe: Sending mail using CDOSYS Pin
Antti Keskinen19-Jul-04 14:35
Antti Keskinen19-Jul-04 14:35 
Generalfailing constructors Pin
Michael Farrugia19-Jul-04 5:24
Michael Farrugia19-Jul-04 5:24 
GeneralRe: failing constructors Pin
peterchen19-Jul-04 5:41
peterchen19-Jul-04 5:41 
GeneralRe: failing constructors Pin
bikram singh19-Jul-04 11:25
bikram singh19-Jul-04 11:25 
GeneralRe: failing constructors Pin
Michael Farrugia19-Jul-04 22:53
Michael Farrugia19-Jul-04 22:53 
GeneralSetBkColor does not seem to work in OnInitDialog Pin
maxsteel19-Jul-04 5:02
maxsteel19-Jul-04 5:02 
GeneralRe: SetBkColor does not seem to work in OnInitDialog Pin
vcplusplus19-Jul-04 5:52
vcplusplus19-Jul-04 5:52 
GeneralRe: SetBkColor does not seem to work in OnInitDialog Pin
maxsteel19-Jul-04 18:42
maxsteel19-Jul-04 18:42 
GeneralRe: SetBkColor does not seem to work in OnInitDialog Pin
vcplusplus20-Jul-04 3:04
vcplusplus20-Jul-04 3:04 
GeneralRe: SetBkColor does not seem to work in OnInitDialog Pin
Alexander Wiseman19-Jul-04 5:56
Alexander Wiseman19-Jul-04 5:56 
GeneralRe: SetBkColor does not seem to work in OnInitDialog Pin
Ravi Bhavnani19-Jul-04 6:54
professionalRavi Bhavnani19-Jul-04 6:54 
GeneralRe: SetBkColor does not seem to work in OnInitDialog Pin
maxsteel19-Jul-04 18:43
maxsteel19-Jul-04 18:43 
QuestionSDI Project - How do display a new Window object that is NOT On Top of the Main Window?? Pin
jerry1211a19-Jul-04 4:56
jerry1211a19-Jul-04 4:56 
AnswerRe: SDI Project - How do display a new Window object that is NOT On Top of the Main Window?? Pin
valikac19-Jul-04 5:02
valikac19-Jul-04 5:02 
QuestionHow to integrate MFC projects? Pin
pork chop19-Jul-04 3:35
pork chop19-Jul-04 3:35 
AnswerRe: How to integrate MFC projects? Pin
V.19-Jul-04 3:41
professionalV.19-Jul-04 3:41 

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.