comparison dwtest.c @ 267:bf8b907f8a29

Added initial version of updated key_press_event callback.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Mon, 03 Mar 2003 19:50:19 +0000
parents 5c5bee286d0e
children 3431e445d831
comparison
equal deleted inserted replaced
266:5c5bee286d0e 267:bf8b907f8a29
131 { 131 {
132 dw_timer_disconnect( timerid ); 132 dw_timer_disconnect( timerid );
133 return TRUE; 133 return TRUE;
134 } 134 }
135 135
136 int DWSIGNAL keypress_callback(HWND window, char *text, void *data) 136 int DWSIGNAL keypress_callback(HWND window, char ch, int vk, int state, void *data)
137 { 137 {
138 fprintf(stderr,"got keypress\n"); 138 fprintf(stderr,"got keypress %c %d %d\n", ch, vk, state);
139 return 0; 139 return 0;
140 } 140 }
141 141
142 int DWSIGNAL exit_callback(HWND window, void *data) 142 int DWSIGNAL exit_callback(HWND window, void *data)
143 { 143 {