>>Hi,
>>
>>How would you recommend to detect a current mouse position on the VFP application screen? What happens is a user clicks and a function from the
www.news2news.com (wonderful tools) helps me to catch that the mouse was clicked. But I need to find it if it was clicked within a certain area. TIA.
>
>Would AMouseObj() do ?
Just to add to my previous message. While I was testing the alternative approach I think I might have hit on why the regular DOEVENT with a button didn't work. I found that the value of _vfp.AutoYield was .F. and when I change it to .T. the DOEVENT seems to work. So maybe the solution is easier than I thought. And since I need the .AutoYield to be .F. because I use an 3P OCX I can simple set it to .T. before and set it back to .F. after this procedure. The football game today is at 4 pm so I have time to do a lot of work before the game starts <g>
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham