Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!hplabs!hp-pcd!hpcvlx!bturner From: bturner@hpcvlx.HP.COM (Bill Turner) Newsgroups: comp.windows.ms Subject: Re: Disabling system menu Message-ID: <106580045@hpcvlx.HP.COM> Date: 23 Jun 89 16:23:08 GMT References: <29810@ucbvax.BERKELEY.EDU> Organization: Hewlett-Packard Co., Corvallis, OR, USA Lines: 13 > Hi, I am trying to disable 'Size' option on the system menu, I used > GetSystemMenu and EnableMenuItem(hSysMenu, 3, MF_BYPOSITION | MF_DISABLE), > but nothing happened, the 'Size' option was still enabled... Did you call DrawMenuBar afterwards? I know that for the app menu this is required for the changes to appear -- this is NOT the same as taking effect, as that should occur immediately. You could also try EnableMenuItem(hSysMenu, SC_SIZE, MF_BYPOSITION | MF_DISABLE) and see how that works... --Bill Turner (bturner@hp-pcd.hp.com) HP Corvallis Information Systems