473,387 Members | 1,863 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Making my app 'take' focus.

Is there a way of forcing focus for input onto my app's form even if Windows
(or another app) displays a modal dialog etc?

The reason for this is that my app runs on a 'car PC' with keyboard input
only and no display or mouse, so I need a way of keeping the app accessible
at all times, whatever happens...

Thanks,

Andy
Nov 20 '05 #1
9 1035
Me.TopMost = True

Hope this helps, feel free to ask,

Dhaval Faria
Microsoft India Community Star
Founder, Programmer.
Hirdhav (http://www.hirdhav.com)

"Andy" <no******@ntlworld.com> wrote in message
news:Tm**************@newsfep1-gui.server.ntli.net...
Is there a way of forcing focus for input onto my app's form even if Windows (or another app) displays a modal dialog etc?

The reason for this is that my app runs on a 'car PC' with keyboard input
only and no display or mouse, so I need a way of keeping the app accessible at all times, whatever happens...

Thanks,

Andy

Nov 20 '05 #2
* "Andy" <no******@ntlworld.com> scripsit:
Is there a way of forcing focus for input onto my app's form even if Windows
(or another app) displays a modal dialog etc?

The reason for this is that my app runs on a 'car PC' with keyboard input
only and no display or mouse, so I need a way of keeping the app accessible
at all times, whatever happens...


VB6 implementation:

<http://www.mvps.org/vb/code/ForceFore.zip>

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #3
Is your apparent title 'Microsoft India Community Star' the asian equiv of
an MVP ? and are you working in India at those UK outsourced software houses
which have taken so may programmers jobs in the UK ?

Regards - OHM#

Dhaval Faria wrote:
Me.TopMost = True

Hope this helps, feel free to ask,

Dhaval Faria
Microsoft India Community Star
Founder, Programmer.
Hirdhav (http://www.hirdhav.com)

"Andy" <no******@ntlworld.com> wrote in message
news:Tm**************@newsfep1-gui.server.ntli.net...
Is there a way of forcing focus for input onto my app's form even if
Windows (or another app) displays a modal dialog etc?

The reason for this is that my app runs on a 'car PC' with keyboard
input only and no display or mouse, so I need a way of keeping the
app accessible at all times, whatever happens...

Thanks,

Andy


Regards - OHM# On**********@BTInternet.com
Nov 20 '05 #4
no title Microsoft India Community Star is not related to MVP, Community
star is different thing check it out here
http://www.microsoft.com/india/communitystar and in here you can find my
name as well
http://www.microsoft.com/india/commu...Selections.asp and we
have got MVP as well in India http://www.microsoft.com/india/mvp

no I have my own company Hirdhav.

Dhaval Faria.
Microsoft India Community Star
Founder, Programmer
Hirdhav (http://www.hirdhav.com)

"One Handed Man [ OHM# ]" <On**********@BTInternet.com> wrote in message
news:Oe**************@TK2MSFTNGP10.phx.gbl...
Is your apparent title 'Microsoft India Community Star' the asian equiv of
an MVP ? and are you working in India at those UK outsourced software houses which have taken so may programmers jobs in the UK ?

Regards - OHM#

Dhaval Faria wrote:
Me.TopMost = True

Hope this helps, feel free to ask,

Dhaval Faria
Microsoft India Community Star
Founder, Programmer.
Hirdhav (http://www.hirdhav.com)

"Andy" <no******@ntlworld.com> wrote in message
news:Tm**************@newsfep1-gui.server.ntli.net...
Is there a way of forcing focus for input onto my app's form even if
Windows (or another app) displays a modal dialog etc?

The reason for this is that my app runs on a 'car PC' with keyboard
input only and no display or mouse, so I need a way of keeping the
app accessible at all times, whatever happens...

Thanks,

Andy


Regards - OHM# On**********@BTInternet.com

Nov 20 '05 #5
C' Star seems very similar to MVP's though.

OHM#
Dhaval Faria wrote:
no title Microsoft India Community Star is not related to MVP,
Community star is different thing check it out here
http://www.microsoft.com/india/communitystar and in here you can find
my name as well
http://www.microsoft.com/india/commu...Selections.asp
and we have got MVP as well in India
http://www.microsoft.com/india/mvp

no I have my own company Hirdhav.

Dhaval Faria.
Microsoft India Community Star
Founder, Programmer
Hirdhav (http://www.hirdhav.com)

"One Handed Man [ OHM# ]" <On**********@BTInternet.com> wrote in
message news:Oe**************@TK2MSFTNGP10.phx.gbl...
Is your apparent title 'Microsoft India Community Star' the asian
equiv of an MVP ? and are you working in India at those UK
outsourced software houses which have taken so may programmers jobs
in the UK ?

Regards - OHM#

Dhaval Faria wrote:
Me.TopMost = True

Hope this helps, feel free to ask,

Dhaval Faria
Microsoft India Community Star
Founder, Programmer.
Hirdhav (http://www.hirdhav.com)

"Andy" <no******@ntlworld.com> wrote in message
news:Tm**************@newsfep1-gui.server.ntli.net...
Is there a way of forcing focus for input onto my app's form even
if Windows (or another app) displays a modal dialog etc?

The reason for this is that my app runs on a 'car PC' with keyboard
input only and no display or mouse, so I need a way of keeping the
app accessible at all times, whatever happens...

Thanks,

Andy


Regards - OHM# On**********@BTInternet.com


Regards - OHM# On**********@BTInternet.com
Nov 20 '05 #6
it sounds it is similar to MVP but not

MVP has got to do with whole globe.. and Community Star has to do with
India, I dont no if any other countries having this thing or not.

Dhaval Faria
Microsoft India Community Star
Founder, Programmer.
Hirdhav (http://www.hirdhav.com)

"One Handed Man [ OHM# ]" <On**********@BTInternet.com> wrote in message
news:Om**************@TK2MSFTNGP09.phx.gbl...
C' Star seems very similar to MVP's though.

OHM#
Dhaval Faria wrote:
no title Microsoft India Community Star is not related to MVP,
Community star is different thing check it out here
http://www.microsoft.com/india/communitystar and in here you can find
my name as well
http://www.microsoft.com/india/commu...Selections.asp
and we have got MVP as well in India
http://www.microsoft.com/india/mvp

no I have my own company Hirdhav.

Dhaval Faria.
Microsoft India Community Star
Founder, Programmer
Hirdhav (http://www.hirdhav.com)

"One Handed Man [ OHM# ]" <On**********@BTInternet.com> wrote in
message news:Oe**************@TK2MSFTNGP10.phx.gbl...
Is your apparent title 'Microsoft India Community Star' the asian
equiv of an MVP ? and are you working in India at those UK
outsourced software houses which have taken so may programmers jobs
in the UK ?

Regards - OHM#

Dhaval Faria wrote:
Me.TopMost = True

Hope this helps, feel free to ask,

Dhaval Faria
Microsoft India Community Star
Founder, Programmer.
Hirdhav (http://www.hirdhav.com)

"Andy" <no******@ntlworld.com> wrote in message
news:Tm**************@newsfep1-gui.server.ntli.net...
> Is there a way of forcing focus for input onto my app's form even
> if Windows (or another app) displays a modal dialog etc?
>
> The reason for this is that my app runs on a 'car PC' with keyboard
> input only and no display or mouse, so I need a way of keeping the
> app accessible at all times, whatever happens...
>
> Thanks,
>
> Andy

Regards - OHM# On**********@BTInternet.com


Regards - OHM# On**********@BTInternet.com

Nov 20 '05 #7
Yes, its like a localised MVP with a different name.

OHM#

Dhaval Faria wrote:
it sounds it is similar to MVP but not

MVP has got to do with whole globe.. and Community Star has to do with
India, I dont no if any other countries having this thing or not.

Dhaval Faria
Microsoft India Community Star
Founder, Programmer.
Hirdhav (http://www.hirdhav.com)

"One Handed Man [ OHM# ]" <On**********@BTInternet.com> wrote in
message news:Om**************@TK2MSFTNGP09.phx.gbl...
C' Star seems very similar to MVP's though.

OHM#
Dhaval Faria wrote:
no title Microsoft India Community Star is not related to MVP,
Community star is different thing check it out here
http://www.microsoft.com/india/communitystar and in here you can
find my name as well
http://www.microsoft.com/india/commu...Selections.asp
and we have got MVP as well in India
http://www.microsoft.com/india/mvp

no I have my own company Hirdhav.

Dhaval Faria.
Microsoft India Community Star
Founder, Programmer
Hirdhav (http://www.hirdhav.com)

"One Handed Man [ OHM# ]" <On**********@BTInternet.com> wrote in
message news:Oe**************@TK2MSFTNGP10.phx.gbl...
Is your apparent title 'Microsoft India Community Star' the asian
equiv of an MVP ? and are you working in India at those UK
outsourced software houses which have taken so may programmers jobs
in the UK ?

Regards - OHM#

Dhaval Faria wrote:
> Me.TopMost = True
>
> Hope this helps, feel free to ask,
>
> Dhaval Faria
> Microsoft India Community Star
> Founder, Programmer.
> Hirdhav (http://www.hirdhav.com)
>
> "Andy" <no******@ntlworld.com> wrote in message
> news:Tm**************@newsfep1-gui.server.ntli.net...
>> Is there a way of forcing focus for input onto my app's form even
>> if Windows (or another app) displays a modal dialog etc?
>>
>> The reason for this is that my app runs on a 'car PC' with
>> keyboard input only and no display or mouse, so I need a way of
>> keeping the app accessible at all times, whatever happens...
>>
>> Thanks,
>>
>> Andy

Regards - OHM# On**********@BTInternet.com


Regards - OHM# On**********@BTInternet.com


Regards - OHM# On**********@BTInternet.com
Nov 20 '05 #8
ya a localized MVP.. but we can also be a MVP,
http://www.microsoft.com/india/mvp

Dhaval Faria
Microsoft India Community Star
Founder, Programmer
Hirdhav (http://www.hirdhav.com)

"One Handed Man [ OHM# ]" <On**********@BTInternet.com> wrote in message
news:uG**************@TK2MSFTNGP12.phx.gbl...
Yes, its like a localised MVP with a different name.

OHM#

Dhaval Faria wrote:
it sounds it is similar to MVP but not

MVP has got to do with whole globe.. and Community Star has to do with
India, I dont no if any other countries having this thing or not.

Dhaval Faria
Microsoft India Community Star
Founder, Programmer.
Hirdhav (http://www.hirdhav.com)

"One Handed Man [ OHM# ]" <On**********@BTInternet.com> wrote in
message news:Om**************@TK2MSFTNGP09.phx.gbl...
C' Star seems very similar to MVP's though.

OHM#
Dhaval Faria wrote:
no title Microsoft India Community Star is not related to MVP,
Community star is different thing check it out here
http://www.microsoft.com/india/communitystar and in here you can
find my name as well
http://www.microsoft.com/india/commu...Selections.asp
and we have got MVP as well in India
http://www.microsoft.com/india/mvp

no I have my own company Hirdhav.

Dhaval Faria.
Microsoft India Community Star
Founder, Programmer
Hirdhav (http://www.hirdhav.com)

"One Handed Man [ OHM# ]" <On**********@BTInternet.com> wrote in
message news:Oe**************@TK2MSFTNGP10.phx.gbl...
> Is your apparent title 'Microsoft India Community Star' the asian
> equiv of an MVP ? and are you working in India at those UK
> outsourced software houses which have taken so may programmers jobs
> in the UK ?
>
> Regards - OHM#
>
> Dhaval Faria wrote:
>> Me.TopMost = True
>>
>> Hope this helps, feel free to ask,
>>
>> Dhaval Faria
>> Microsoft India Community Star
>> Founder, Programmer.
>> Hirdhav (http://www.hirdhav.com)
>>
>> "Andy" <no******@ntlworld.com> wrote in message
>> news:Tm**************@newsfep1-gui.server.ntli.net...
>>> Is there a way of forcing focus for input onto my app's form even
>>> if Windows (or another app) displays a modal dialog etc?
>>>
>>> The reason for this is that my app runs on a 'car PC' with
>>> keyboard input only and no display or mouse, so I need a way of
>>> keeping the app accessible at all times, whatever happens...
>>>
>>> Thanks,
>>>
>>> Andy
>
> Regards - OHM# On**********@BTInternet.com

Regards - OHM# On**********@BTInternet.com


Regards - OHM# On**********@BTInternet.com

Nov 20 '05 #9

Still no luck.. when the form loses focus it doesn't see keystrokes.
Nov 20 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: |-|erc | last post by:
Hi! Small challenge for you. The index.php uses this file and calls layout(). Take a look at www.chatty.net this file draws the chat login box on the right. I traced the CHAT button it submits...
2
by: nntp-service.ohio-state.edu | last post by:
Hey folks - I'm a newbie to java script. I'm trying to make a portable data-validator for fields in an HTML form. Ideally, it would work something like this: <input type="text" name="test"...
2
by: GIMME | last post by:
Background ... I've created a web application that allows a user to create an HTML application from IE. The application itself creates an XML representation of a XHTML form. The XHTML...
0
by: Shravan | last post by:
Hi, I saw that in Windows Forms DataGrid with new row creation set to true, if I have added a new row earlier which was empty and deleted the row and shifted the focus to any other control and...
5
by: moondaddy | last post by:
I'm going to use an aspx page to display an invoice that customers can print from. Sometimes when I go to a site and navigate to a page I want to print, they will have a button that says something...
2
by: André | last post by:
Hi, I made a detailsview containing several fields for inserting only. I also made a dropdownlist which is invisible at start. Now, when clicking in a particular textbox, the dropdownlist must...
1
by: Chris Marsh | last post by:
I am expecting it to automatically put the cursor in the field I am entering but it doesn't I still have to tab to get to that field. I was hoping that I could set the focus, buttons and tab...
9
by: ApexData | last post by:
My main form has tab-pages. On each tabbed page is a subform control containing a different subform. When a user selects a specific tab and begins to edit a record, I need a way of preventing the...
7
by: =?Utf-8?B?dmJ0cnlpbmc=?= | last post by:
I am using a switch statement, to check for valid user hours. If the hours control is blank, I want to place the cursor back to the hours control for the user. The following code does NOT work:...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.