magpo120
June 11th, 1999, 04:31 AM
My class declaration
class CFileListCtrl : public CFileList
In an instance of my class CFileListCtrl i need
access to the system image list which I get thrue
the usual way described here on codeguru's pages.
SHGetFileINfo that is....
I got two problems,
1.
I have five instances of CFileListCTrl in my application (a MDI application). Since it seem you can only get one HANDLE to the system image list how am I suppose to give access to all my CFileListCtrl. make it global or what?
2.
Because I have a MDI application theres a problem when i open a new MDI window which also needs a system image list. Should I Detach() the system Image List every time the MDI window goes out of scope or what?
class CFileListCtrl : public CFileList
In an instance of my class CFileListCtrl i need
access to the system image list which I get thrue
the usual way described here on codeguru's pages.
SHGetFileINfo that is....
I got two problems,
1.
I have five instances of CFileListCTrl in my application (a MDI application). Since it seem you can only get one HANDLE to the system image list how am I suppose to give access to all my CFileListCtrl. make it global or what?
2.
Because I have a MDI application theres a problem when i open a new MDI window which also needs a system image list. Should I Detach() the system Image List every time the MDI window goes out of scope or what?