Boost logo

Boost :

From: jeanne ketcham (stedak_at_[hidden])
Date: 2002-12-29 19:40:19


In vc++ DLGPROC is defined as:
typedef INT_PTR (CALLBACK* DLGPROC)(HWND, UINT, WPARAM, LPARAM);

WinApi function that uses DLGPROC:
DialogBox(
  HINSTANCE , LPCTSTR , HWND, DLGPROC lpDialogFunc // dialog box
procedure
);

In my class:
int CALLBACK testDlgProc(HWND, UINT, WPARAM, LPARAM);

Is it possible to:
boost::bind(&CMainDlg::testDlgProc, this, ... ) for DLGPROC ?

How?

Thanks!


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk