Mercurial > dwindows
diff win/dw.c @ 2104:6e55c6f8d816
Added initial notification callback code to the test program.
Win: Added initial notification callback handler glue and fixed a memory leak.
The activation callbacks do not seem to be triggering so added some debug code to test.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Tue, 16 Jun 2020 00:16:59 +0000 |
parents | 12a9546c3e03 |
children | 35abef6e33a9 |
line wrap: on
line diff
--- a/win/dw.c Mon Jun 15 22:05:55 2020 +0000 +++ b/win/dw.c Tue Jun 16 00:16:59 2020 +0000 @@ -2476,6 +2476,16 @@ } } break; + case WM_USER+102: + { + if(hWnd == tmp->window) + { + int (DWSIGNAL *clickfunc)(HWND, void *) = tmp->signalfunction; + + return clickfunc(tmp->window, tmp->data); + } + } + break; } } if(tmp)