Click here to Skip to main content
16,006,535 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCListCtrl LvnItemChanged() issues Pin
dazinith14-May-02 5:28
dazinith14-May-02 5:28 
GeneralRe: CListCtrl LvnItemChanged() issues Pin
Bill Wilson14-May-02 11:44
Bill Wilson14-May-02 11:44 
GeneralPrinting using gdi+ Pin
khaldoun14-May-02 5:13
khaldoun14-May-02 5:13 
GeneralDrawText and MM_HIMETRIC Pin
Braulio Dez14-May-02 5:12
Braulio Dez14-May-02 5:12 
GeneralRe: DrawText and MM_HIMETRIC Pin
David Salter14-May-02 9:24
David Salter14-May-02 9:24 
Generalmonthview control driving me mad Pin
benjymous14-May-02 5:08
benjymous14-May-02 5:08 
Generalan interesting design prob...no...situation Pin
14-May-02 4:52
suss14-May-02 4:52 
GeneralRe: an interesting design prob...no...situation Pin
Joaquín M López Muñoz14-May-02 5:00
Joaquín M López Muñoz14-May-02 5:00 
Uff... you're giving little information to know whether you will encounter memory leaks or not. A distinction has to be made between having (the "had" object is a member variable of the "haver") and owning (the "owner" has a pointer to the "owned"). In the second case, you have to consider what will hapen when objects are copied:
M m1;
...
M m2=m1;
Are you duplicating the owned objects of m1? If not, then you will probably run into memory problems, as both m1 and m2 think they own the same objects of type S. You got to think out very carefully these issues, as CList implicitly will make copies of objects contained.

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
QuestionMFC class sets ownerdraw style? Pin
14-May-02 4:50
suss14-May-02 4:50 
AnswerRe: MFC class sets ownerdraw style? Pin
14-May-02 6:17
suss14-May-02 6:17 
GeneralRe: MFC class sets ownerdraw style? Pin
Joel Lucsy14-May-02 8:05
Joel Lucsy14-May-02 8:05 
GeneralRe: MFC class sets ownerdraw style? Pin
14-May-02 21:07
suss14-May-02 21:07 
GeneralThunk - That's the sound of my head on the desk.... Pin
Kevin Gutteridge14-May-02 4:47
Kevin Gutteridge14-May-02 4:47 
GeneralRe: Thunk - That's the sound of my head on the desk.... Pin
Joao Vaz14-May-02 6:00
Joao Vaz14-May-02 6:00 
GeneralRe: Thunk - That's the sound of my head on the desk.... Pin
Kevin Gutteridge14-May-02 6:11
Kevin Gutteridge14-May-02 6:11 
GeneralRe: Thunk - That's the sound of my head on the desk.... Pin
Joao Vaz14-May-02 6:28
Joao Vaz14-May-02 6:28 
GeneralRe: Thunk - Funky code due to Pascal convention Pin
Joao Vaz14-May-02 6:43
Joao Vaz14-May-02 6:43 
GeneralRe: Thunk - Funky code due to Pascal convention Pin
Kevin Gutteridge14-May-02 6:56
Kevin Gutteridge14-May-02 6:56 
GeneralRe: Thunk - Funky code due to Pascal convention Pin
Kevin Gutteridge17-May-02 6:20
Kevin Gutteridge17-May-02 6:20 
GeneralRe: Thunk - Funky code due to Pascal convention Pin
Joao Vaz17-May-02 6:50
Joao Vaz17-May-02 6:50 
GeneralRe: Thunk - assembly code to call stdcall code Pin
Joao Vaz17-May-02 7:03
Joao Vaz17-May-02 7:03 
GeneralCListView MDI Pin
14-May-02 4:36
suss14-May-02 4:36 
GeneralRe: CListView MDI Pin
14-May-02 4:58
suss14-May-02 4:58 
Generalascii internals Pin
14-May-02 4:28
suss14-May-02 4:28 
GeneralRe: ascii internals Pin
Joaquín M López Muñoz14-May-02 5:42
Joaquín M López Muñoz14-May-02 5:42 

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.