Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!


We're also offering banner ads on our site from just $5! 1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


How much will Windows hate me if I don't use RemoveProp


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 incertia   Crossbones+   -  Reputation: 779

Like
1Likes
Like

Posted 30 March 2013 - 09:29 PM

I recently found a good way to send a useful pointer to WndProc through the use of SetProp() for use throughout the entire program loop, but I never actually removed it because I never found a good place to. So I'm wondering bad the consequences are going to be if I don't use RemoveProp().
what

Sponsor:

#2 px   Members   -  Reputation: 522

Like
1Likes
Like

Posted 30 March 2013 - 10:00 PM

While I've never used these properties I would imagine the property list automatically get cleaned up when the associated window closes. Just to be on the safe side though I would be inclined to remove properties as part of the windows close code at the very least.
Humble people don't refer to themselves as humble (W.R.T. "IMHO".)

#3 ApochPiQ   Moderators   -  Reputation: 15996

Like
2Likes
Like

Posted 31 March 2013 - 12:48 AM

Properties are automatically cleaned up at window destruction time, specifically WM_NCDESTROY.






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS