| 114 | } |
| 115 | |
| 116 | bool SendHotkey(BW::dlgEvent *pEvent) |
| 117 | { |
| 118 | #ifndef SHADOW_BROODWAR |
| 119 | BW::dialog *dlg = BW::BWDATA::EventDialogs[pEvent->wNo]; |
| 120 | if ( dlg && dlg->pfcnInteract(dlg, pEvent) ) |
| 121 | return true; |
| 122 | |
| 123 | dlg = BW::BWDATA::DialogList; |
| 124 | while ( dlg ) |
| 125 | { |
| 126 | if ( dlg->pfcnInteract(dlg, pEvent) ) |
| 127 | return true; |
| 128 | dlg = dlg->next(); |
| 129 | } |
| 130 | #endif |
| 131 | return false; |
| 132 | } |
| 133 | |
| 134 | void ButtonEvent(DWORD dwEvent, LPARAM lParam) |
| 135 | { |