Menu

Qestion: "Tab changed" notification

2009-08-03
2012-11-14
  • cssexplorer

    cssexplorer - 2009-08-03

    Hello all!

    How can I know that the current tab has been changed (when switched to some file)?
    I mean the top tabs of notepad++
    What is the notification message for it?

    Thanks!!

     
    • Dave Brotherstone

      NPPN_BUFFERACTIVATED

      You get the buffer ID passed to you - it's documented in Notepad_plus_msgs.h if you have a read of that.

      Dave.

       
    • cchris

      cchris - 2009-08-04

      How about checking https://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=Messages_And_Notifications for the answer?

      The notification to listen to is NPPN_BUFFERACTIVATED .

      CChris