Re: Exodus Plugin. Problem with "showToast()" method

"Peter Millard" <me-STcBuFROdrv2eFz/[email protected]> Thu, 12 Feb 2004 13:51:36 -0700
Newsgroups gmane.network.jabber.exodus.devel
Message-ID <01c201c3f1aa$03bf9f50$e201020a@pmillard2k>
Fred O'Leary wrote:
> Hi,
> My plugin invokes IExodusController::showToast( "A Messsage", (long)m_hWnd,
> 1 );
> The toast popup shows OK but when I click on it I get the following error.
> "Access violation at address 00549F53 in module 'Exodus.exe'..."
> I assume this is a result of trying to bring m_hWnd to the top. m_hWnd is a
> valid Win32 HWND. Does anyone know if there are any particular requirements
> of the HWND, (WS_XXX styles etc)

/me hides :)
There are no requirements, I was just an idiot the day I coded that up.. please
submit a bug report. There are issues in the click handler which assume there is
always a form (which in your case is not true). What is supposed to happen is
that I call setForegroundWindow(handle).

pgm.