Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Certificate Informatin Dialog

16 views
Skip to first unread message

guit...@hotmail.com

unread,
Nov 6, 2003, 6:00:48 PM11/6/03
to
How do I display the SSL certificate information dialog box, like IE
does when you double-click on the lock icon in the status bar?

Thanks.

Igor Tandetnik

unread,
Nov 6, 2003, 6:25:48 PM11/6/03
to
<guit...@hotmail.com> wrote in message
news:3FAAD2...@hotmail.com...

> How do I display the SSL certificate information dialog box, like IE
> does when you double-click on the lock icon in the status bar?

MSHTML uses InternetShowSecurityInfoByURL[A|W] - an undocumented export
from WinInet.dll. It takes two parameters, an HWND and LPCTSTR, don't
remember in what order - try both, see which one doesn't crash, remember
__stdcall calling convention and probably a BOOL return type.
--
With best wishes,
Igor Tandetnik

"For every complex problem, there is a solution that is simple, neat,
and wrong." H.L. Mencken


guit...@hotmail.com

unread,
Nov 7, 2003, 11:14:43 AM11/7/03
to
Thanks. I got it working with the url as the first parameter, then the
window handle second.
0 new messages