ECS-L Home Automation and Security Archives
  learn more | view messages for this month | NetBloc® | terms of use | search

Google
 


  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects

Subject:
From:
Date:
Re: [ECS] Win/C programming questions
Ingo Pakleppa
Tue, 02 Nov 1999 22:11:43 -0800

At 05:05 PM 11/2/99 -0500, Mark Gilmore wrote:
>Sorry for the technical question, but I'm
>losing TOO much time due to lack of knowledge:
>1) Has anyone out there used the EnableMenuItem() function ?
>   I can't get it to "disable" an menu item in ANY way.
>   I've tried ALL combinations of BYCOMMAND & BYPOSITION.
>   When I read it back, it shows a "disabled" status, yet
>   there is NO indication that it IS disabled.

Did you try the MF_GRAYED bit? MF_DISABLED will disable a menu item without
indicating that fact to the user, MF_GRAYED will disable the menu item as
well as grey it.

Ingo


  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects




Services provided by [NetBloc]®! NetBloc Solutions Inc.
Terms of use. Indexing software (c) 1999 Lin-De, Inc
.