From 7505e88db66798b2b8fcdff2d92a7136cd826b5b Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Thu, 9 Sep 2010 02:26:30 +0200 Subject: Upgrading to IUP 3.2 - and cleaning up. --- iup/src/win/iupwin_dialog.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'iup/src/win/iupwin_dialog.c') diff --git a/iup/src/win/iupwin_dialog.c b/iup/src/win/iupwin_dialog.c index c13b88d..93fe404 100755 --- a/iup/src/win/iupwin_dialog.c +++ b/iup/src/win/iupwin_dialog.c @@ -423,6 +423,13 @@ static int winDialogBaseProc(Ihandle* ih, UINT msg, WPARAM wp, LPARAM lp, LRESUL *result = 0; return 1; } + case WM_COPYDATA: /* usually from SetGlobal("SINGLEINSTANCE") */ + { + COPYDATASTRUCT* cds = (COPYDATASTRUCT*)lp; + IFnsi cb = (IFnsi)IupGetCallback(ih, "COPYDATA_CB"); + if (cb) cb(ih, cds->lpData, cds->cbData); + break; + } case WM_SETCURSOR: { if (ih->handle == (HWND)wp && LOWORD(lp)==HTCLIENT) -- cgit v1.2.3