Click here to Skip to main content
15,844,387 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: BFFM_SETSELECTION question Pin
nm_1148-Jan-06 19:40
nm_1148-Jan-06 19:40 
Questionquestions about pointers Pin
neodeaths7-Jan-06 20:28
neodeaths7-Jan-06 20:28 
AnswerRe: questions about pointers Pin
Prakash Nadar7-Jan-06 21:58
Prakash Nadar7-Jan-06 21:58 
AnswerRe: questions about pointers Pin
vikas amin7-Jan-06 22:52
vikas amin7-Jan-06 22:52 
GeneralRe: questions about pointers Pin
Prakash Nadar7-Jan-06 23:01
Prakash Nadar7-Jan-06 23:01 
QuestionWhy the application could not run at Windows XP? Pin
rushing7-Jan-06 18:22
rushing7-Jan-06 18:22 
AnswerRe: Why the application could not run at Windows XP? Pin
Prakash Nadar7-Jan-06 22:44
Prakash Nadar7-Jan-06 22:44 
QuestionGDI+ Visual C++ wrapper class operators missing? Pin
bob169727-Jan-06 16:03
bob169727-Jan-06 16:03 
I just realized the Point class does not provide the = operator. Now that I'm trying to actually use GDI+ in my apps, I'm finding the classes for Rect, RectF, Point, and PointF to be rather peculiar in design.

Also, Rect doesn't provide functions that return the endpoints.

I can't create an Array of Point and copy another Point into one of it's elements (unless it's during initialization). Instead, I have to resort to assigning the X and Y members explicitly into each array element.

I'm not sure if there is some bigger picture I'm missing here or some new highly ultra OOP paradigm I missed the whitepaper on or if this design is just weak and missing some of the useful operators that MFC provided on many of it's classes.

Does anyone have any insight concerning these omissions in some of the more basic classes like Point and Rect? My code just looks rather bloated copying the members individually like this so I thought maybe I'm doing it wrong.

Thanks in advance for any guidance.

-- modified at 21:59 Saturday 7th January, 2006
Questionask one question in VC .NET Pin
Pierre,Hsieh7-Jan-06 14:51
Pierre,Hsieh7-Jan-06 14:51 
AnswerRe: ask one question in VC .NET Pin
PJ Arends7-Jan-06 15:02
professionalPJ Arends7-Jan-06 15:02 
GeneralRe: ask one question in VC .NET Pin
Pierre,Hsieh7-Jan-06 15:14
Pierre,Hsieh7-Jan-06 15:14 
GeneralRe: ask one question in VC .NET Pin
PJ Arends7-Jan-06 15:44
professionalPJ Arends7-Jan-06 15:44 
GeneralRe: ask one question in VC .NET Pin
Pierre,Hsieh7-Jan-06 16:03
Pierre,Hsieh7-Jan-06 16:03 
QuestionRe: ask one question in VC .NET Pin
David Crow7-Jan-06 18:15
David Crow7-Jan-06 18:15 
QuestionSimulating mouse clicks Pin
Still learning how to code7-Jan-06 12:46
Still learning how to code7-Jan-06 12:46 
AnswerRe: Simulating mouse clicks Pin
vipinasda7-Jan-06 13:04
vipinasda7-Jan-06 13:04 
GeneralRe: Simulating mouse clicks Pin
Still learning how to code7-Jan-06 22:15
Still learning how to code7-Jan-06 22:15 
AnswerRe: Simulating mouse clicks Pin
#realJSOP8-Jan-06 4:00
mve#realJSOP8-Jan-06 4:00 
GeneralRe: Simulating mouse clicks Pin
Still learning how to code8-Jan-06 6:41
Still learning how to code8-Jan-06 6:41 
AnswerRe: Simulating mouse clicks Pin
Stephen Hewitt9-Jan-06 12:47
Stephen Hewitt9-Jan-06 12:47 
Question[Message Deleted] Pin
S.C.Wong7-Jan-06 7:08
S.C.Wong7-Jan-06 7:08 
AnswerRe: How to add an ActiveX control in another ActiveX control? Pin
Prakash Nadar7-Jan-06 19:05
Prakash Nadar7-Jan-06 19:05 
Questionhow to pass a class ,object to a function by using pointers? Pin
neodeaths7-Jan-06 5:32
neodeaths7-Jan-06 5:32 
AnswerRe: how to pass a class ,object to a function by using pointers? Pin
Prakash Nadar7-Jan-06 5:46
Prakash Nadar7-Jan-06 5:46 
GeneralRe: how to pass a class ,object to a function by using pointers? Pin
neodeaths7-Jan-06 5:56
neodeaths7-Jan-06 5:56 

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.