On Mon, 9 Feb 2004, Zimler Attila wrote:
I tested windows version of regedit, and there is only two case (one the focus is in the tree, and second the focus in value editor).
What happens when neither of them have the focus? Maybe we should just disable the New/Delete/Rename/Modify menus...
What is the method to test for where is the focus? Is there an function like object->has_focus?
Use the GetFocus() function to retrieve the handle of the window that currently has the focus.