15 мая 2023 года "Исходники.РУ" отмечают своё 23-летие!
Поздравляем всех причастных и неравнодушных с этим событием!
И огромное спасибо всем, кто был и остаётся с нами все эти годы!

Главная Форум Журнал Wiki DRKB Discuz!ML Помощь проекту


Modal Dialogs event processing...

Reza Razavipour -- biles.com!reza_r@jabberwock.biles.com
Monday, July 15, 1996

VC4.1 on NT 3.5.1 Patch 4

I am trying to code up a Find feature, similar to Notepad.exe's Find capability.

I have a CListCrtl that I will search in, a modal dialog will be popped up for 
the user to type in, there is a Find Next Button, so the user can Find multiple 
occurences. What I want to do is to select the list entry that matches the Find 
criteria as they are found, i.e. the dilaog box is still up.

What I get is the items are found OK, but nobody is selected until the dialog 
box is brought down. 

How can I select list entries as the dialog is popped up?

TIA

Reza



Mario Contestabile -- Mario_Contestabile.UOS__MTL@UOSMTL2.universal.com
Thursday, July 18, 1996

>occurences. What I want to do is to select the list entry that matches the 
Find 
>criteria as they are found, i.e. the dilaog box is still up.
>
>What I get is the items are found OK, but nobody is selected until the dialog 
>box is brought down. 

Provided your item selection function works correctly, you should also
use the LVS_SHOWSELALWAYS style for the list control.

mcontest@universal.com





| Вернуться в корень Архива |