Re: GinaStub Development for Windows XP(not getting XP Themes)...
From: Nathan D. Lee (lee.nathan_at_marshfieldclinic.org)
Date: 08/12/04
- Next message: Antony Perkov: "Schannel and client certificates"
- Previous message: lelteto: "RE: How to get key container or public key from CertificateContext?"
- In reply to: Schwang: "GinaStub Development for Windows XP(not getting XP Themes)..."
- Next in thread: Schwang: "Re: GinaStub Development for Windows XP(not getting XP Themes)..."
- Reply: Schwang: "Re: GinaStub Development for Windows XP(not getting XP Themes)..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 12 Aug 2004 12:24:15 -0500
For purposes of my response I assume you're talking about getting common
controls (including buttons, etc) to assume the look of whatever Theme is
selected.
In my own custom GINA (which is a pass-through with an alternate
screen-unlock mechanism), I had to do the follow to enable themes on my
custom dialog, as the themes-related documentation has a couple of gaps when
it comes to enabling common controls for this situation:
1) I had to make a call to InitCommonControlsEx in the init code
2) Added the following to #define constants at the beginning of my stdafx.h:
#define SIDEBYSIDE_COMMONCONTROLS 1
#define ISOLATION_AWARE_ENABLED 1
3) Had to add the appropriate manifest to my DLLs resources. Here was the
RC file line:
2 24 MOVEABLE PURE ".\\mcgina.dll.manifest"
If I skipped any one of these 3 steps, my dialog would not be
theme-sensitive.
Cheers!
Nathan Lee
Systems Programmer/Analyst Specialist
Marshfield Clinic, Marshfield, WI
"Schwang" <schwang_sam@yahoo.com> wrote in message
news:eK4O%23i1fEHA.636@TK2MSFTNGP12.phx.gbl...
> Hello All,
> Iam developing GINA Stub in Windows XP to support Fingerprint
> Authentication. I took the GinaStub from (XGINA project of Codeguru); I
use
> PWLX_DISPATCH_VERSION_1_4 for Windows XP; Iam loosing the Windows XP
Themes
> screen and it changes to Windows 2000 based Logon dialog box. I could find
> after lot of search about the link
> http://support.microsoft.com/default.aspx?scid=kb;en-us;322047 ; I tried
> that also; but it doesn't work.. Can anybody tell me how to get XP Themes
> Please?
>
>
>
- Next message: Antony Perkov: "Schannel and client certificates"
- Previous message: lelteto: "RE: How to get key container or public key from CertificateContext?"
- In reply to: Schwang: "GinaStub Development for Windows XP(not getting XP Themes)..."
- Next in thread: Schwang: "Re: GinaStub Development for Windows XP(not getting XP Themes)..."
- Reply: Schwang: "Re: GinaStub Development for Windows XP(not getting XP Themes)..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]