Forums


Comfort Software :: Forums :: Development
<< Previous thread | Next thread >>   

Show/Hide the Floating Window for the On-Screen Window

Author Post
sagnam
Fri Apr 01 2011, 06:13pm
Registered Member #799
Joined: Fri Apr 01 2011, 05:59pm
Posts: 2
I see examples with class and window names for showing or hiding the actual keyboard, but is there a way to show/hide the floating window?

I have some read only components that allow for text selection but cannot be modified. I would prefer that these components didn't activate the floating window. My idea is to disable the automatic showing of the floating window and manually show it only for desired components.
Back to top
Comfort
Sat Apr 02 2011, 07:48am


Joined: Wed Sep 19 2007, 03:42pm
Posts: 617
You can find how to do it here:
http://www.comfort-software.com/keyboard/help/index.html?faqfordevelopers.htm

Program parameters are stored in the HKEY_CURRENT_USER\Software\ComfortSoftware\CKeyboard registry key.
Change parameter FKBVisible.

Once your program has changed some parameters in the system registry, our program needs to load them again. This can be done by sending a windows message containing the WM_USER + 196 code to the program:

WM_CSRELOADOPTIONS = WM_USER + 196;
PostMessage(FindWindow('TFirstForm', 'CKeyboardFirstForm'), WM_CSRELOADOPTIONS, 0, 0);



Have a nice day
Back to top
sagnam
Mon Apr 04 2011, 11:26am
Registered Member #799
Joined: Fri Apr 01 2011, 05:59pm
Posts: 2
When I try that the keyboard flashes (appears then disappears) before the floating keyboard appears.
Back to top
Comfort
Mon Apr 04 2011, 01:14pm


Joined: Wed Sep 19 2007, 03:42pm
Posts: 617
Please try this version: http://www.comfort-software.com/beta/kb_setup.zip

Have a nice day
Back to top
Moderators: Comfort

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System