Re: DefWindowProc API Reference

Tech-Archive recommends: Fix windows errors by optimizing your registry



Jeff Partch [MVP] wrote:

> Christian, I can tell you that in some version of the API under some
circumstance, DefWindowProc does check for WM_NCDESTROY and does "make an
exception" so that "themes... get a chance to do cleanup".

Yes, it's for themed apps on XP (RemoveProp() and so on); otherwise, it's never handled...
.




Relevant Pages

  • Re: Returning external resources and Exceptions
    ... > when an exception is thrown. ... there remains the problem of code duplication. ... The same is true for most other cleanup methods in the API: ...
    (comp.lang.java.help)
  • Re: Returning external resources and Exceptions
    ... > As you go through the exception handling, catch each IOException, ... One could also perform some additional cleanup ... cause of the whole debacle is that the closemethods in the API can throw. ... It's only remotely usefull if you have just one resource to cleanup: ...
    (comp.lang.java.help)
  • iisstate
    ... exception handling in MS DEV 2003 and can catch the exception. ... 0:029> * 1st chance: FullDump;VOID ... following actions at the time of the crash: Log Time Stack FullDump ...
    (microsoft.public.inetserver.iis)
  • Re: Exception as the primary error handling mechanism?
    ... and reduced defect rate against machine efficiency too. ... example of an API that is simply poor: ... exception than it is to make unnecessary tests. ... more complex code, lowered readability and usability, and more defects, ...
    (comp.lang.python)
  • Re: Exception as the primary error handling mechanism?
    ... Does this imply that putting code in functions is a poor API? ... exception than it is to make unnecessary tests. ... The difficulty for the API designer is to make ... caller and can extract a performance penalty that may be unacceptable ...
    (comp.lang.python)