INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Focus Issue between windows

Focus Issue between windows

(OP)
Hi,
I'm hoping someone can help out there with this one! We have an application in Clarion 6, legacy which is non-mdi. There is a main browse window which drives majority of the work. On this window there are a number of buttons that call other windows, each on a separate thread from the main one. The browse uses a relation tree and the data must be kept updated pretty constantly. Therefore, we have a timer which shows the date and time at the bottom and regets the tree data.

The issue comes in when one of the other windows is opened. We get a handle to each window to assist in managing the threads started from here to determine in the main notify event if the focus should go back to the browse window which started it or not. If a stop or message statement is put in this processing just before this code goes back to the browse window it works fine. However when no stop or message statement is here then it does not work correctly.


The error is this: even though the mouse will show as being over a button on this browse screen, the user has to click twice to have the button actually click. How can this be corrected so it will work without a stop or message and only 1 click is required??

Thank you for all help and suggestions!

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close