Click here to Skip to main content
15,895,256 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: capture screen with cursor Pin
Abhi@Work21-Sep-03 19:29
Abhi@Work21-Sep-03 19:29 
GeneralRe: capture screen with cursor Pin
David Crow22-Sep-03 3:12
David Crow22-Sep-03 3:12 
Questionread/write BMP,JPG,GIF file ? Pin
_skidrow_vn_21-Sep-03 12:24
_skidrow_vn_21-Sep-03 12:24 
AnswerRe: read/write BMP,JPG,GIF file ? Pin
Chris Losinger21-Sep-03 14:01
professionalChris Losinger21-Sep-03 14:01 
GeneralRe: read/write BMP,JPG,GIF file ? Pin
Johann Gerell22-Sep-03 1:36
Johann Gerell22-Sep-03 1:36 
GeneralRe: read/write BMP,JPG,GIF file ? Pin
Chris Losinger22-Sep-03 1:59
professionalChris Losinger22-Sep-03 1:59 
GeneralRe: read/write BMP,JPG,GIF file ? Pin
Johann Gerell22-Sep-03 22:49
Johann Gerell22-Sep-03 22:49 
GeneralExtFloodFill Error Pin
Rigel521-Sep-03 11:32
Rigel521-Sep-03 11:32 
I am writing a simple game program using MS Visual C++ 6.0 and I keep getting the following error message:

error C2660: 'ExtFloodFill' : function does not take 4 parameters

The confusing thing is I have taken the function all almost literally from the C++ MSDN help. My actual line of code is:

ExtFloodFill( pbotLeft.x + 5, pbotLeft.y-5, RGB(0,0,255), FLOODFILLBORDER);

I have checked in the debugger that all arguments are defined except for FLOODFILLBORDER which I lifted straight off MSDN help again.

This code is in a function being called by my SDI windows View class OnDraw function.

I experienced a similar problem using the following code:

CRect lRect;
GetClientRect(lRect);
lRect.NormalizeRect();

If I placed it in the OnDraw function it worked perfectly. If I moved it to my new class and called it from OnDraw I got the

error C2660: 'GetClientRect' : function does not take 1 parameters.

Is this an MFC inheritance issue, a function override or just a stupid omission on my part?

Thanks to any help I can get.

GeneralRe: ExtFloodFill Error Pin
Michael Dunn21-Sep-03 14:33
sitebuilderMichael Dunn21-Sep-03 14:33 
GeneralHave a question about color in a control... Pin
Snyp21-Sep-03 9:47
Snyp21-Sep-03 9:47 
GeneralRe: Have a question about color in a control... Pin
Ravi Bhavnani21-Sep-03 11:19
professionalRavi Bhavnani21-Sep-03 11:19 
Generaldebug assertion failed in propertysheets Pin
Anonymous21-Sep-03 9:46
Anonymous21-Sep-03 9:46 
GeneralRe: debug assertion failed in propertysheets Pin
David Crow21-Sep-03 10:17
David Crow21-Sep-03 10:17 
GeneralRe: debug assertion failed in propertysheets Pin
Anonymous23-Sep-03 9:29
Anonymous23-Sep-03 9:29 
GeneralRe: debug assertion failed in propertysheets Pin
David Crow23-Sep-03 9:36
David Crow23-Sep-03 9:36 
GeneralRe: debug assertion failed in propertysheets Pin
Anonymous26-Sep-03 5:09
Anonymous26-Sep-03 5:09 
GeneralCreateWindow fails Pin
User 665821-Sep-03 8:51
User 665821-Sep-03 8:51 
GeneralRe: CreateWindow fails Pin
Toni7821-Sep-03 9:29
Toni7821-Sep-03 9:29 
GeneralRe: CreateWindow fails Pin
User 665821-Sep-03 9:35
User 665821-Sep-03 9:35 
GeneralCPropertyPage from DLL extension Pin
Hans Ruck21-Sep-03 7:29
Hans Ruck21-Sep-03 7:29 
GeneralRe: CPropertyPage from DLL extension Pin
JWood22-Sep-03 9:38
JWood22-Sep-03 9:38 
GeneralRe: CPropertyPage from DLL extension Pin
Hans Ruck23-Sep-03 23:43
Hans Ruck23-Sep-03 23:43 
GeneralInserting GIF in Rich Edit Control Pin
Shah Shahpori21-Sep-03 7:21
sussShah Shahpori21-Sep-03 7:21 
GeneralRe: Inserting GIF in Rich Edit Control Pin
JWood22-Sep-03 9:31
JWood22-Sep-03 9:31 
Questioncode for making a morph program? Pin
andreas75521-Sep-03 6:06
sussandreas75521-Sep-03 6:06 

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.