CEdit Control password style switch
-
I build an app w/VC++6 :laugh: . I design a window with an
EDIT CONTROL (IDD_MYEDIT)
, associate aCEdit control
(m_myedit
). I switched on thePASSWORD
style of the control. Can be triggered this style on or off during the program running? :confused:36. When you surround an army, leave an outlet free. ... Do not press a desperate foe too hard. SUN-TZU - Art of War
-
I build an app w/VC++6 :laugh: . I design a window with an
EDIT CONTROL (IDD_MYEDIT)
, associate aCEdit control
(m_myedit
). I switched on thePASSWORD
style of the control. Can be triggered this style on or off during the program running? :confused:36. When you surround an army, leave an outlet free. ... Do not press a desperate foe too hard. SUN-TZU - Art of War
-
-
I build an app w/VC++6 :laugh: . I design a window with an
EDIT CONTROL (IDD_MYEDIT)
, associate aCEdit control
(m_myedit
). I switched on thePASSWORD
style of the control. Can be triggered this style on or off during the program running? :confused:36. When you surround an army, leave an outlet free. ... Do not press a desperate foe too hard. SUN-TZU - Art of War
-
-
That's true, you can't add or remove ES_PASSWORD directly with SetWindowLong, but with EM_SETPASSWORDCHAR[^] you can still have the desired effect.
Cool thanks!
Mark Salsbery Microsoft MVP - Visual C++ :java: