Added SetFocus function to the Edit.

Added SetFocus function to allow setting focus to the edit by program.
Used this function in PaintOpenWindow class.