More new Windows Table stuff.
This commit is contained in:
parent
ad6249422b
commit
19358785f6
|
@ -0,0 +1,13 @@
|
||||||
|
// 4 december 2014
|
||||||
|
|
||||||
|
typedef BOOL (*handlerfunc)(struct table *, UINT, WPARAM, LPARAM, LRESULT *);
|
||||||
|
|
||||||
|
static BOOL runHandlers(handlerfunc *list, struct table *t, UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT *lResult)
|
||||||
|
{
|
||||||
|
handlerfunc *p;
|
||||||
|
|
||||||
|
for (p = list; *p != NULL; p++)
|
||||||
|
if ((*(*p))(t, uMsg, wParam, lParam, lResult))
|
||||||
|
return TRUE;
|
||||||
|
return FALSE;
|
||||||
|
}
|
Loading…
Reference in New Issue