Click here to Skip to main content
16,008,490 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: scroll bar Pin
wong190713-Aug-02 3:01
wong190713-Aug-02 3:01 
GeneralXML parser not validating on load Pin
paulb12-Aug-02 14:37
paulb12-Aug-02 14:37 
GeneralWhat's wrong with my DCs Pin
CaesarCZ12-Aug-02 14:26
CaesarCZ12-Aug-02 14:26 
GeneralRe: What's wrong with my DCs Pin
Christian Graus12-Aug-02 15:01
protectorChristian Graus12-Aug-02 15:01 
GeneralRe: What's wrong with my DCs Pin
CaesarCZ12-Aug-02 15:16
CaesarCZ12-Aug-02 15:16 
GeneralRe: What's wrong with my DCs Pin
Christian Graus12-Aug-02 15:42
protectorChristian Graus12-Aug-02 15:42 
GeneralRe: What's wrong with my DCs Pin
CaesarCZ13-Aug-02 1:05
CaesarCZ13-Aug-02 1:05 
GeneralRe: What's wrong with my DCs Pin
Joel Lucsy13-Aug-02 5:39
Joel Lucsy13-Aug-02 5:39 
You almost/kinda have it. I'm not sure what exactly m_Thumb->CreateFromHBITMAP( hBitmap ); does.
The theory is once you have a HBITMAP from your thumbnail you either use the CImageList Replace method if you're using MFC, or ImageList_Replace using straight win32. It looks like your 3rd party lib will give you a HBITMAP when you need it. Just use that to replace the 0th image in the imagelist.
If you need further help, let me know. What I do is slightly different. I store the raw image data using a FAST data (un)compression library and decompress it on-the-fly. Image lists tend to consume large amounts of memory when used exclusively. Once I figured out this method my app consumes about 1/10th the memory it used to.


Joel Lucsy (jjlucsy@ameritech.net)

GeneralRe: What's wrong with my DCs Pin
CaesarCZ13-Aug-02 10:13
CaesarCZ13-Aug-02 10:13 
GeneralOnSysCommand - cant find it in ClassWizard Pin
ns12-Aug-02 14:13
ns12-Aug-02 14:13 
GeneralRe: OnSysCommand - cant find it in ClassWizard Pin
567890123412-Aug-02 19:25
567890123412-Aug-02 19:25 
GeneralFound it, but which class should have the handler? Pin
ns13-Aug-02 2:53
ns13-Aug-02 2:53 
GeneralRe: Found it, but which class should have the handler? Pin
567890123413-Aug-02 3:02
567890123413-Aug-02 3:02 
GeneralRe: OnSysCommand - cant find it in ClassWizard Pin
ns13-Aug-02 3:30
ns13-Aug-02 3:30 
GeneralRe: OnSysCommand - cant find it in ClassWizard Pin
Bijesh13-Aug-02 6:28
Bijesh13-Aug-02 6:28 
GeneralRe: OnSysCommand - cant find it in ClassWizard Pin
ns13-Aug-02 7:51
ns13-Aug-02 7:51 
GeneralRe: OnSysCommand - cant find it in ClassWizard Pin
Bijesh13-Aug-02 8:18
Bijesh13-Aug-02 8:18 
Generalexcept my member pointers Pin
ns13-Aug-02 8:30
ns13-Aug-02 8:30 
GeneralDefault font for dialogs in EVC resource editor... Pin
Wes Jones12-Aug-02 14:11
Wes Jones12-Aug-02 14:11 
GeneralRe: Default font for dialogs in EVC resource editor... Pin
Atlantys12-Aug-02 14:45
Atlantys12-Aug-02 14:45 
GeneralRe: Default font for dialogs in EVC resource editor... Pin
Wes Jones12-Aug-02 16:40
Wes Jones12-Aug-02 16:40 
GeneralListView problem Pin
Steve L.12-Aug-02 14:07
Steve L.12-Aug-02 14:07 
GeneralRe: ListView problem Pin
Shog912-Aug-02 14:24
sitebuilderShog912-Aug-02 14:24 
GeneralRe: ListView problem Pin
Steve L.12-Aug-02 14:45
Steve L.12-Aug-02 14:45 
GeneralCFileDialog title Pin
ns12-Aug-02 13:21
ns12-Aug-02 13:21 

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.