SetPasswordChar method


Available for Edit objects.

Prototype

SetPasswordChar Proto hWnd:HWND, lChar:LONG

Syntax

Invoke SetPasswordChar, hWnd, lChar

Function

Sets the PasswordChar property for an object.

Parameters

hWnd

Handle to the object.

lChar

A LONG value specifying the character code.

Return value

Eax returns TRUE if succesful, or FALSE if not.

REMARKS: The ANSI character to be set should be in the low byte of lChar.