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
Mark Gilmore
Wed, 03 Nov 1999 12:01:48 -0500

Hi Ingo,
Thanks mucu for all the info.
Turns out that you must call DrawMenu() after
making any changes (e.g. EnableMenuItem()).
'Bout drove me nuts!
-- 
Mark Gilmore
Omnipotence (ECS home automation software)
http://www.usit.com/omnip
423-745-0026


Ingo Pakleppa wrote:
> 
> 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
.