Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Make lostfocus fire when switching to outlook app
Message
From
02/12/2010 07:53:15
 
 
To
02/12/2010 07:44:01
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01491380
Message ID:
01491541
Views:
65
>Hi Tracy.
>
>>Windows Event Binding Made Easy (Detecting application switch)
>>http://msdn.microsoft.com/en-us/library/ms947678.aspx
>
>Want to know something funny? I needed to do something similar to this a couple of days ago and was planning on doing some research to figure out how. Getting old, I guess.
>
>Doug

Same here :o) I have far too many examples now and so much code that I cannot even find anything I've done over the past 30 years in my own code :o)

It turns out I needed to do more than just force the lostfocus() on a control when the user switches to another app on the desktop. I also need to make a "kiosk app" more or less and Al pointed me in the right direction. I found these:

http://www.codeproject.com/KB/winsdk/AntonioWinLock.aspx

And foxpro lock windows desktop: http://www.news2news.com/vfp/?example=492

If you work it out to suit your needs, please post a white paper for all the other "old folks" :o)

See: Message #1491513 and see thread #1482141
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Reply
Map
View

Click here to load this message in the networking platform