Solved

A form always staying on top of everything while always been selected no matter what window is open

Posted on 2004-10-04
7
290 Views
Last Modified: 2012-05-05
Hi

Is there a way to keep a form on top of everything (i mean everything, any other program loaded etc, just like the task bar) and keep the other window selected. Sorry if this sounds confusing i will tell you what i am trying to do.

I have a touchscreen and it has no keyboard. I want a keyboard to be permenatly at the bottom of the screen and if i selected a textbox in another window and then started typing something in the keyboard the other window with the textbox has to remain selected. My program will then send data to the keyboard buffer, which should then get read and put into the textbox.

Thanks
Adam
0
Comment
Question by:adam_pedley
7 Comments
 
LVL 4

Author Comment

by:adam_pedley
ID: 12224250
Just a thought

basically identical to how onscreen keyboards on PDA's work

except i need it an actual full size computer
0
 
LVL 6

Assisted Solution

by:ThomasFranke
ThomasFranke earned 100 total points
ID: 12224295
If you are using windows xp you can try the OnScreenKeyboard (osk.exe).
{might already be included with 2000 but im not sure...)
It gives you the desired functionality.

Hope this helps
0
 
LVL 5

Accepted Solution

by:
Ignacio Soler Garcia earned 400 total points
ID: 12224340
To make a form being on top of everything you have the Form property TopMost.

Just put it to true and its already at the top of any window on screen.

See you latter!

SoMoS

0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 19

Expert Comment

by:arif_eqbal
ID: 12224452
If you are using VB.NET just set the TopMost property of the KeyBorad form
TOPMOST=TRUE

in case you are using VB6 use the API
SetWindowPos and pass the argument, HWND_TOPMOST and the handle of your Form

0
 
LVL 18

Expert Comment

by:armoghan
ID: 12224455
there are two ways..
either make it a Model Dialog and use it

or if you dont want a model dialog and want to make it like MSN popup window.

this is a C++ way
http://www.codeguru.com/Cpp/W-D/dislog/article.php/c1857/
0
 
LVL 18

Expert Comment

by:armoghan
ID: 12224463
0
 
LVL 4

Author Comment

by:adam_pedley
ID: 12224467
thanks all
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Protecting vb6 & .Net code Obfuscation 18 97
Closing all open child forms. 4 38
Open a word document 23 33
vb.net checkbox 7 41
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now