none
dynamic display of images for the credential provider

    Question

  • CP gurus,

    Can some one point me to or provide a small template on how to dynamically display images

    when user is interaction/logging into windows with modified CP

     

    Thanks a bunch.

     

    Yes: I looked at it this http://msdn.microsoft.com/en-us/library/bb776892%28VS.85%29.aspx

    but it is all static and moreover require images to be prestored.

    Friday, May 27, 2011 11:54 AM

All replies

  • Hi,

    you can call SetFieldBitmap from ICredentialProviderCredentialEvents to change credential TILE image.

    Beep

    Friday, May 27, 2011 2:59 PM
  • Beep,

     

    Thanks a bunch. Will dig into it. BTW, as a followup Q,

    can I have 2 or more images displayed simultaneously? If so, what is needed here?

     

    -bregs

    Friday, May 27, 2011 7:27 PM
  • Hi,

    I'm afraid that only one image (in Tile) can be displayed (MS CredProv interface is very poor). You can create your own window and draw image into it. This Window should be child of CredProv Window. Handle of cred Prov window you can get by calling OnCreatingWindow from ICredentialProviderCredentialEvents.

    Beep

     

    Monday, May 30, 2011 12:05 PM