MCPcopy Create free account
hub / github.com/bumptop/BumpTop / updateAuthorizationKey

Method updateAuthorizationKey

trunk/win/Source/BT_SettingsAppMessageHandler.cpp:284–296  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

282}
283
284bool SettingsAppMessageHandler::updateAuthorizationKey()
285{
286 // we're not searching by classname because that's generated by wxWidgets,
287 // and might change in the future
288 HWND btSettings = FindWindowEx(NULL, NULL, NULL, L"BumpTop Settings");
289 LRESULT result = 0;
290 if (btSettings != NULL)
291 {
292 BringWindowToTop(btSettings);
293 result = ::PostMessage(btSettings, AuthorizationDialogClose, 0, 0);
294 }
295 return (result > 0);
296}
297
298

Callers 1

authorizeCodeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected