'tabcontrol tab focus
'此命令会将焦点设置到指定的选项卡中的选项卡控件。
'hWndControl： 该选项卡控件的句柄
'dwItem： tab 键索引值集中的地方是要设置
Sub FF_TabControl_SetTabFocus (ByVal hWndControl As HWND, ByVal dwItem As Long )

   SendMessage hWndControl, _          '  Handle To destination control
                          TCM_SETCURFOCUS, _     '  Message ID
                          dwItem, _               '  Tab Item Index where focus is to be set
                          0                      '  lParam = 0, not used, must be zero
End Sub  

