An application sends a ZGM_GOTOFIRSTONSEARCH message to enable or disable the movement of the cursor to the first match when the [Enter] key is pressed after typing the string to search for in the search edit control.
ZGM_GOTOFIRSTONSEARCH
wParam = (WPARAM) (BOOL) fEnable; //enable flag
lParam = 0; //not used; must be zero
This message does not return a value.
GOTO_FIRST_ON_SEARCH is disabled (FALSE) by default.