Navit SVN

/work/compile/navit/src/navit/gui/win32/win32_gui_notify.h

00001 
00002 enum message_id
00003 {
00004     WINDOW_CREATE,
00005     WINDOW_SIZE,
00006     WINDOW_DESTROY,
00007     DBLCLICK,
00008     CLICK,
00009     CHANGE,
00010     BUTTON_CLICK,
00011     INVALID
00012 
00013 };
00014 
00015 struct datawindow_priv;
00016 struct notify_priv* win32_gui_notify_new();
00017 void win32_gui_notify(struct notify_priv* notify, HWND hwnd, int message_id, void(*func)(struct datawindow_priv *parent, int param1, int param2));
00018 LRESULT CALLBACK message_handler(HWND hwnd, UINT win_message, WPARAM wParam, LPARAM lParam);