Recently I spent a few hours to find a way to enable a new styles of Windows XP
controls from the code (without manual created external manifest files,
resource files, ...). The only solution I found in DFL library and it looks
quite complicated.
Maybe should create that function at the level o
Valery Wrote:
> Recently I spent a few hours to find a way to enable a new styles of Windows
> XP controls from the code (without manual created external manifest files,
> resource files, ...). The only solution I found in DFL library and it looks
> quite complicated.
>
> Maybe should create t
On Wed, 09 Sep 2009 05:19:22 -0400, Valery wrote:
Recently I spent a few hours to find a way to enable a new styles of
Windows XP controls from the code (without manual created external
manifest files, resource files, ...). The only solution I found in DFL
library and it looks quite compli
Jeremie Pelletier Wrote:
> As far as I know, the only way to get the newer common controls library is to
> use an assembly manifest, be it external or compiled as a resource. I haven't
> looked into DFL but I'm pretty sure it simply generates the proper manifest
> resource and link it in the ex
Or at least describe the process of change styles through the manifest files in
the documentation and the section D for Win32 on site.
On 9/9/09 11:19, Valery wrote:
Recently I spent a few hours to find a way to enable a new styles of Windows XP
controls from the code (without manual created external manifest files,
resource files, ...). The only solution I found in DFL library and it looks
quite complicated.
Maybe should cr
Valery wrote:
Jeremie Pelletier Wrote:
As far as I know, the only way to get the newer common controls
library is to use an assembly manifest, be it external or compiled
as a resource. I haven't looked into DFL but I'm pretty sure it
simply generates the proper manifest resource and link it i
On Wed, Sep 09, 2009 at 08:27:56PM +0100, Stewart Gordon wrote:
> Indeed, I'd like to know why M$ decided to bundle two versions of the
> relevant DLLs and require the programmer to use a manifest in order to
> access the modern version.
Backward compatibility. Details here:
http://blogs.msdn.c
Stewart Gordon wrote:
Indeed, I drove myself mad trying to find out how to make it work, and
eventually discovered keeping a .manifest file alongside the .exe. We
need more resources (NPI) teaching how to do it the tidier way.
In your .rc file (which more or less all WIN32 GUI apps needs anyw
Hi,
Take a look Windows API: CreateActCtx, ActivateActCtx, DeactivateActCtx and
ReleaseActCtx and the struct ACTCTX
You still need a manifest file, but that file can generate by program, and
you can turn on/off the XP theme.
"ACTCTX.lpSource Null-terminated string specifying the path of the
Stewart Gordon Wrote:
> Indeed, I'd like to know why M$ decided to bundle two versions of the
> relevant DLLs and require the programmer to use a manifest in order to
> access the modern version.
AFAIK manifest is a solution for the dll hell problem.
Valery Wrote:
> Yes, in DFL creates a manifest file and so on, but it's done at runtime by
> method enableVisualStyles.
> I think that there should be a simpler way to enable new styles independent
> of library or native Win32 API you use.
>
manifest is the simplest way to use styles.
Roald Ribe wrote:
Stewart Gordon wrote:
Indeed, I drove myself mad trying to find out how to make it work, and
eventually discovered keeping a .manifest file alongside the .exe. We
need more resources (NPI) teaching how to do it the tidier way.
In your .rc file (which more or less all WIN32
Valery Wrote:
> Recently I spent a few hours to find a way to enable a new styles of Windows
> XP controls from the code (without manual created external manifest files,
> resource files, ...). The only solution I found in DFL library and it looks
> quite complicated.
Microsoft says to use App
Tim M wrote:
> Microsoft says to use Application.EnableVisualStyles
> http://msdn.microsoft.com/en-us/library/system.windows.forms.application.enablevisualstyles.aspx
Umm... you do realise that's for .NET, right?
Daniel Keep Wrote:
>
>
> Tim M wrote:
> > Microsoft says to use Application.EnableVisualStyles
> > http://msdn.microsoft.com/en-us/library/system.windows.forms.application.enablevisualstyles.aspx
>
> Umm... you do realise that's for .NET, right?
Run it through a debugger and you will probably
Tim M wrote:
Daniel Keep Wrote:
Tim M wrote:
Microsoft says to use Application.EnableVisualStyles
http://msdn.microsoft.com/en-us/library/system.windows.forms.application.enablevisualstyles.aspx
Umm... you do realise that's for .NET, right?
Run it through a debugger and you will probably
17 matches
Mail list logo