We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 159 - SDL window lost focus on WinCE
Summary: SDL window lost focus on WinCE
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: events (show other bugs)
Version: HG 1.2
Hardware: x86 Windows (CE)/PocketPC
: P2 normal
Assignee: Dmitry Yakimov
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-10 05:51 UTC by Dmitry Yakimov
Modified: 2006-03-11 18:47 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Yakimov 2006-03-10 05:51:55 UTC
I'm using SDL library on Pocket PC (Acer n30, Arm). I have created a window
(240x320 fullscreen) and I have drawn to it. Everything has worked. But, when
I have connected e.g. USB to RS485 converter to the USB host port (firsttime)
the Pocket PC has opened the dialog box and asked for the driver name. This
dialog box was under my SDL window. My problem is, that this dialog box got
the focus and my SDL window lost it and I'm not able to got the focus back. I
have seen the SDL window, but I can't e.g. push the button on it.

I there any posibility, to catch any "focusing" event or to focus the SDL window.

I have tryed SDL_ACTIVEEVENT but I didn't catch the event.
Comment 1 Sam Lantinga 2006-03-11 18:47:27 UTC
This was fixed by the patch in bug #160