FRX SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
CNavListBox.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 CMenu;
24class CNavExtension;
25class CPoint;
26
28{
29public:
31
32public:
36 PlacesItemType TypeFromName(wchar_t const *);
38 int AddDroppedItem(wchar_t const *, CPoint);
39 int CanDelete(int);
40 int CanEdit(int);
43 int Initialize(void);
44 int InsertUserItem(int,wchar_t const *,wchar_t const *);
48 unsigned int GetItemFlags(int);
49 virtual ~CNavListBox(void);
51 void HandleContextMenuPick(unsigned int, CPoint);
52 void LoadFromOrder(void);
54 void SetItemExtensionName(int,wchar_t const *);
55 void SetItemFlags(int,unsigned int);
57 void SetItemName(int,wchar_t const *);
61 wchar_t const * GetItemExtensionName(int);
62 wchar_t const * GetItemName(int);
63
64protected:
65 int AddExtensionFolder( CNavExtension *,wchar_t const *,wchar_t const *,int);
66 int AddExtensionRoot( CNavExtension *,wchar_t const *,int);
67 int AddExtensions(void);
68 int AddItem(wchar_t const *,unsigned int,wchar_t const *, HBITMAP__ *,unsigned int,unsigned int, PlacesItemType,unsigned int,wchar_t const *, HINSTANCE__ *);
69 int AddItem(wchar_t const *,unsigned int,wchar_t const *, HBITMAP__ *,wchar_t const *,unsigned int, PlacesItemType,unsigned int,wchar_t const *, HINSTANCE__ *);
70 int AddWebFoldersFolder(wchar_t const *,wchar_t const *,int);
71 //DECLARE_MESSAGE_MAP()
73 virtual const AFX_MSGMAP* GetMessageMap() const;
76 virtual ADUI_REPLY DoAdUiMessage( ADUI_NOTIFY,unsigned int,long);
77 virtual int OnAutoLoad(void);
79 void OnAdd( CPoint);
81 void OnDestroy(void);
82 void OnEdit( CPoint);
83
84};
PlacesItemType
void SetItemType(int, PlacesItemType)
void HandleContextMenuPick(unsigned int, CPoint)
int GetNoExtraExtensionsInPlaces(void)
virtual ~CNavListBox(void)
int AddDroppedItem(_ITEMIDLIST *, CPoint)
int AddExtensions(void)
int AddExtensionFolder(CNavExtension *, wchar_t const *, wchar_t const *, int)
void OnEdit(CPoint)
void SetItemExtensionName(int, wchar_t const *)
int AddItem(wchar_t const *, unsigned int, wchar_t const *, HBITMAP__ *, unsigned int, unsigned int, PlacesItemType, unsigned int, wchar_t const *, HINSTANCE__ *)
void SetNoFTPInPlaces(int)
void PrepareContextMenu(CMenu *, CPoint)
CNavListBox(void)
void OnAdd(CPoint)
void OnDestroy(void)
_ITEMIDLIST * GetWebFoldersItemIdWINNT(wchar_t const *)
_ITEMIDLIST * GetUserItemIdFromName(wchar_t const *)
int AddWebFoldersFolder(wchar_t const *, wchar_t const *, int)
void InitializePersonalText(void)
int Initialize(void)
_ITEMIDLIST * GetWebFoldersItemIdWIN2000(wchar_t const *)
CNavExtension * GetItemExtension(int)
int AddDroppedItem(wchar_t const *, CPoint)
int CanDelete(int)
int CanEdit(int)
PlacesItemType TypeFromName(wchar_t const *)
virtual const AFX_MSGMAP * GetMessageMap() const
void SetItemFlags(int, unsigned int)
wchar_t const * GetItemName(int)
int InsertUserItem(int, wchar_t const *, wchar_t const *)
void SetNoExtraExtensionsInPlaces(int)
int AddExtensionRoot(CNavExtension *, wchar_t const *, int)
int AddItem(wchar_t const *, unsigned int, wchar_t const *, HBITMAP__ *, wchar_t const *, unsigned int, PlacesItemType, unsigned int, wchar_t const *, HINSTANCE__ *)
unsigned int GetItemFlags(int)
IShellFolder * GetCurrentFolder(void)
virtual int OnAutoLoad(void)
void LoadFromOrder(void)
virtual ADUI_REPLY DoAdUiMessage(ADUI_NOTIFY, unsigned int, long)
void AddCurrentFolder(CPoint *)
PlacesItemType GetItemType(int)
void SetItemIdList(int, _ITEMIDLIST *)
wchar_t const * GetItemExtensionName(int)
void SetItemName(int, wchar_t const *)
static const AFX_MSGMAP *PASCAL GetThisMessageMap()
int GetNoFTPInPlaces(void)
void OnDelete(CPoint)
_ITEMIDLIST * GetItemIdList(int)
DECLARE_DYNAMIC(CNavListBox)