Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Focus Issue between windows

Status
Not open for further replies.

splaisance

Programmer
Jul 2, 2001
67
0
0
US
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!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top