From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,80281b117d7f1c37 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!37g2000yqp.googlegroups.com!not-for-mail From: Gautier write-only Newsgroups: comp.lang.ada Subject: Re: GNAT and Windows XP Manifest Date: Fri, 10 Jul 2009 12:37:28 -0700 (PDT) Organization: http://groups.google.com Message-ID: <0e4e54ac-268c-4a2e-9c74-61856b2f071d@37g2000yqp.googlegroups.com> References: <4ac14c83-a361-4832-b762-02ed046d463e@24g2000yqm.googlegroups.com> <26c154a6-efa4-4c89-9333-999064b6e17d@y7g2000yqa.googlegroups.com> NNTP-Posting-Host: 85.3.39.22 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1247254648 22613 127.0.0.1 (10 Jul 2009 19:37:28 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 10 Jul 2009 19:37:28 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: 37g2000yqp.googlegroups.com; posting-host=85.3.39.22; posting-account=gRqrnQkAAAAC_02ynnhqGk1VRQlve6ZG User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/530.5 (KHTML, like Gecko) Chrome/2.0.172.33 Safari/530.5,gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:6956 Date: 2009-07-10T12:37:28-07:00 List-Id: On 10 juil, 12:57, Hibou57 (Yannick Duch=EAne) wrote: > Solved. > > Explanation: althought message boxes does not belongs to the > ComCtl32.dll shared library, it is mandatory to invok > InitCommonControls. > > Platform DSK documentation says: > > > To create a manifest and enable your application to use > > visual styles. > > > Link to ComCtl32.lib and call InitCommonControls. > > Add a file called YourApp.exe.manifest to your source tree that > > has the XML manifest format. > > If InitCommonControls is invoked during application initialization, > the manifest is handled correctly. > > Perhaps that with common controls version 6, the message box is now > part of the ComCtl32.dll library (this is the sole reason I can > imagine). > > This is thus not specific to GNAT, but would be the same with any > others, like Janus, etc. Thanks for the info, I was just wondering how to make some GWindows applications use these "new" visual styles. _________________________________________________________ Gautier's Ada programming -- http://sf.net/users/gdemont/ NB: For a direct answer, e-mail address on the Web site!