Happens when a window is receiving the focus (ie, the user's keyboard input will be directed to that window, and CHAR or KEYDOWN/KEYUP events may happen as he presses the keys).
Args
ARG(1) is the window that previously had the focus. This may be 0 if no window had the focus.
Notes
See also KILLFOCUS, ACTIVATE.