: : Have you set the font to the correct type? Fonts can have different characters for the same character code.
This might help a lot, though I'm not sure... Create the Edit box and as the Password masking character choose the letter "h" not "H", for the font choose Marlett (this is Windows special font, this font includes the minimize, maximize, restore, and close characters and others also). You'll notice that the font is Bold, if you don't want it as bold, go to the Object Inspector window and Expand the Font property, then Expand the Style property and change fsBold to False. I don't know if it is a bug, but Delphi always leaves this as fsBold = True.
Now if you want to make it look as Windows XP look and if you have Delphi 7, you have a sort of invisible component (while run-time) that can make your application controls to look like Windows XP controls. Go to Win32 tab on your component pallete and add the XPManifest to your application.