locked
ICredentialProviderCredential::GetBitmapValue Borders and Transparencies Windows 7 - 10 RRS feed

  • Question

  • I have a version 1 Credential Provider that works under both Windows 7 and Windows 10 (have not tried Windows 8.x). Under Windows 7 the HBITMAP returned in our GetBitmapValue has a border drawn around it by the OS and displayed "nicely". Under Windows 10 there is no border added. The default credential provider in Windows 10 seems to use "round" bitmaps. I assumed they used bitmaps with transparent sections, but when I loaded a bitmap using (

    LoadImage(..., IMAGE_BITMAP,0, 0, LR_DEFAULTSIZE|LR_LOADTRANSPARENT)

    ) the sections appeared totally white.

    So what is the trick used in a Windows 10 Credential Providers to produce a "round" bitmap?

    Thursday, March 17, 2016 2:42 PM