comp.lang.ada
 help / color / mirror / Atom feed
From: Gautier write-only <gautier_niouzes@hotmail.com>
Subject: Re: GNAT and Windows XP Manifest
Date: Fri, 10 Jul 2009 12:37:28 -0700 (PDT)
Date: 2009-07-10T12:37:28-07:00	[thread overview]
Message-ID: <0e4e54ac-268c-4a2e-9c74-61856b2f071d@37g2000yqp.googlegroups.com> (raw)
In-Reply-To: e3e6e00f-c5bc-4858-b696-956397fd03f7@c2g2000yqi.googlegroups.com

On 10 juil, 12:57, Hibou57 (Yannick Duchêne)
<yannick_duch...@yahoo.fr> 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!



  reply	other threads:[~2009-07-10 19:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-10  9:41 GNAT and Windows XP Manifest Hibou57 (Yannick Duchêne)
2009-07-10 10:14 ` Hibou57 (Yannick Duchêne)
2009-07-10 10:57   ` Hibou57 (Yannick Duchêne)
2009-07-10 19:37     ` Gautier write-only [this message]
2009-07-10 21:12       ` Hibou57 (Yannick Duchêne)
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox