[Dev-C++] Passing CButton as a parameter
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Daniel G. <sp...@ho...> - 2002-12-23 12:19:05
|
(I'm using MS Visual C++)
I'm passing a CButton type member attribute to a function, but I get the
message "can't convert class CButton to class CButton".
// The function prototype
void ChangeDefaultPaperSize
(
LPDEVMODE DevModePointer,
CButton mRadioPaperType,
int& mPaperSize,
short& mPaperWidth,
short& mPaperLength
);
the call:
//////////////////////////////////////////////////////////////////////////
PAPERSIZE
ChangeDefaultPaperSize(DevModePointer, mRadioPaperType, mPaperSize,
mPaperWidth, mPaperLength);
_________________________________________________________________
The new MSN 8: smart spam protection and 3 months FREE*.
http://join.msn.com/?page=features/junkmail&xAPID=42&PS=47575&PI=7324&DI=7474&SU=
http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_smartspamprotection_3mf
|