Click here to Skip to main content
15,925,868 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: std::vector fails?! Pin
Chris Losinger19-Oct-02 5:07
professionalChris Losinger19-Oct-02 5:07 
GeneralRe: std::vector fails?! Pin
Anonymous19-Oct-02 9:10
Anonymous19-Oct-02 9:10 
GeneralRe: std::vector fails?! Pin
Chris Losinger19-Oct-02 9:17
professionalChris Losinger19-Oct-02 9:17 
GeneralRe: std::vector fails?! Pin
Anonymous19-Oct-02 9:47
Anonymous19-Oct-02 9:47 
GeneralRe: std::vector fails?! Pin
Chris Losinger19-Oct-02 9:53
professionalChris Losinger19-Oct-02 9:53 
GeneralRe: std::vector fails?! Pin
Anonymous19-Oct-02 10:00
Anonymous19-Oct-02 10:00 
GeneralRe: std::vector fails?! Pin
Chris Losinger19-Oct-02 10:09
professionalChris Losinger19-Oct-02 10:09 
GeneralRe: std::vector fails?! duplicate a HBITMAP? Pin
Anonymous19-Oct-02 10:25
Anonymous19-Oct-02 10:25 
Chris Losinger wrote:
who owns the HBITMAP now??

Hmm yes.... *thinking*

Question: Can I make a new HBITMAP from an existing HBITMAP, not just a copy of the handle? A real new HBITMAP so that the content (loaded image) is really duplicated? Perhaps I can use CreateBitmapIndirect(&m_hObject), but I'm not very good in Win32.

If it's possible I could theoretically derive a class from CBitmap, add a copy ctor and make STL containers happy.

Thanks again for your help.
GeneralRe: std::vector fails?! duplicate a HBITMAP? Pin
Chris Losinger19-Oct-02 10:37
professionalChris Losinger19-Oct-02 10:37 
GeneralRe: std::vector fails?! duplicate a HBITMAP? Pin
Anonymous19-Oct-02 10:48
Anonymous19-Oct-02 10:48 
GeneralRe: std::vector fails?! - Don't use auto_ptr Pin
Neville Franks19-Oct-02 13:10
Neville Franks19-Oct-02 13:10 
GeneralRe: std::vector fails?! - Don't use auto_ptr Pin
Anonymous19-Oct-02 14:11
Anonymous19-Oct-02 14:11 
GeneralRe: std::vector fails?! - Don't use auto_ptr Pin
Chris Losinger19-Oct-02 15:32
professionalChris Losinger19-Oct-02 15:32 
GeneralRe: std::vector fails?! - Don't use auto_ptr Pin
Neville Franks19-Oct-02 16:01
Neville Franks19-Oct-02 16:01 
GeneralRe: std::vector fails?! - Don't use auto_ptr Pin
Anonymous19-Oct-02 21:35
Anonymous19-Oct-02 21:35 
GeneralRe: std::vector fails?! Pin
Anonymous19-Oct-02 9:26
Anonymous19-Oct-02 9:26 
QuestionHow to make "Enter" key work like a "Tab" key in a Dialog box? Pin
Seagull Livingston18-Oct-02 21:18
Seagull Livingston18-Oct-02 21:18 
AnswerRe: How to make "Enter" key work like a "Tab" key in a Dialog box? Pin
Stephane Rodriguez.18-Oct-02 21:47
Stephane Rodriguez.18-Oct-02 21:47 
AnswerRe: How to make "Enter" key work like a "Tab" key in a Dialog box? Pin
Nish Nishant18-Oct-02 23:39
sitebuilderNish Nishant18-Oct-02 23:39 
GeneralCListCtrl & Double Click :: MFC Pin
valikac18-Oct-02 20:55
valikac18-Oct-02 20:55 
GeneralRe: CListCtrl & Double Click :: MFC Pin
Stephane Rodriguez.18-Oct-02 21:10
Stephane Rodriguez.18-Oct-02 21:10 
GeneralRe: CListCtrl & Double Click :: MFC Pin
valikac18-Oct-02 21:38
valikac18-Oct-02 21:38 
GeneralRe: CListCtrl & Double Click :: MFC Pin
Stephane Rodriguez.18-Oct-02 21:46
Stephane Rodriguez.18-Oct-02 21:46 
GeneralRe: CListCtrl & Double Click :: MFC Pin
Michael Dunn18-Oct-02 22:05
sitebuilderMichael Dunn18-Oct-02 22:05 
GeneralRe: CListCtrl & Double Click :: MFC Pin
valikac18-Oct-02 22:06
valikac18-Oct-02 22:06 

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.