Click here to Skip to main content
15,900,461 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralDisk Storage Space Pin
vin14-Nov-02 19:50
vin14-Nov-02 19:50 
GeneralDerived CListCtrl class Pin
kati4214-Nov-02 19:40
kati4214-Nov-02 19:40 
I would like to create a class much like a CListCtrl for file selection on a Pocket PC. I don't like the file dialog that's ready-to-use.

BUT, I'd like it to have a simple interface. So my thought was that I could use protected inheritance to derive a class (CFileListCtrl) from CListCtrl, so users of my custom control wouldn't be able to mess with any CListCtrl methods that could "mess up" my custom control.

Does this seem like a reasonable approach? Do any of you know if I have to do anything other than set up my custom methods (which will then use the methods of CListCtrl), and registering the custom control class as per one of the tutorials on this site on custom controls?

I'd appreciate any input. Thanks.

- Kati
GeneralWriting to a file from a device driver! Pin
Nish Nishant14-Nov-02 19:08
sitebuilderNish Nishant14-Nov-02 19:08 
GeneralRe: Writing to a file from a device driver! Pin
Shiva Prasad T. S.14-Nov-02 19:33
Shiva Prasad T. S.14-Nov-02 19:33 
GeneralDirectX runtime Pin
sonshiro14-Nov-02 18:43
sonshiro14-Nov-02 18:43 
GeneralMainframe HWND from process ID Pin
Bugra Barin14-Nov-02 18:23
Bugra Barin14-Nov-02 18:23 
GeneralRe: Mainframe HWND from process ID Pin
Carlos Antollini14-Nov-02 19:23
Carlos Antollini14-Nov-02 19:23 
GeneralRe: Mainframe HWND from process ID Pin
Bugra Barin14-Nov-02 19:50
Bugra Barin14-Nov-02 19:50 
GeneralRe: Mainframe HWND from process ID Pin
Tim Smith15-Nov-02 2:21
Tim Smith15-Nov-02 2:21 
GeneralRe: Mainframe HWND from process ID Pin
Anonymous15-Nov-02 4:38
Anonymous15-Nov-02 4:38 
GeneralCCriticalSection & structure Pin
zecodela14-Nov-02 17:12
zecodela14-Nov-02 17:12 
GeneralRe: CCriticalSection & structure Pin
Tim Smith15-Nov-02 2:24
Tim Smith15-Nov-02 2:24 
QuestionError message help? Pin
G. White14-Nov-02 13:18
G. White14-Nov-02 13:18 
AnswerRe: Error message help? Pin
Ranjan Banerji14-Nov-02 14:25
Ranjan Banerji14-Nov-02 14:25 
GeneralRe: Error message help? Pin
G. White14-Nov-02 14:33
G. White14-Nov-02 14:33 
Questioncan CHtmlView load JApplet.class ? Pin
includeh1014-Nov-02 12:56
includeh1014-Nov-02 12:56 
AnswerRe: can CHtmlView load JApplet.class ? Pin
NormDroid15-Nov-02 8:47
professionalNormDroid15-Nov-02 8:47 
QuestionProcessor Speed? Pin
Peter Weyzen14-Nov-02 12:25
Peter Weyzen14-Nov-02 12:25 
AnswerRe: Processor Speed? Pin
KevinHall14-Nov-02 15:46
KevinHall14-Nov-02 15:46 
AnswerRe: Processor Speed? Pin
KevinHall14-Nov-02 20:20
KevinHall14-Nov-02 20:20 
AnswerRe: Processor Speed? Pin
Patje14-Nov-02 21:30
Patje14-Nov-02 21:30 
Generalhwnd of edit control of a combobox Pin
ed987114-Nov-02 12:21
ed987114-Nov-02 12:21 
GeneralRe: hwnd of edit control of a combobox Pin
NormDroid15-Nov-02 8:57
professionalNormDroid15-Nov-02 8:57 
GeneralDirectX problem... Pin
Selevercin14-Nov-02 12:15
Selevercin14-Nov-02 12:15 
GeneralRe: DirectX problem... Pin
Gero Gerber14-Nov-02 12:32
Gero Gerber14-Nov-02 12: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.