OSDN Git Service

Fix issue #940: Replace slow (2)
[winmerge-jp/winmerge-jp.git] / Src / WildcardDropList.h
1 // WildcardDropList.h\r
2 // Copyright (c) datadiode\r
3 // SPDX-License-Identifier: WTFPL\r
4 #pragma once\r
5 \r
6 class WildcardDropList\r
7 {\r
8 private:\r
9         static LRESULT CALLBACK LbWndProc(HWND, UINT, WPARAM, LPARAM);\r
10         static LRESULT CALLBACK LvWndProc(HWND, UINT, WPARAM, LPARAM);\r
11 public:\r
12         static void OnDropDown(HWND, int columns, LPCTSTR, bool allowUserAddedPatterns = true);\r
13         static bool OnCloseUp(HWND);\r
14         static void OnItemActivate(HWND hLv, int iItem, int iSubItem, int columns, LPCTSTR fixedPatterns, bool allowUserAddedPatterns = true, int limitTextSize = 0);\r
15 };\r