Click here to Skip to main content
15,918,742 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerLVN_ITEMCHANGED, but whats the way to send this message? Pin
nss25-Jul-02 11:20
nss25-Jul-02 11:20 
AnswerRe: Can I call OnItemChanged by force? Pin
Shog925-Jul-02 11:57
sitebuilderShog925-Jul-02 11:57 
GeneralOverriding Context Help button Pin
esapp42025-Jul-02 10:30
esapp42025-Jul-02 10:30 
Generalprintpreview Pin
Anthony988725-Jul-02 8:44
Anthony988725-Jul-02 8:44 
GeneralRe: printpreview Pin
Chris Losinger25-Jul-02 8:56
professionalChris Losinger25-Jul-02 8:56 
General<code>delete this;</code> Pin
Le centriste25-Jul-02 8:10
Le centriste25-Jul-02 8:10 
GeneralRe: <code>delete this;</code> Pin
Joaquín M López Muñoz25-Jul-02 8:20
Joaquín M López Muñoz25-Jul-02 8:20 
GeneralRe: <code>delete this;</code> Pin
Len Holgate25-Jul-02 12:25
Len Holgate25-Jul-02 12:25 
Michel Prévost wrote:
Is it OK to use it?

Yes.

Michel Prévost wrote:
When is the object actually destroyed?

When the delete statement is executed. When did you think it would happen Wink | ;)

It's an idiom used commonly in reference counting situations. The dtor is usually protected, or private, so that users cant delete the object themselves and therefore the object decides when it's time to die.

If you see a line that says 'delete this' then be concerned if you see any access to an object's variables after that line and before the end of the function...

Len Holgate
www.jetbyte.com
The right code, right now.
GeneralPrinting lists Pin
hyakugei25-Jul-02 8:02
hyakugei25-Jul-02 8:02 
Generalclass drop down...function completion Pin
jimNLX25-Jul-02 7:52
jimNLX25-Jul-02 7:52 
GeneralRe: class drop down...function completion Pin
Chris Losinger25-Jul-02 8:38
professionalChris Losinger25-Jul-02 8:38 
GeneralCComboBox question Pin
JennyP25-Jul-02 7:10
JennyP25-Jul-02 7:10 
GeneralRe: CComboBox question Pin
Joaquín M López Muñoz25-Jul-02 8:08
Joaquín M López Muñoz25-Jul-02 8:08 
GeneralKnock My Socks Off Pin
Ken Mazaika25-Jul-02 7:03
Ken Mazaika25-Jul-02 7:03 
GeneralRe: Knock My Socks Off Pin
Joaquín M López Muñoz25-Jul-02 7:15
Joaquín M López Muñoz25-Jul-02 7:15 
GeneralRe: Knock My Socks Off Pin
includeh1025-Jul-02 7:25
includeh1025-Jul-02 7:25 
GeneralRe: Knock My Socks Off Pin
Len Holgate25-Jul-02 12:27
Len Holgate25-Jul-02 12:27 
GeneralChanging font for CStatic and Others Pin
hongheo7625-Jul-02 6:49
hongheo7625-Jul-02 6:49 
GeneralRe: Changing font for CStatic and Others Pin
Joaquín M López Muñoz25-Jul-02 6:55
Joaquín M López Muñoz25-Jul-02 6:55 
GeneralA book or website for Learning Thread process Pin
youssef25-Jul-02 6:37
youssef25-Jul-02 6:37 
GeneralRe: A book or website for Learning Thread process Pin
includeh1025-Jul-02 7:06
includeh1025-Jul-02 7:06 
GeneralRe: A book or website for Learning Thread process Pin
Daniel Lohmann25-Jul-02 9:57
Daniel Lohmann25-Jul-02 9:57 
GeneralRe: A book or website for Learning Thread process Pin
-Dy26-Jul-02 0:01
-Dy26-Jul-02 0:01 
GeneralPropertySheets :: MFC Pin
valikac25-Jul-02 6:25
valikac25-Jul-02 6:25 
GeneralRe: PropertySheets :: MFC Pin
Joaquín M López Muñoz25-Jul-02 6:28
Joaquín M López Muñoz25-Jul-02 6:28 

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.