|
|
|
Сложный фильтр на TOpenDialog
|
|||
|---|---|---|---|
|
#18+
Подскажите как можно сделать так, чтобы в наложить сложный фильтр (по названиям фалов) на TOpenDialog. Пробовал вешаться на событие OnIncludeItem (включил EnableIncludeNotifity) - но ничего не получилось. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 31.03.2003, 21:28:55 |
|
||
|
Сложный фильтр на TOpenDialog
|
|||
|---|---|---|---|
|
#18+
А в чем "сложность" то? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 31.03.2003, 23:45:23 |
|
||
|
Сложный фильтр на TOpenDialog
|
|||
|---|---|---|---|
|
#18+
2 user_01 Во-первых, OnIncludeItem работает начиная с Windows 2000. Во-вторых, Unfortunately, the dialog box always ignores your return value if the item has the SFGAO_FILESYSTEM and SFGAO_FILESYSANCESTOR attributes. In other words, if you're dealing with normal files and directories, or folders that are the parent of a file system folder (such as My Computer), by design the OFN_ENABLEINCLUDENOTIFY style doesn't apply. It works only with namespace extensions - так что наложить фильтр на обычные файлы увы не удастся ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 01.04.2003, 06:05:13 |
|
||
|
|

start [/forum/topic.php?fid=58&fpage=2055&tid=2118735]: |
0ms |
get settings: |
8ms |
get forum list: |
15ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
67ms |
get topic data: |
12ms |
get forum data: |
3ms |
get page messages: |
45ms |
get tp. blocked users: |
2ms |
| others: | 194ms |
| total: | 352ms |

| 0 / 0 |
