Re: how load html page from memory in ShowHTMLDialog function



"ragi" <ragi@xxxxxxxx> wrote in message
news:eTgLYtjeFHA.2244@xxxxxxxxxxxxxxxxxxxx
> I create this dilaog without title bar ( unadorned:yes ).
> Now if user click somewhere out of this dialog I want to automatically
> close it. How can I do that in ShowHTMLDialog ?

Don't know. Maybe you can handle onblur event from inside the HTML of
the dialog. Or perhaps install a hook (see SetWindowsHookEx) and watch
for WM_ACTIVATE messages.
--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925


.



Relevant Pages