Rev 180 | Rev 186 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 180 | Rev 185 | ||
|---|---|---|---|
| Line 211... | Line 211... | ||
| 211 | { |
211 | { |
| 212 | // this function makes a window blink to the foreground for one second, playing a "ding" sound |
212 | // this function makes a window blink to the foreground for one second, playing a "ding" sound |
| 213 | 213 | ||
| 214 | FLASHWINFO fw; |
214 | FLASHWINFO fw; |
| 215 | 215 | ||
| 216 |
|
216 | Audio_PlaySoundAtCenter (SOUNDTYPE_HINTWINDOW); // play a beep at the center of the board |
| 217 | SetForegroundWindow (hWnd); // modal dialog windows have priority over all others |
217 | SetForegroundWindow (hWnd); // modal dialog windows have priority over all others |
| 218 | 218 | ||
| 219 | fw.cbSize = sizeof (fw); |
219 | fw.cbSize = sizeof (fw); |
| 220 | fw.hwnd = hWnd; |
220 | fw.hwnd = hWnd; |
| 221 | fw.dwFlags = FLASHW_CAPTION; |
221 | fw.dwFlags = FLASHW_CAPTION; |