no more weird descriptions when sections are hidden
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2472 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
c873cc99c4
commit
1abddbef60
1 changed files with 13 additions and 10 deletions
|
@ -942,19 +942,22 @@ static DWORD WINAPI newTreeWndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM l
|
|||
}
|
||||
if (uMsg == WM_MOUSEMOVE) {
|
||||
TVITEM tvItem;
|
||||
tvItem.hItem = TreeHitTest(hwnd);
|
||||
|
||||
lParam = -1;
|
||||
|
||||
if (tvItem.hItem)
|
||||
{
|
||||
tvItem.mask = TVIF_PARAM;
|
||||
|
||||
TreeView_GetItem(hwnd, &tvItem);
|
||||
if (GetWindowLong(hwnd, GWL_STYLE) & WS_VISIBLE) {
|
||||
tvItem.hItem = TreeHitTest(hwnd);
|
||||
|
||||
lParam = tvItem.lParam;
|
||||
lParam = -1;
|
||||
|
||||
if (tvItem.hItem)
|
||||
{
|
||||
tvItem.mask = TVIF_PARAM;
|
||||
|
||||
TreeView_GetItem(hwnd, &tvItem);
|
||||
|
||||
lParam = tvItem.lParam;
|
||||
}
|
||||
uMsg = WM_USER+0x19;
|
||||
}
|
||||
uMsg = WM_USER+0x19;
|
||||
}
|
||||
if (uMsg == WM_USER+0x19) {
|
||||
if (last_item != lParam)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue