I have a project that I have been working on for a while and have it mostly complete. (or so I thought) I do my development on a windows 2000 machine and have tested my program on Windows XP. All works well there. However, I have now given the program to a few associates to 'test' and have found that my program does not function properly on Windows 98.
Here is what my program does:
(Sorry for the long lead in)
It acts like an onscreen keyboard, in as much as it sends character strings to other 'open' applications, (such as Notepad, Outlook Express, Microsoft Word.....) whenever a 'button' is clicked on my program. (I use sendkeys)
I have received help from EE members in getting my program to 'Stay On Top' (Topmost) without actually receiving focus, which is the desired state. This works for fine for Windows 2000 and Windows XP, However, on Windows 98, whenever I click a button on my program, the 'Focus' is moved, from the application I am working with ( notepad for example ) to my program, thus causing the desired string of characters to be sent elsewhere and Not to the application that 'Had' focus. (ie Notepad or Word or....)
If any one has any ideas about what is going on and how to fix it I would be very greatful. Upon request I will post code snippets that cause this functionality to work for Windows 2000 and Windows XP.
Thanks in advance for any help you can give,