请教:
    编辑框的属性中选择了password,输入时显示的就是星号,请问可以把星号改为其他形式的符号吗?例如圆点。如果可以的话,怎么修改?
    谢谢!

解决方案 »

  1.   

    EM_SETPASSWORDCHAR
    The EM_SETPASSWORDCHAR message sets or removes the password character for an edit control. When a password character is set, that character is displayed in place of the characters typed by the user. You can send this message to either an edit control or a rich edit control.To send this message, call the SendMessage function with the following parameters. SendMessage( 
      (HWND) hWnd,           // handle to destination window 
      EM_SETPASSWORDCHAR,    // message to send
      (WPARAM) wParam,       // character
      (LPARAM) lParam        // not used; must be zero
    );