Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Could not communicate with the GPS" error pops-up behind main UI #31

Closed
dnorgaard-usgs opened this issue Dec 21, 2017 · 1 comment

Comments

Projects
None yet
1 participant
@dnorgaard-usgs
Copy link
Contributor

commented Dec 21, 2017

If GPS is enabled but MobileDOAS cannot communicate with the GPS, it will generate a pop-up message. This pop-up message is behind the UI though so the user doesn't notice it until he minimizes or moves the UI. This gives the appearance that the app is not doing anything and confuses the user.

@dnorgaard-usgs dnorgaard-usgs self-assigned this Dec 21, 2017

@dnorgaard-usgs

This comment has been minimized.

Copy link
Contributor Author

commented Dec 21, 2017

Added MB_SYSTEMMODAL to MessageBox call in CGPS::CGPS, e.g.:

MessageBox(NULL, "Could not communicate with GPS. No GPS-data can be retrieved!", "Error", MB_OK | MB_SYSTEMMODAL);

dnorgaard-usgs added a commit to dnorgaard-usgs/MobileDOAS that referenced this issue Dec 22, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.