c++ - Credential Provider. Displaying a kind of progress bar and disabling password or PIN field -
i developing custom smart card credential provider based on microsoft's samples http://www.microsoft.com/en-us/download/details.aspx?id=5372. in particular, i'm using sample wrapped provider, need add new functions existing ones. after pressing submit button provider should send authentification request server , in case of positive answer should proceed further standard windows mechanism.
i have done placing requesting code begining of getserialization method. since operation can take long time, need inform user current progress.
- first question. idea run code getserialization?
since developer not allowed draw custom controls on logon screen (like progress bar), decided create small topmost window containing current operation status , display in top right corner. @ same time need disable pin field , submit button until operation finished. noticed here disabling areas on credential provider, it's not possible getserialization.
second question. way recommend me achieve functionality?
and third one. how can use credentials::advice method determine happened? because icredentialprovidercredentialevents* pcpce parameter, can use calling it's methods, still have no idea, source of event. key pressed or submit button or else?
any appreciated)
- i got same ambiguity , server interaction inside of
getserialisation- work fine. delay pressing submit login approximately 2 seconds. - try use text field running dot:
'. ' ' . ' ' . ' ' . ' ' . ' ' .' - advise used provide context calls
logonui. example set text fields updated values.
Comments
Post a Comment