::EnableMenuItem "do noting" on fileclosed??
-
Hello,
i have an strange effect.
In my plugin is set on/off the menu items by filet ype. Only the actions for the relevant file type are activated.
This ‘bufferIsActivated’-function is trigered on “NPPN_BUFFERACTIVATED” and work fine.
But only after closing a file do the EnableMenuItem function apparently nothing, more exatly all menu items as new draw and enabled, like an redraw/recreate.It is possible, that notepad redraw his menues on file open and file close?
Because, after i change the ‘bufferIsActivated’-function to “do only any thing by after ‘change the file type’”, it the sam effect, when open a new file with the sam file type as the currently file, all menu items are redraw.Is this a knowing effect? What can id do, which message can i catch?
regards Mario
-
-
@Coises
DrawMenuBar has no effect.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login