You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The subclass that is added by the Dark Mode code to will handle the NM_CUSTOMDRAW message sent by TreeView controls.
This subclass will return CDRF_DODEFAULT and this will block any plugins trying to handle this message themselves.
The result will be that the customizations made by the plugins will not be applied.
This will only happen if the plugin is not using the DWS_USEOWNDARKMODE flag.
Steps To Reproduce
Install the Explorer plugin in the plugin manager.
Open the Favorites panel and add a currently opened file to the Favorites list.
Current Behavior
If the file is open, the entry in the Favorites tree should be underlined to indicate the file is open.
Because the subclass overrides the custom draw messages, the entry is not underlined.
Expected Behavior
The entry in the Favorites panel should be underlined if the file is open in Notepad++
Debug Information
Notepad++ v8.6.5 (64-bit)
Build time: Mar 29 2024 - 17:04:43
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line :
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
Periodic Backup : ON
OS Name : Windows 10 Pro (64-bit
OS Version : 22H2
OS Build : 19045.4291
Current ANSI codepage : 1252
Plugins :
Explorer (1.9.9)
JSMinNPP (1.2205)
mimeTools (3.1)
NppConverter (4.6)
NppExport (0.4)
NppXmlTreeviewPlugin (2)
XMLTools (3.1.1.13)
Anything else?
No response
The text was updated successfully, but these errors were encountered:
@donho
If a file is open in Notepad++, the item in the TreeView should be underlined.
The Explorer plugin has code that handles the NM_CUSTOMDRAW message and sets an underlined font if the file is open. But since Notepad++ does not call DefSubclassProc, this code is not called, and the underlined font is not set for the files that are open.
Is there an existing issue for this?
Description of the Issue
The subclass that is added by the Dark Mode code to will handle the NM_CUSTOMDRAW message sent by TreeView controls.
This subclass will return CDRF_DODEFAULT and this will block any plugins trying to handle this message themselves.
The result will be that the customizations made by the plugins will not be applied.
This will only happen if the plugin is not using the DWS_USEOWNDARKMODE flag.
Steps To Reproduce
Current Behavior
If the file is open, the entry in the Favorites tree should be underlined to indicate the file is open.
Because the subclass overrides the custom draw messages, the entry is not underlined.
Expected Behavior
The entry in the Favorites panel should be underlined if the file is open in Notepad++
Debug Information
Anything else?
No response
The text was updated successfully, but these errors were encountered: