XP - Password field shows garbage chars on _SOME_ machines

G

Guest

Guest
Archived from groups: microsoft.public.windowsxp.help_and_support,microsoft.public.windowsxp.general,microsoft.public.windowsxp.customize (More info?)

Hi

The Problem:
On some machines, my password field displays the password character as
the "dot" - which is XP standard, and on other identical machines it
dispays vertical bars.

Details:
We have written a win32 application in C++, which has a password field.
Inorder to use the XP style of "bulleted" password chars (instead of
'****') we have added a manifest and are using the commctl32.dll
version 6.
As a result the passwords _ARE_ seen as "bullets", but as mentioned
above, it is not so on all machines.

All our machines have an identical setup- WinXP SP2, dotnet v1.1.4322.
I also ran the xpspcheck.exe, and it generated identical reports on
each of them.
Also using spy we found that ALL the ES_xxx / WS_xxx styles of the PW
edit fields were same on all the machines.

We are using "MS Sans Serif" font for the edit controls, and "MS Sans
Serif" IS PRESENT on all the machines.

The password edit is created using the CreateWindow(...) API and the
font is set by sending the WM_SETFONT message.

Question:
The machines basically have an identical setup, so what could be
different which is causing the difference in behaviour.
i.e : When the edit control font is "MS Sans Serif", why are some
machines able to display the "bullet" as PW chars? and Why do other
identical machines display vertical bars?

Any ideas?

regards
mqsash

PS: Changing the edit control's font to "Tahoma" or even "Microsoft
Sans Serif", solves the problem but I would like that to be the last
resort.
 
G

Guest

Guest
Archived from groups: microsoft.public.windowsxp.help_and_support,microsoft.public.windowsxp.general,microsoft.public.windowsxp.customize (More info?)

mqsash@rediffmail.com wrote:
> Hi
>
> The Problem:
> On some machines, my password field displays the password character as
> the "dot" - which is XP standard, and on other identical machines it
> dispays vertical bars.
>
> Details:
> We have written a win32 application in C++, which has a password
> field. Inorder to use the XP style of "bulleted" password chars
> (instead of '****') we have added a manifest and are using the
> commctl32.dll version 6.
> As a result the passwords _ARE_ seen as "bullets", but as mentioned
> above, it is not so on all machines.
>
> All our machines have an identical setup- WinXP SP2, dotnet v1.1.4322.
> I also ran the xpspcheck.exe, and it generated identical reports on
> each of them.
> Also using spy we found that ALL the ES_xxx / WS_xxx styles of the PW
> edit fields were same on all the machines.
>
> We are using "MS Sans Serif" font for the edit controls, and "MS Sans
> Serif" IS PRESENT on all the machines.
>
> The password edit is created using the CreateWindow(...) API and the
> font is set by sending the WM_SETFONT message.
>
> Question:
> The machines basically have an identical setup, so what could be
> different which is causing the difference in behaviour.
> i.e : When the edit control font is "MS Sans Serif", why are some
> machines able to display the "bullet" as PW chars? and Why do other
> identical machines display vertical bars?
>
> Any ideas?
>
> regards
> mqsash
>
> PS: Changing the edit control's font to "Tahoma" or even "Microsoft
> Sans Serif", solves the problem but I would like that to be the last
> resort.

Oh FFS, is this *really* so important? Get over yourself!

--
In memory of MS MVP Alex Nichol: http://www.dts-l.org/