Newsgroups: comp.windows.ms.programmer
Path: utzoo!utgpu!watserv1!watmath!hyper.hyper.com!bonneau
From: bonneau@hyper.hyper.com (Paul Bonneau)
Subject: Re: No MainWindow??  and  Changing icon-menu
Message-ID: <1991Jun25.193819.5751@hyper.hyper.com>
Reply-To: bonneau@hyper.UUCP (Paul Bonneau,,)
Organization: HyperCube Inc.
References: <10296@star.cs.vu.nl>
Date: Tue, 25 Jun 1991 19:38:19 GMT

In article <10296@star.cs.vu.nl> martijn@cs.vu.nl (Lemmens ML) writes:
>2. When clicking on an icon a menu appears with options like Restore,
>   Move, Size, etc. How can I change this menu (e.g. making options
>   unavailable or create new options).
>
When you get the WM_INITPOPUPMENU message, get the menu
handle with GetSystemMenu(), and modify it as ypu please.

cheers - Paul Bonneau.
