It seems that when a control has focus and then I click on a window outside of Access, such as a Windows Explorer folder window or something... that the LostFocus event does not fire.
I have a listView with images on it. I modified the images to look differently when selected (Highlighted) by adding a blue background to them to match the rest of the blue color shown on that row. Then on the lost focus event of the listview I remove the blue highlighting. For the most part this works great, but if I click on an external window it just switches focus to the external window removes the other highlighted portions, but does not call my lost focus event! So the images are left on the list view with the blue background, even though the row isn't being shown as highlighted anymore.
Anyone know how I can execute code when an event occurs where the user clicks an external window?
Thanks,
Will
I have a listView with images on it. I modified the images to look differently when selected (Highlighted) by adding a blue background to them to match the rest of the blue color shown on that row. Then on the lost focus event of the listview I remove the blue highlighting. For the most part this works great, but if I click on an external window it just switches focus to the external window removes the other highlighted portions, but does not call my lost focus event! So the images are left on the list view with the blue background, even though the row isn't being shown as highlighted anymore.
Anyone know how I can execute code when an event occurs where the user clicks an external window?
Thanks,
Will