FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 2 matches
Forum Index
Author Message
  Topic: Message maps vs. virtual functions
nanobyte

Replies: 3
Views: 4545

PostForum: DFL   Posted: Thu Jul 13, 2006 11:33 am   Subject: Message maps vs. virtual functions
Yes. So it is basically like this (?):



class BasicWindow
{
protected virtual void OnResize(ResizeEventArgs e) // Introduced by BasicWindow
{
// ... fire event here ... ...
  Topic: Message maps vs. virtual functions
nanobyte

Replies: 3
Views: 4545

PostForum: DFL   Posted: Thu Jul 13, 2006 6:12 am   Subject: Message maps vs. virtual functions
I'm a little confused about which approach is best. Proponents of message maps seem to claim that if you didn't use them, you'd have to create one virtual function per message in a base window class. ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group