FRX SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
CNavFolderComboBox.h
Go to the documentation of this file.
1#pragma once
2
3//
4// (C) Copyright 2005-2024 by Graebert GmbH.
5//
6// Permission to use, copy, modify, and distribute this software in
7// object code form for any purpose and without fee is hereby granted,
8// provided that the above copyright notice appears in all copies and
9// that both that copyright notice and the limited warranty and
10// restricted rights notice below appear in all supporting
11// documentation.
12//
13// GRAEBERT PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
14// GRAEBERT SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
15// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. GRAEBERT GMBH
16// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
17// UNINTERRUPTED OR ERROR FREE.
18
19
20#include <ShlObj.h>
21#include <ShObjIdl.h>
22
23class CNavNode;
24class CNavPathname;
25class CNavTree;
26template < typename Param1, typename Param2 > class StrTraitMFC_DLL;
27
29{
30public:
34 int AddItem(wchar_t const *,int,unsigned long,int);
38 int GetExtensionRootIndex(wchar_t const *);
39 int GetItemIndent(int);
41 int GetNoFTP(void);
43 int InsertItem(wchar_t const *,int,int,unsigned long,int);
45 virtual ~CNavFolderComboBox(void);
47 virtual void DrawItem( tagDRAWITEMSTRUCT *);
51 void GetItemText(int, CStringW &);
53 void SetNoFTP(int);
54
55protected:
56 int AddNode(wchar_t const *,int, CNavNode *);
57 int InsertNode(wchar_t const *,int,int, CNavNode *);
58 int OnDropDown(void);
59 //DECLARE_MESSAGE_MAP()
61 virtual const AFX_MSGMAP* GetMessageMap() const;
62 virtual int OnAutoLoad(void);
65 void InsertFromShellNode( CNavNode *,int,int);
67
68};
int GetNoExtraExtensions(void)
virtual const AFX_MSGMAP * GetMessageMap() const
CNavTree & GetNavTree(void)
int OnDropDown(void)
void FillFromTree(CNavTree &)
void InsertFromShellNode(CNavNode *, int, int)
CNavNode * GetNode(int)
int AddItem(wchar_t const *, int, unsigned long, int)
int GetExtensionRootIndex(wchar_t const *)
void FillWithTopLevelFolders(CNavNode *)
virtual ~CNavFolderComboBox(void)
virtual void DrawItem(tagDRAWITEMSTRUCT *)
int FindParentItemIndex(int)
void GetItemText(int, CStringW &)
void FillFromShellNode(CNavNode *, int)
virtual int OnAutoLoad(void)
int RefreshFolderInfo(int)
int GetItemIndent(int)
int AddNode(wchar_t const *, int, CNavNode *)
int InsertNode(wchar_t const *, int, int, CNavNode *)
int FindItemByNode(CNavNode *)
void FillToNode(CNavNode *)
void TransferDescendantsToDisplayNode(CNavNode *, CNavNode *)
static const AFX_MSGMAP *PASCAL GetThisMessageMap()
int InsertItem(wchar_t const *, int, int, unsigned long, int)
int FillToFolder(_ITEMIDLIST *)
int GetPathname(CNavPathname &)
void SetNoExtraExtensions(int)
virtual void MeasureItem(tagMEASUREITEMSTRUCT *)
virtual void DeleteItem(tagDELETEITEMSTRUCT *)