::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.