IFolderView::GetCurrentViewMode method (shobjidl_core.h)
Gets an address containing a value representing the folder's current view mode.
Syntax
HRESULT GetCurrentViewMode(
[out] UINT *pViewMode
);
Parameters
[out] pViewMode
Type: UINT*
A pointer to a memory location at which to store the folder's current view mode. The value at that address is one of the following FOLDERVIEWMODE values.
FVM_ICON
Medium icons
FVM_SMALLICON
Small icons
FVM_LIST
List view without details
FVM_DETAILS
Show details (size, type, last modification date)
FVM_THUMBNAIL
Thumbnail view
FVM_TILE
Large icons
FVM_THUMBSTRIP
Filmstrip view
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | shobjidl_core.h (include Shobjidl.h) |
DLL | Shell32.dll |
See also
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για