CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6

Thread: MSDN question

  1. #1
    Join Date
    Aug 2002
    Posts
    756

    MSDN question

    Hi, ALL,
    How can I find the documentation on the OnItemPostPaint() function?
    If I go to msdn.microsoft.com and search for this function the search comes back empty.

    Google also does not produce any msdn links.

    Thank you.

  2. #2
    Join Date
    Apr 1999
    Posts
    27,449

    Re: MSDN question

    Quote Originally Posted by OneEyeMan View Post
    Hi, ALL,
    How can I find the documentation on the OnItemPostPaint() function?
    If I go to msdn.microsoft.com and search for this function the search comes back empty.

    Google also does not produce any msdn links.
    OnItemPostPaint seems to be a WTL constant, and WTL is not part of the official Visual C++ set of libraries offered by Microsoft.

    Regards,

    Paul McKenzie

  3. #3
    Join Date
    Aug 2002
    Posts
    756

    Re: MSDN question

    Paul,
    Do you know of the Win32 function in MSVC that will do the same thing?

    I'm looking for something like this.

    Thank you.

  4. #4
    Join Date
    Apr 1999
    Posts
    27,449

    Re: MSDN question

    Quote Originally Posted by OneEyeMan View Post
    Paul,
    Do you know of the Win32 function in MSVC that will do the same thing?
    Search the WTL source code and see how that message is generated.

    Regards,

    Paul McKenzie

  5. #5
    Join Date
    Feb 2003
    Location
    Iasi - Romania
    Posts
    8,234

    Re: MSDN question

    There's not "OnItemPostPaint", neither in Windows SDK (or MFC or other known library from MS), nor in WTL.
    It just looks (with respect of some naming convention) like an application-defined message handler name.
    So you cannot expect to find it in MSDN or WTL documentation.
    Last edited by ovidiucucu; January 2nd, 2013 at 01:53 AM.
    Ovidiu
    "When in Rome, do as Romans do."
    My latest articles: https://codexpertro.wordpress.com/

  6. #6
    Join Date
    Feb 2003
    Location
    Iasi - Romania
    Posts
    8,234

    Re: MSDN question

    Quote Originally Posted by OneEyeMan View Post
    I'm looking for something like this.
    Aha!

    That code snippet handles a notification sent by a custom draw control.
    Please, have a look in our previous discussion, and note again: in Windows there is no "standard" message/notification handler (name).
    So generally, it has no much sense to search documentation for a given message/notification handler name. Instead, search for the message/notification name itself.
    In our case: first search MSDN for NM_CUSTOMDRAW notification code, then dig into the related topics:
    Ovidiu
    "When in Rome, do as Romans do."
    My latest articles: https://codexpertro.wordpress.com/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured