SECEditController::NeedFindForReplace

BOOL SECEditController::NeedFindForReplace(_SEC_FIND_REPLACE_STATE* pState)

Queries whether a find operation needs to take place before a replace operation can occur. If there is no selected text, then find operation needs to occur. If there is text selected, a replace can take place if the selected text matches the search string.

Defined in: SECEditController.cpp

Return Value

Returns non-zero if a find operation should be performed; otherwise 0.

Parameters

pState

Points to the global find replace state.

See Also

SECEditController