PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

keyboard problem

I'm using a slightly modified (hacked) version of easyce, but the handling of this looks the same as easyce 2.0

Basically if you have the keyboard dialog open then start an easyce app, it interfere's, similar to how opening a new dailog used to with easyce (pops up and catch's mouse messages).

Has anyone else seen this (or is it somethink dumb I've done again)?
Is their a fix in easyCE already for this?

cheers
Jim.
SIPINFO sp;
SipGetInfo(&sp);
sp.fdwFlags = SIPF_OFF;
SipSetInfo(&sp);

gets rid of any open sip dialogs, call it with sp.fdwFlags = SIPF_ON; when you exit, probably not the correct way to do it, but seems to work.

This may already be in easyCE2.0 .

JIm.
akhromov · 21 Mar 2002, 17:16 UTC — Keyboard interfering
I was just browsing the topics, and I saw this. I thought... hmmm... lemme see if this causes me a porblem. Sure enough, having the Keyboard up before running my app catches all the mouse clicks to it rather than my app.

SO... I put in the bit of code above, but it doesn't seem to fix the problem. I put it at the start of WinMain, and also in the taskbar() function. Neither place seemed to help.

I am using a iPaq3800 and ECE1.6, it that helps.

Andre
I put it WndProc under,
case WM_CREATE:
case WM_SETTINGCHANGE:

works on my ipaq3630 not running 2002, I'll try on my 3800/2002 tomorrow and see what happens.

Setting sp.fdwFlags = SIPF_ON; when you exit the app doesn't reset the SIP (keyboard thingy) properly, I'll have a look tomorrow if no one enlightens me?

cheers
Jim.
Thanks for looking into this Jim.

I put it under WM_CHANGE like you said, and it didn't make any difference.

This isn't a killer, but now unless I can get a sure way to turn off the SIP Keyboard, I may just have to live with it.

Andre
*BUMP* :D
just tested it on my 3870 running 2002, worked fine!?

Jim.
Man, that sucks. I have no idea how to get rid of it. I put it under WM_CREATE: before and after the taskbar(). It still captures the input.

Maybe Phantom or Dan East or BillCow can help.


HELP.
I usually use SHSipPreference to show / hide the SIP. I don't know if you would have better luck with it or not. At least it is much simpler to call. :)

Code:

SHSipPreference(hMainWnd, SIP_FORCEDOWN);


Dan East
SWEEEEET!!!!

Dan comes through. WooHoo! :D

Just to further clarify for anyone else, I added Dan's line like so:
Code:
case WM_CREATE:
case WM_SETTINGCHANGE:
SHSipPreference(hWnd, SIP_FORCEDOWN);
taskbar( false );
break;


Really makes me wonder how you guys know all the SHSIP stuff... but truthfully, I guess I am just as happy not knowing the guts and sticking to using EasyCE.

PHANTOM: EasyCE rocks, but how about putting this into 2.1?

Thanks again Jim, and Dan :)

Andre