And now - whilst i was a bit irritated why i should not have seen during my tests that indeed ‘LR_LOADMAP3DCOLORS or LR_LOADTRANSPARENT’ would remove the ‘looks like focusing’ effect too, i repeated the steps for a check. And what do i see? Hello again, the ‘focusing effect’ is back:
marked_active.jpg
Crazy & curious … and not severe, indeed. But not understandable neither …
as i only became aware of this because this did NOT happen with other plugins, eg. the explorer plugin.
But meanwhile i think it’s ‘normal’ for an active (loaded) plugin to show up with a kind of ‘active’ marker.
Is it as such, and i simply was misleaded by, eg., the explorers bitmap rendering?
At least others like JSONViewer or the HelloWorldPlugin itself use the active indicator too:
HelloWorld_active.jpg
So, maybe a simple misunderstanding … but is the marker done from the NPP core itself, or by a statement from a plugin?
Btw: yes, NPPM_SETMENUITEMCHECK had been called indeed (in the plugin’s “FormDock” procedure).
But it doesn’t make a difference if i either omit this call, or use ‘false’ for the “doCheck” parameter:
SafeSendMessage(self.Npp.NppData.NppHandle, NPPM_SETMENUITEMCHECK, self.CmdID, 0);