Click here to Skip to main content
15,892,298 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CStatic bmp and Mouse click message Pin
Michael Dunn7-Jun-01 19:27
sitebuilderMichael Dunn7-Jun-01 19:27 
GeneralAs for message destination Pin
BryanBHU8-Jun-01 5:53
BryanBHU8-Jun-01 5:53 
GeneralHelp! Database Question Pin
Ryan Baillargeon7-Jun-01 6:50
Ryan Baillargeon7-Jun-01 6:50 
GeneralRe: Access Database? Pin
Masaaki Onishi7-Jun-01 7:30
Masaaki Onishi7-Jun-01 7:30 
GeneralGraying out effect Pin
Chris Campbell7-Jun-01 6:13
Chris Campbell7-Jun-01 6:13 
GeneralRe: Graying out effect Pin
Christian Graus7-Jun-01 12:57
protectorChristian Graus7-Jun-01 12:57 
GeneralRe: Graying out effect Pin
8-Jun-01 6:54
suss8-Jun-01 6:54 
GeneralCPoint error Pin
mr20037-Jun-01 6:06
mr20037-Jun-01 6:06 
Hi,,
I have a function,,

CPoint Coordinates(CPoint pStart, CPoint pEnd)
{
return result;
result.x = pStart.x + pEnd.x;
result.y = pStart.y + pEbd.y;

return result;
}

and in my CView class, i have :

.
.
.
.
CPoint test = Coordinates(Start, End)

the compiler gives me the following error:

error C2664: 'Coordinates' : cannot convert parameter 1 from 'const class CPoint' to 'class CPoint &'Conversion loses qualifiers


what should i do?Cry | :((

Ehsan Behboudi
GeneralRe: CPoint error Pin
Mukkie7-Jun-01 8:58
Mukkie7-Jun-01 8:58 
GeneralRe: CPoint error Pin
Christian Graus7-Jun-01 13:00
protectorChristian Graus7-Jun-01 13:00 
GeneralCComboBox Drop-down Height Pin
Derek Lakin7-Jun-01 5:05
Derek Lakin7-Jun-01 5:05 
GeneralRe: CComboBox Drop-down Height Pin
Santiago Suárez7-Jun-01 5:58
Santiago Suárez7-Jun-01 5:58 
GeneralRe: CComboBox Drop-down Height Pin
Derek Lakin7-Jun-01 22:19
Derek Lakin7-Jun-01 22:19 
GeneralRe: CComboBox Drop-down Height Pin
Deepak Khajuria7-Jun-01 22:38
Deepak Khajuria7-Jun-01 22:38 
GeneralRe: CComboBox Drop-down Height Pin
Derek Lakin8-Jun-01 0:28
Derek Lakin8-Jun-01 0:28 
GeneralFilling of a rectangle with bitmap pattern Pin
7-Jun-01 4:50
suss7-Jun-01 4:50 
GeneralRe: Filling of a rectangle with bitmap pattern Pin
Christian Graus7-Jun-01 13:12
protectorChristian Graus7-Jun-01 13:12 
GeneralIndenting in Chris Maunders Grid Ctrl Pin
7-Jun-01 4:24
suss7-Jun-01 4:24 
GeneralRe: Indenting in Chris Maunders Grid Ctrl Pin
7-Jun-01 5:15
suss7-Jun-01 5:15 
GeneralAccessing Instance & Resource Handle from an Extention DLL Pin
D.D. de Kerf7-Jun-01 4:16
D.D. de Kerf7-Jun-01 4:16 
General_beginthread and MFC Pin
7-Jun-01 4:06
suss7-Jun-01 4:06 
GeneralRe: _beginthread and MFC Pin
Ulf Öhlén7-Jun-01 5:23
Ulf Öhlén7-Jun-01 5:23 
GeneralRe: _beginthread and MFC Pin
Li Lirong7-Jun-01 16:06
Li Lirong7-Jun-01 16:06 
GeneralRe: _beginthread and MFC Pin
D.D. de Kerf7-Jun-01 20:47
D.D. de Kerf7-Jun-01 20:47 
GeneralRe: _beginthread and MFC Pin
8-Jun-01 4:32
suss8-Jun-01 4:32 

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.