Click here to Skip to main content
15,917,642 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralNeed an algorithm (image analyzing) Pin
User 665815-May-04 1:05
User 665815-May-04 1:05 
GeneralRe: Need an algorithm (image analyzing) Pin
Felix Gartsman15-May-04 5:29
Felix Gartsman15-May-04 5:29 
GeneralRe: Need an algorithm (image analyzing) Pin
Alexander M.,15-May-04 5:39
Alexander M.,15-May-04 5:39 
GeneralRe: Need an algorithm (image analyzing) Pin
John R. Shaw15-May-04 7:19
John R. Shaw15-May-04 7:19 
GeneralThanks! Pin
User 665816-May-04 7:59
User 665816-May-04 7:59 
GeneralCFile Pin
Muad-Dib14-May-04 23:33
Muad-Dib14-May-04 23:33 
GeneralRe: CFile Pin
toxcct15-May-04 0:32
toxcct15-May-04 0:32 
GeneralShared Property Pages..! Pin
Halloko14-May-04 23:30
Halloko14-May-04 23:30 
Hello all,

Yet again another CPropertyPage question Smile | :)

I have these two propertypages which aren't identical but, however, contain some identical controls (that said, same message handlers and code).
So, instead of doubling my code by writing the same code in each CPropertyPage class I thought of two possibilities on how to only need to code it in one place (and hence making it easier to manage both pages):
1. Make an ordinary baseclass which both property pages derive from. Then each property page class has implemented the message handlers and simply call the base class' implementation.

2. Make a baseclass derived from CPropertyPage and implement message handlers for the shared controls. What I'm unsure about here, is if each property page knows how to correctly call the base class message handlers (is that even possible?).

Looking forward to some suggestions Big Grin | :-D
GeneralRe: Shared Property Pages..! Pin
Prakash Nadar15-May-04 22:09
Prakash Nadar15-May-04 22:09 
GeneralRe: Shared Property Pages..! Pin
Halloko15-May-04 22:24
Halloko15-May-04 22:24 
GeneralRe: Shared Property Pages..! Pin
Prakash Nadar16-May-04 3:58
Prakash Nadar16-May-04 3:58 
GeneralRe: Shared Property Pages..! Pin
Halloko16-May-04 4:02
Halloko16-May-04 4:02 
GeneralRe: Shared Property Pages..! Pin
Prakash Nadar16-May-04 4:09
Prakash Nadar16-May-04 4:09 
QuestionVB doesn't provide an HWND to OLE Controls? How to get it for an MFC OCX? Pin
Nirav Doshi14-May-04 22:28
Nirav Doshi14-May-04 22:28 
AnswerRe: VB doesn't provide an HWND to OLE Controls? How to get it for an MFC OCX? Pin
Member 42102515-May-04 6:35
Member 42102515-May-04 6:35 
GeneralRe: VB doesn't provide an HWND to OLE Controls? How to get it for an MFC OCX? Pin
Nirav Doshi16-May-04 18:34
Nirav Doshi16-May-04 18:34 
GeneralRe: VB doesn't provide an HWND to OLE Controls? How to get it for an MFC OCX? Pin
Member 42102517-May-04 5:59
Member 42102517-May-04 5:59 
GeneralRetrieving user details from the registry Pin
abdul moeed14-May-04 20:35
abdul moeed14-May-04 20:35 
GeneralRe: Retrieving user details from the registry Pin
22491714-May-04 21:56
22491714-May-04 21:56 
Generalreading and displaying a bmp image in vc++ Pin
Anonymous14-May-04 20:25
Anonymous14-May-04 20:25 
GeneralBackground Process Pin
cberam14-May-04 19:38
cberam14-May-04 19:38 
GeneralRe: Background Process Pin
22491714-May-04 22:01
22491714-May-04 22:01 
GeneralRe: Background Process Pin
cberam16-May-04 18:03
cberam16-May-04 18:03 
GeneralCombo box limit Pin
Anonymous14-May-04 18:47
Anonymous14-May-04 18:47 
GeneralRe: Combo box limit Pin
Michael Dunn14-May-04 20:10
sitebuilderMichael Dunn14-May-04 20:10 

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.