WTL Question - Pointers to different dialogs
-
I'm writing an app that uses multiple CAxDialogImpl pages within a CWindow - I will hide them and show them as needed (like a property sheet, but I don't want the tabs and other buttons). The dialog children can keep a pointer to the parent, but how do I have a generic pointer to the active child? At the moment I'm just keeping the window handle and that will get me by for a couple of days, but I'm going to need a pointer to these classes, but I cannot use a base class because all the dialogs are temples using CAxDialogImpl. Suggestions? David Stidolph Winternals Austin, TX
-
I'm writing an app that uses multiple CAxDialogImpl pages within a CWindow - I will hide them and show them as needed (like a property sheet, but I don't want the tabs and other buttons). The dialog children can keep a pointer to the parent, but how do I have a generic pointer to the active child? At the moment I'm just keeping the window handle and that will get me by for a couple of days, but I'm going to need a pointer to these classes, but I cannot use a base class because all the dialogs are temples using CAxDialogImpl. Suggestions? David Stidolph Winternals Austin, TX
All
CAxDialogImpl<...>
s derive (by default) fromCWindow
. Can't you use this as your base class? Joaquín M López Muñoz Telefónica, Investigación y Desarrollo