D
David
Hello...I want to use this API function im my projectHWND
CreateDialogParam( HINSTANCE hInstance,
LPCTSTR lpTemplateName,
HWND hWndParent,
DLGPROC lpDialogFunc,
LPARAM dwInitParam
);so i wrote this implementation:[DllImport("user32.dll")]public static
extern IntPtr CreateDialogParam ( IntPtr hInstance, string
lpTemplateName, IntPtr hWndParent, /*lpDialogFunc,*/ long
dwInitParam);what shoul i do with DLGPROC? It's pointer to function... I
created function like this:IntPtr DialogProc ( IntPtr hwndDlg, uint
uMsg, long wParam, long lParam);but... what to do next?thanx,David
I.
CreateDialogParam( HINSTANCE hInstance,
LPCTSTR lpTemplateName,
HWND hWndParent,
DLGPROC lpDialogFunc,
LPARAM dwInitParam
);so i wrote this implementation:[DllImport("user32.dll")]public static
extern IntPtr CreateDialogParam ( IntPtr hInstance, string
lpTemplateName, IntPtr hWndParent, /*lpDialogFunc,*/ long
dwInitParam);what shoul i do with DLGPROC? It's pointer to function... I
created function like this:IntPtr DialogProc ( IntPtr hwndDlg, uint
uMsg, long wParam, long lParam);but... what to do next?thanx,David
I.