I need to determine when my application gets the focus from another application. In general, what I am trying to do, is determine if I need to enable a Paste menu. Since a user could go into another app (say text editor) and copy text to the clipboard and then return to my app, how do I do this? I tried OnActivate of the form, but that seems to only get fired at the beginning of the app when loading. I tried OnEnter of a tmemo, but if the memo had focus when the user clicked to another app, this even does not fire, since it still has focus when returning to the app.
Any suggestions?