Article View: borland.public.delphi.nativeapi
Article #255Re: ModifyMenu
From: Jens Gruschel
Date: Wed, 14 Jan 2004 21:48
Date: Wed, 14 Jan 2004 21:48
12 lines
1542 bytes
1542 bytes
> Stupid problem: After adding a menu item to the application's (or a form's) > system menu (using AppendMenu or InsertMenuItem with GetSystemMenu), I want > to be able to change its checked state (MF_CHECKED). I guess I have to use > SetMenuItemInfo. But how do I get my item's position / identifier (which I > have to pass to SetMenuItemInfo)? Forget about it: I didn't notice this small remark in the help file: "An item in a menu bar cannot have a check mark." Jens
Technical Details
Message-ID:
<4005b907@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewsoutpeer01.lnd.ops.eu.uu.net!lnewsinpeer01.lnd.ops.eu.uu.net!bnewsoutpeer01.bru.ops.eu.uu.net!bnewsinpeer01.bru.ops.eu.uu.net!emea.uu.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<4005b0ab@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f94dd,645866ad99c980d6 X-Google-Attributes: gidf94dd,public X-Google-ArrivalTime: 2004-01-14 14:10:18 PST From: "Jens Gruschel" <nospam@pegtop.net> Newsgroups: borland.public.delphi.nativeapi References: <4005b0ab@newsgroups.borland.com> Subject: Re: ModifyMenu Date: Wed, 14 Jan 2004 22:48:12 +0100 Lines: 15 Organization: Pegtop Software X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 NNTP-Posting-Host: 217.235.130.130 Message-ID: <4005b907@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1074116871 217.235.130.130 (14 Jan 2004 13:47:51 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewsoutpeer01.lnd.ops.eu.uu.net!lnewsinpeer01.lnd.ops.eu.uu.net!bnewsoutpeer01.bru.ops.eu.uu.net!bnewsinpeer01.bru.ops.eu.uu.net!emea.uu.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail