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

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


How can I get notification on toolbar hide/show?

Alexander Pivovarov -- alx@ultersys.msk.su
Friday, February 23, 1996

Hi,

How can I get notification on toolbar hide/show?

Thanks in advance,

Alexander

----------------------------
Alexander Pivovarov
alx@ultersys.msk.su

Ulter Systems, Inc.





Jim Leavitt -- jimll@halcyon.com
Saturday, February 24, 1996

[Mini-digest: 2 responses]

Alexander,
Try overriding WM_SHOW. You'll get an opportunity to do anything you =
want JUST BEFORE a window is shown and JUST BEFORE its hidden. Override =
it in your toolbar window, set a flag, or any other task that makes =
sense.
Jim Leavitt

-----From: Alexander Pivovarov 

Hi Jim,

>Alexander,
>Try overriding WM_SHOW. You'll get an opportunity to do anything you =
>want JUST BEFORE a window is shown and JUST BEFORE its hidden. Override =
>it in your toolbar window, set a flag, or any other task that makes =
>sense.
>Jim Leavitt
>

I believe you mean WM_SHOWWINDOW. It didn't help a bit.
When I overrided this message I found out that it's called when a toolbar is
being docked or undocked, but not when it shows and hides!

Regards,

Alexander

----------------------------
Alexander Pivovarov
alx@ultersys.msk.su

Ulter Systems, Inc.









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