I'm having a little problem with pocket hal and my ppc2000 device.
When I tap certain parts of the screen during the game, it seems like the previous window get the tapping message. I.E. I tap in the zone where the Start menu was placed, and I see the start menu appear, while playing my game.
In fact I can even start media player while playing the game :)
I suppose I've missed a message in the MainProc function to catch. I look for this messages:
WM_KEYDOWN
WM_KEYUP
WM_MOUSEMOVE
WM_LBUTTONDOWN
WM_LBUTTONUP
after processing them (just setting some flags & values or adding keys to a buffer), I return TRUE.
If not processed, I return DefWindowProc value (with same parameters I've received)
It works perfectly in my wm2003 and two other ppcs I've tested
TIA :)
Kak
When I tap certain parts of the screen during the game, it seems like the previous window get the tapping message. I.E. I tap in the zone where the Start menu was placed, and I see the start menu appear, while playing my game.
In fact I can even start media player while playing the game :)
I suppose I've missed a message in the MainProc function to catch. I look for this messages:
WM_KEYDOWN
WM_KEYUP
WM_MOUSEMOVE
WM_LBUTTONDOWN
WM_LBUTTONUP
after processing them (just setting some flags & values or adding keys to a buffer), I return TRUE.
If not processed, I return DefWindowProc value (with same parameters I've received)
It works perfectly in my wm2003 and two other ppcs I've tested
TIA :)
Kak