共用方式為


COleChangeSourceDialog::IsValidSource

Call this function to determine if the new source is valid.

BOOL IsValidSource( );

Return Value

Nonzero if the new source is valid, otherwise 0.

Remarks

Call this function only after DoModal returns IDOK.

For more information, see the OLEUICHANGESOURCE structure in Windows SDK.

Requirements

Header: afxodlgs.h

See Also

Reference

COleChangeSourceDialog Class

Hierarchy Chart

COleChangeSourceDialog::DoModal