Contents Index Topic Contents | ||
Previous Topic: PathSkipRoot Next Topic: PathStripPath |
PathSetDlgItemPath
bool PathSetDlgItemPath( HWND hDlg, int id, LPCSTR pszPath, );Sets the text of a child control in a window or dialog box, using PathCompactPath to make sure the path fits in the control.
- Returns TRUE if successful, or FALSE otherwise.
- hDlg
- Handle to the dialog box or window.
- id
- Identifier of the control.
- pszPath
- Address of a string that contains the path to set in the control.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.