Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Property Grid
  New Posts New Posts RSS Feed - Unset password item
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Unset password item

 Post Reply Post Reply
Author
Message
ngoctn View Drop Down
Groupie
Groupie
Avatar

Joined: 30 December 2007
Location: United States
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote ngoctn Quote  Post ReplyReply Direct Link To This Post Topic: Unset password item
    Posted: 20 January 2008 at 11:32pm
In my app, I often switch between password display & clear text display. I can use PropertyGridItem->SetPasswordMask for display an item as password field, but don't know how to reset it to normal display.

Someone can help me?
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 21 January 2008 at 2:20am
Hi,
 
You can override CXTPPropertyGridItem and add method
 
void SetPassword(BOOL bPassword)
{
 m_bPassword = bPassword
}
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
ngoctn View Drop Down
Groupie
Groupie
Avatar

Joined: 30 December 2007
Location: United States
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote ngoctn Quote  Post ReplyReply Direct Link To This Post Posted: 22 January 2008 at 3:46am
Thanks Oleg.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.