Description
The Thumbnail Dialog sends this message when the user clicks on the Open button or opens files in an other way.
Notes
This message is sent only if the dialog is modeless.
Sample
MyDlg.h
-------
#include "BiThumbnail.h"
...
afx_msg LRESULT OnThumbnailEventHandler(WPARAM wParam, LPARAM lParam);
...
MyDlg.cpp
---------
…
BiThumbnailDlg thumbDlg(m_hWnd);
…
const UINT ID_THUMBNAIL_REGISTERED_MESSAGE = RegisterWindowMessage(ID_THUMBNAIL_OPEN_IMAGES_EVENT_STR);
...
BEGIN_MESSAGE_MAP(CMyDlg, CDialog)
…
ON_REGISTERED_MESSAGE(
ID_THUMBNAIL_REGISTERED_MESSAGE, OnThumbnailEventHandler)
…
END_MESSAGE_MAP()
...
LRESULT CMyDlg::OnThumbnailEventHandler(WPARAM wParam, LPARAM lParam)
{
// event handler code
return 0;
}