Closed Bug 455378 Opened 13 years ago Closed 13 years ago
CE missing APIs and Windows Messages (plus compiler warning)
Removed code inside nsWindow::SynthesizeNativeKeyEvent, since much of the code to synthesize native key events is not available in WinMobile devices. Remove WM_QUERYENDSESSION and WM_MOUSEACTIVATE window message handling - since WinMobile does not provide these windows messages. Cleaned up compiler warning by casting int to long inside an NS_ASSERTION
Comment on attachment 338701 [details] [diff] [review] NSWINDOW.CPP changes for WinCE compiling + NS_ASSERTION(sIMECursorPosition <= (long)sIMECompUnicode->Length(), "illegal pos"); long -> PRInt32 Lots of stuff is going to be busted if we can't send native key events. I would be okay with this change _temporarily_. File a bug, change the comment to include the bug number. ere, okay with that?
Comment on attachment 338701 [details] [diff] [review] NSWINDOW.CPP changes for WinCE compiling Of course a proper implementation would be nice, but having this done temporarily is ok with (just add that too to the comment). I'm not a super-reviewer though...
Attachment #338701 - Flags: superreview?(emaijala) → superreview+
Comment on attachment 338701 [details] [diff] [review] NSWINDOW.CPP changes for WinCE compiling mfinkle raises the point that it might be better to stub out the enum values rather than adding more ifdefs. please also file a follow up bug to investigate further what we're missing by these events not firing.
Attachment #338701 - Flags: superreview+ → superreview?
checked in on Tue Sep 23 21:10:58 2008 -0700
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Added two new bugs: Bug 459264 - WinCE nsWindow::SynthesizeNativeKeyEvent() needs re-programming and Bug 459273 - WinCE Explore whether App Activate Messages Are Received to handle left-over issues with this bug.
Component: General → Widget: Win32
Product: Fennec → Core
QA Contact: general → win32
You need to log in before you can comment on or make changes to this bug.