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

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


Context Sensitive Help...

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

VC 4.1 on NT3.5.1 Patch 4.

I have an SDI app with help file skeleton generated by MFC. When I run
the app, under Help Menu, there is an entry called Help topics, which
is always grayed out, insensitive. Can somebody explain why this is the
case?

TIA

Reza



Gordon Weakliem -- gweakl@metronet.com
Friday, July 12, 1996

At 11:14 AM 7/8/96 -0500, you wrote:
>VC 4.1 on NT3.5.1 Patch 4.
>
>I have an SDI app with help file skeleton generated by MFC. When I run
>the app, under Help Menu, there is an entry called Help topics, which
>is always grayed out, insensitive. Can somebody explain why this is the
>case?
Is there an ON_COMMAND handler for the menu item?  MFC will grey out menu
items that aren't supported by command handlers, this is done through the
OnUpdateCommandUI mechanism, I believe.
Gordon Weakliem
gweakl@metronet.com





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