| 1250 | } |
| 1251 | |
| 1252 | static int ConvertRunMode(LPTSTR aBuf) |
| 1253 | // Returns the matching WinShow mode, or SW_SHOWNORMAL if none. |
| 1254 | // These are also the modes that AutoIt3 uses. |
| 1255 | { |
| 1256 | if (!aBuf || !*aBuf) return SW_SHOWNORMAL; |
| 1257 | if (!_tcsicmp(aBuf, _T("MIN"))) return SW_MINIMIZE; |
| 1258 | if (!_tcsicmp(aBuf, _T("MAX"))) return SW_MAXIMIZE; |
| 1259 | if (!_tcsicmp(aBuf, _T("HIDE"))) return SW_HIDE; |
| 1260 | return SW_SHOWNORMAL; |
| 1261 | } |
| 1262 | |
| 1263 | static int ConvertMouseButton(LPTSTR aBuf, bool aAllowWheel = true) |
| 1264 | // Returns the matching VK, or zero if none. |
nothing calls this directly
no outgoing calls
no test coverage detected