Jump to content

View more

Image of the Day

Boxes as reward for our ranking mode. ヾ(☆▽☆)
#indiedev #gamedev #gameart #screenshotsaturday https://t.co/ALF1InmM7K
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

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

4: Adsense

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   Members   

787
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

#2 px   Members   

591
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   

22539
Like
2Likes
Like

Posted 31 March 2013 - 12:48 AM

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


Wielder of the Sacred Wands
[Work - ArenaNet] [Epoch Language] [Scribblings]




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.