SendMessage(me.hwnd,WM_NEXTDLGCTL,0,1);
SendMessage(me.hwnd,WM_NEXTDLGCTL,0,0);
具体如何给出这两个参数,要根据不同的消息类型来决定。不同的消息对应的这两个参数的类型是不一致的,有的是用的DWORD类型,有的使用的是结构指针。你看一下MSDN中的帮助就知道了。

解决方案 »

  1.   

    wParam 
    If lParam is TRUE, this parameter identifies the control that receives the focus. If lParam is FALSE, this parameter indicates whether the next or previous control with the WS_TABSTOP style receives the focus. If wParam is zero, the next control receives the focus; otherwise, the previous control with the WS_TABSTOP style receives the focus. 
    lParam 
    The low-order word indicates how the system uses wParam. If the low-order word is TRUE, wParam is a handle associated with the control that receives the focus; otherwise, wParam is a flag that indicates whether the next or previous control with the WS_TABSTOP style receives the focus. **COPIED FROM MSDN**