summaryrefslogtreecommitdiff
path: root/iup/src/win/iupwin_dialog.c
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2010-09-09 02:26:30 +0200
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2010-09-09 02:32:26 +0200
commit7505e88db66798b2b8fcdff2d92a7136cd826b5b (patch)
treeb6ced565318f8e8112e35cb0ad53abe4212ef8de /iup/src/win/iupwin_dialog.c
parente9a184546b18cf3b796bd560561f312934004c54 (diff)
Upgrading to IUP 3.2 - and cleaning up.
Diffstat (limited to 'iup/src/win/iupwin_dialog.c')
-rwxr-xr-xiup/src/win/iupwin_dialog.c7
1 files changed, 7 insertions, 0 deletions
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)