Ask Experts Questions for FREE Help !
Ask
    kate_ques's Avatar
    kate_ques Posts: 6, Reputation: 1
    New Member
     
    #1

    Apr 6, 2005, 06:42 AM
    background mode again
    Well,
    I want to write Typing Assistant programming which help you in typing in other applications.For instance,when you are typing 'boo',the program will show you the word beginning with 'boo' at the highest probability(for example,'book').Because I need the program help you in the others,I need it run in background mode automatically.I may program in C/MFC/API.can you help me by showing me how to make an application run in background mode?
    ScottGem's Avatar
    ScottGem Posts: 64,966, Reputation: 6056
    Computer Expert and Renaissance Man
     
    #2

    Apr 6, 2005, 09:41 AM
    Ahh, now I see what you need. What you have to do is capture the keystrokes BEFORE they get to the application so they can be analyzed and the alternatives offered. This is not "running in the background". As I said previously, Windows is a multi-tasking OS, so any program that is loaded into memory is running.

    Again, I'm not a coder so I can't tell you how to do it, but I can tell you what you need to do. What you need is to access the API that receives keystrokes from the keyboard. You need to read those keystrokes into your program and then pass them to the active application. You need to add each new keystroke to the previous and compare them to your dictionary to see if there is a match then present the matches to the user. You will also need to check for selection of a choice or a space being input to clear the current buffer and start a new word.

    I really doubt if you will get much help with the actual coding here. Not sure how many coders are here. I would also ask in forums that support the languages you want to work in. But at least now you can ask for the correct procedure (how to intercept keystrokes).

    One more point, if you have a follow-up question, please use the Repy option rather then starting a new note. It helps to keep the thread together.

Not your question? Ask your question View similar questions

 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.


Check out some similar questions!

Criminal background 12 yrs.ago... [ 2 Answers ]

I am getting ready to go back to school in the medical field; I'm offered job placements through where I graduated .Do I have to worry about possibility of rejection because of a past record-over 10yrs.ago?! I've been told it shouldn't be that big of a deal... but,I have concerns because school...

Transparent background... [ 1 Answers ]

I really having trouble with this, every time I export a photo mostly jpg and bitmap files I can't have a transparent background... then I try this I make a new image with adobe then copy and paste it to corel I can see no background but when I print it a squire size fit to the image appear......

Application in background mode [ 1 Answers ]

How should I do to make my small application run in background mode?Please reply to me.Thanks.

More background mode [ 1 Answers ]

Firstly,thanks for your replies. If I write a program using MFC or API and I need to set my program become a background mode running application,how I carry out it?

Background mode? [ 2 Answers ]

What is background mode?A program in background mode has any feature?How to make a program run in background mode?Please explain to me.Thanks in advance.


View more questions Search