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!!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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!!
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.
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