diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2010-09-09 02:26:30 +0200 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2010-09-09 02:32:26 +0200 |
commit | 7505e88db66798b2b8fcdff2d92a7136cd826b5b (patch) | |
tree | b6ced565318f8e8112e35cb0ad53abe4212ef8de /iup/src/win/iupwin_dialog.c | |
parent | e9a184546b18cf3b796bd560561f312934004c54 (diff) |
Upgrading to IUP 3.2 - and cleaning up.
Diffstat (limited to 'iup/src/win/iupwin_dialog.c')
-rwxr-xr-x | iup/src/win/iupwin_dialog.c | 7 |
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) |