ReactOS  0.4.13-dev-651-g5dbc677
CAppsListView Class Reference
Inheritance diagram for CAppsListView:
Collaboration diagram for CAppsListView:

Classes

struct  SortContext
 

Public Member Functions

 CAppsListView ()
 
VOID SetCheckboxesVisible (BOOL bIsVisible)
 
VOID ColumnClick (LPNMLISTVIEW pnmv)
 
PVOID GetLParam (INT Index)
 
BOOL AddColumn (INT Index, ATL::CStringW &Text, INT Width, INT Format)
 
BOOL AddColumn (INT Index, LPWSTR lpText, INT Width, INT Format)
 
INT AddItem (INT ItemIndex, INT IconIndex, LPWSTR lpText, LPARAM lParam)
 
INT CompareFunc (LPARAM lParam1, LPARAM lParam2, INT iSubItem)
 
HWND Create (HWND hwndParent)
 
BOOL GetCheckState (INT item)
 
VOID SetCheckState (INT item, BOOL fCheck)
 
VOID SetSelected (INT item, BOOL value)
 
VOID CheckAll ()
 
ATL::CSimpleArray< CAvailableApplicationInfoGetCheckedItems ()
 
CAvailableApplicationInfoGetSelectedData ()
 
- Public Member Functions inherited from CUiWindow< CListView >
virtual CUiBoxAsBox ()
 
HWND GetWindow ()
 
virtual VOID ComputeMinimalSize (SIZE *size)
 
virtual VOID ComputeContentBounds (RECT *rect)
 
virtual DWORD_PTR CountSizableChildren ()
 
virtual HDWP OnParentSize (RECT parentRect, HDWP hDwp)
 
virtual ~CUiWindow ()
 
VOID GetWindowTextW (ATL::CStringW &szText)
 
- Public Member Functions inherited from CUiPrimitive
virtual ~CUiPrimitive ()
 
- Public Member Functions inherited from CListView
HWND Create (HWND hWndParent, _U_RECT rect, LPCTSTR szWindowName=NULL, DWORD dwStyle=0, DWORD dwExStyle=0, _U_MENUorID MenuOrID=0U, LPVOID lpCreateParam=NULL)
 
void SetRedraw (BOOL redraw)
 
BOOL SetTextBkColor (COLORREF cr)
 
BOOL SetBkColor (COLORREF cr)
 
BOOL SetTextColor (COLORREF cr)
 
DWORD SetExtendedListViewStyle (DWORD dw, DWORD dwMask=0)
 
int InsertColumn (int iCol, LV_COLUMN *pcol)
 
int InsertColumn (int iCol, LPWSTR pszText, int fmt, int width=-1, int iSubItem=-1, int iImage=-1, int iOrder=-1)
 
int GetColumnWidth (int iCol)
 
HIMAGELIST SetImageList (HIMAGELIST himl, int iImageList)
 
int InsertItem (const LV_ITEM *pitem)
 
BOOL DeleteItem (int i)
 
BOOL GetItem (LV_ITEM *pitem)
 
BOOL SetItem (const LV_ITEM *pitem)
 
BOOL FindItem (int iStart, const LV_FINDINFO *plvfi)
 
int GetItemCount ()
 
BOOL DeleteAllItems ()
 
BOOL Update (int i)
 
UINT GetSelectedCount ()
 
BOOL SortItems (PFNLVCOMPARE pfnCompare, PVOID lParam)
 
BOOL EnsureVisible (int i, BOOL fPartialOK)
 
HWND EditLabel (int i)
 
int GetSelectionMark ()
 
int GetNextItem (int i, WORD flags)
 
void GetItemSpacing (SIZE &spacing, BOOL bSmallIconView=FALSE)
 
UINT GetItemState (int i, UINT mask)
 
void SetItemState (int i, UINT state, UINT mask)
 
int HitTest (LV_HITTESTINFO *phtInfo)
 
DWORD_PTR GetItemData (int i)
 
BOOL GetSelectedItem (LV_ITEM *pItem)
 
void GetItemText (int iItem, int iSubItem, LPTSTR pszText, int cchTextMax)
 
BOOL GetItemPosition (int nItem, POINT *pPoint)
 
BOOL SetItemPosition (int nItem, POINT *pPoint)
 
BOOL Arrange (UINT nCode)
 

Static Public Member Functions

static INT CALLBACK s_CompareFunc (LPARAM lParam1, LPARAM lParam2, LPARAM lParamSort)
 

Private Attributes

BOOL bHasAllChecked
 
BOOL bIsAscending
 
BOOL bHasCheckboxes
 
INT nLastHeaderID
 

Additional Inherited Members

- Public Attributes inherited from CUiBox
CUiMargin m_Margin
 
CUiAlignment m_HorizontalAlignment
 
CUiAlignment m_VerticalAlignment
 
- Protected Member Functions inherited from CUiBox
 CUiBox ()
 
virtual VOID ComputeRect (RECT parentRect, RECT currentRect, RECT *newRect)
 
- Protected Attributes inherited from CUiPrimitive
CUiPrimitivem_Parent
 

Detailed Description

Definition at line 381 of file gui.cpp.

Constructor & Destructor Documentation

◆ CAppsListView()

CAppsListView::CAppsListView ( )
inline

Definition at line 397 of file gui.cpp.

397  :
401  nLastHeaderID(-1)
402  {
403  }
BOOL bIsAscending
Definition: gui.cpp:391
#define TRUE
Definition: types.h:120
INT nLastHeaderID
Definition: gui.cpp:394
BOOL bHasCheckboxes
Definition: gui.cpp:392
BOOL bHasAllChecked
Definition: gui.cpp:390

Member Function Documentation

◆ AddColumn() [1/2]

BOOL CAppsListView::AddColumn ( INT  Index,
ATL::CStringW Text,
INT  Width,
INT  Format 
)
inline

Definition at line 483 of file gui.cpp.

484  {
485  return AddColumn(Index, const_cast<LPWSTR>(Text.GetString()), Width, Format);
486  }
BOOL AddColumn(INT Index, ATL::CStringW &Text, INT Width, INT Format)
Definition: gui.cpp:483
static const UCHAR Index[8]
Definition: usbohci.c:18
char * Text
Definition: combotst.c:136

Referenced by CMainWindow::InitApplicationsList().

◆ AddColumn() [2/2]

BOOL CAppsListView::AddColumn ( INT  Index,
LPWSTR  lpText,
INT  Width,
INT  Format 
)
inline

Definition at line 488 of file gui.cpp.

489  {
490  LVCOLUMNW Column;
491 
492  ZeroMemory(&Column, sizeof(Column));
493 
495  Column.iSubItem = Index;
496  Column.pszText = lpText;
497  Column.cx = Width;
498  Column.fmt = Format;
499 
500  return (InsertColumn(Index, &Column) == -1) ? FALSE : TRUE;
501  }
#define TRUE
Definition: types.h:120
#define LVCF_WIDTH
Definition: commctrl.h:2559
#define LVCF_TEXT
Definition: commctrl.h:2560
#define ZeroMemory
Definition: winbase.h:1635
#define LVCF_SUBITEM
Definition: commctrl.h:2561
static const UCHAR Index[8]
Definition: usbohci.c:18
LPWSTR pszText
Definition: commctrl.h:2539
#define LVCF_FMT
Definition: commctrl.h:2558
int InsertColumn(int iCol, LV_COLUMN *pcol)
Definition: rosctrls.h:52
ACPI_BUFFER *RetBuffer ACPI_BUFFER *RetBuffer char ACPI_WALK_RESOURCE_CALLBACK void *Context ACPI_BUFFER *RetBuffer UINT16 ACPI_RESOURCE **ResourcePtr ACPI_GENERIC_ADDRESS *Reg UINT32 *ReturnValue UINT8 UINT8 *Slp_TypB ACPI_PHYSICAL_ADDRESS PhysicalAddress64 UINT32 UINT32 *TimeElapsed UINT32 ACPI_STATUS const char * Format
Definition: acpixf.h:1194

◆ AddItem()

INT CAppsListView::AddItem ( INT  ItemIndex,
INT  IconIndex,
LPWSTR  lpText,
LPARAM  lParam 
)
inline

Definition at line 503 of file gui.cpp.

504  {
505  LVITEMW Item;
506 
507  ZeroMemory(&Item, sizeof(Item));
508 
510  Item.pszText = lpText;
511  Item.lParam = lParam;
512  Item.iItem = ItemIndex;
513  Item.iImage = IconIndex;
514 
515  return InsertItem(&Item);
516  }
int iImage
Definition: commctrl.h:2339
#define ZeroMemory
Definition: winbase.h:1635
#define LVIF_TEXT
Definition: commctrl.h:2281
LPARAM lParam
Definition: commctrl.h:2340
LPWSTR pszText
Definition: commctrl.h:2337
#define LVIF_IMAGE
Definition: commctrl.h:2282
UINT mask
Definition: commctrl.h:2332
static const WCHAR IconIndex[]
Definition: install.c:51
int InsertItem(const LV_ITEM *pitem)
Definition: rosctrls.h:96
#define LVIF_PARAM
Definition: commctrl.h:2283
#define LVIF_STATE
Definition: commctrl.h:2284
LPARAM lParam
Definition: combotst.c:139

Referenced by ListViewAddItem().

◆ CheckAll()

VOID CAppsListView::CheckAll ( )
inline

Definition at line 598 of file gui.cpp.

599  {
600  if (bHasCheckboxes)
601  {
604  }
605  }
VOID SetCheckState(INT item, BOOL fCheck)
Definition: gui.cpp:566
BOOL bHasCheckboxes
Definition: gui.cpp:392
BOOL bHasAllChecked
Definition: gui.cpp:390

Referenced by CMainWindow::OnCommand().

◆ ColumnClick()

VOID CAppsListView::ColumnClick ( LPNMLISTVIEW  pnmv)
inline

Definition at line 419 of file gui.cpp.

420  {
421  HWND hHeader;
422  HDITEMW hColumn;
423  INT nHeaderID = pnmv->iSubItem;
424 
426  return;
427 
428  hHeader = (HWND) SendMessage(LVM_GETHEADER, 0, 0);
429  ZeroMemory(&hColumn, sizeof(hColumn));
430 
431  /* If the sorting column changed, remove the sorting style from the old column */
432  if ((nLastHeaderID != -1) && (nLastHeaderID != nHeaderID))
433  {
434  hColumn.mask = HDI_FORMAT;
435  Header_GetItem(hHeader, nLastHeaderID, &hColumn);
436  hColumn.fmt &= ~(HDF_SORTUP | HDF_SORTDOWN);
437  Header_SetItem(hHeader, nLastHeaderID, &hColumn);
438  }
439 
440  /* Set the sorting style to the new column */
441  hColumn.mask = HDI_FORMAT;
442  Header_GetItem(hHeader, nHeaderID, &hColumn);
443 
444  hColumn.fmt &= (bIsAscending ? ~HDF_SORTDOWN : ~HDF_SORTUP);
445  hColumn.fmt |= (bIsAscending ? HDF_SORTUP : HDF_SORTDOWN);
446  Header_SetItem(hHeader, nHeaderID, &hColumn);
447 
448  /* Sort the list, using the current values of nHeaderID and bIsAscending */
449  SortContext ctx = {this, nHeaderID};
450  SortItems(s_CompareFunc, &ctx);
451 
452  /* Save new values */
453  nLastHeaderID = nHeaderID;
455  }
BOOL bIsAscending
Definition: gui.cpp:391
static INT CALLBACK s_CompareFunc(LPARAM lParam1, LPARAM lParam2, LPARAM lParamSort)
Definition: gui.cpp:518
INT nLastHeaderID
Definition: gui.cpp:394
HANDLE HWND
Definition: compat.h:13
#define ZeroMemory
Definition: winbase.h:1635
#define HDF_SORTUP
Definition: commctrl.h:709
int32_t INT
Definition: typedefs.h:56
#define HDI_FORMAT
Definition: commctrl.h:690
#define Header_GetItem(hwndHD, i, phdi)
Definition: commctrl.h:736
#define HDF_SORTDOWN
Definition: commctrl.h:710
#define GWL_STYLE
Definition: winuser.h:846
UINT mask
Definition: commctrl.h:669
#define LVM_GETHEADER
Definition: commctrl.h:2622
#define SendMessage
Definition: winuser.h:5741
#define LVS_NOSORTHEADER
Definition: commctrl.h:2257
#define GetWindowLongPtr
Definition: treelist.c:73
#define Header_SetItem(hwndHD, i, phdi)
Definition: commctrl.h:743
int fmt
Definition: commctrl.h:674
BOOL SortItems(PFNLVCOMPARE pfnCompare, PVOID lParam)
Definition: rosctrls.h:141

Referenced by CMainWindow::ProcessWindowMessage().

◆ CompareFunc()

INT CAppsListView::CompareFunc ( LPARAM  lParam1,
LPARAM  lParam2,
INT  iSubItem 
)
inline

Definition at line 524 of file gui.cpp.

525  {
526  ATL::CStringW Item1, Item2;
527  LVFINDINFOW IndexInfo;
528  INT Index;
529 
530  IndexInfo.flags = LVFI_PARAM;
531 
532  IndexInfo.lParam = lParam1;
533  Index = FindItem(-1, &IndexInfo);
534  GetItemText(Index, iSubItem, Item1.GetBuffer(MAX_STR_LEN), MAX_STR_LEN);
535  Item1.ReleaseBuffer();
536 
537  IndexInfo.lParam = lParam2;
538  Index = FindItem(-1, &IndexInfo);
539  GetItemText(Index, iSubItem, Item2.GetBuffer(MAX_STR_LEN), MAX_STR_LEN);
540  Item2.ReleaseBuffer();
541 
542  return bIsAscending ? Item1.Compare(Item2) : Item2.Compare(Item1);
543  }
BOOL bIsAscending
Definition: gui.cpp:391
LPARAM lParam
Definition: commctrl.h:2430
int32_t INT
Definition: typedefs.h:56
#define LVFI_PARAM
Definition: commctrl.h:2408
void ReleaseBuffer(_In_ int nNewLength=-1)
Definition: atlsimpstr.h:372
void GetItemText(int iItem, int iSubItem, LPTSTR pszText, int cchTextMax)
Definition: rosctrls.h:208
static const UCHAR Index[8]
Definition: usbohci.c:18
BOOL FindItem(int iStart, const LV_FINDINFO *plvfi)
Definition: rosctrls.h:116
#define MAX_STR_LEN
Definition: defines.h:33
int Compare(_In_z_ PCXSTR psz) const
Definition: cstringt.h:605

Referenced by s_CompareFunc().

◆ Create()

HWND CAppsListView::Create ( HWND  hwndParent)
inline

Definition at line 545 of file gui.cpp.

546  {
547  RECT r = {205, 28, 465, 250};
550 
552 
553  if (hwnd)
554  {
556  }
557 
558  return hwnd;
559  }
const DOCKBAR PVOID HWND HWND * hwnd
Definition: tooldock.h:22
#define LVS_SHOWSELALWAYS
Definition: commctrl.h:2239
GLdouble GLdouble GLdouble r
Definition: gl.h:2055
#define LVS_REPORT
Definition: commctrl.h:2234
#define WS_CHILD
Definition: pedump.c:617
HWND Create(HWND hWndParent, _U_RECT rect, LPCTSTR szWindowName=NULL, DWORD dwStyle=0, DWORD dwExStyle=0, _U_MENUorID MenuOrID=0U, LPVOID lpCreateParam=NULL)
Definition: rosctrls.h:8
#define IDR_APPLICATIONMENU
Definition: resource.h:67
#define LVS_SORTASCENDING
Definition: commctrl.h:2240
smooth NULL
Definition: ftsmooth.c:416
static HWND hwndParent
Definition: cryptui.c:300
#define LVS_SINGLESEL
Definition: commctrl.h:2238
unsigned long DWORD
Definition: ntddk_ex.h:95
HMENU WINAPI GetSubMenu(_In_ HMENU, _In_ int)
HINSTANCE hInst
Definition: dxdiag.c:13
#define WS_EX_CLIENTEDGE
Definition: winuser.h:384
HMENU WINAPI LoadMenuW(_In_opt_ HINSTANCE, _In_ LPCWSTR)
#define MAKEINTRESOURCEW(i)
Definition: winuser.h:582
Arabic default style
Definition: afstyles.h:93
#define WS_VISIBLE
Definition: pedump.c:620
static const CLSID *static CLSID *static const GUID VARIANT VARIANT *static IServiceProvider DWORD *static HMENU
Definition: ordinal.c:60
VOID SetCheckboxesVisible(BOOL bIsVisible)
Definition: gui.cpp:405

Referenced by CMainWindow::CreateListView().

◆ GetCheckedItems()

ATL::CSimpleArray<CAvailableApplicationInfo> CAppsListView::GetCheckedItems ( )
inline

Definition at line 607 of file gui.cpp.

608  {
609  if (!bHasCheckboxes)
610  {
612  }
613 
615  for (INT i = 0; i >= 0; i = GetNextItem(i, LVNI_ALL))
616  {
617  if (GetCheckState(i) != FALSE)
618  {
620  list.Add(*pAppInfo);
621  }
622  }
623  return list;
624  }
DWORD_PTR GetItemData(int i)
Definition: rosctrls.h:191
int GetNextItem(int i, WORD flags)
Definition: rosctrls.h:161
int32_t INT
Definition: typedefs.h:56
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
BOOL GetCheckState(INT item)
Definition: gui.cpp:561
BOOL bHasCheckboxes
Definition: gui.cpp:392
#define LVNI_ALL
Definition: commctrl.h:2394
#define list
Definition: rosglue.h:35

◆ GetCheckState()

BOOL CAppsListView::GetCheckState ( INT  item)
inline

Definition at line 561 of file gui.cpp.

562  {
563  return (BOOL) (GetItemState(item, LVIS_STATEIMAGEMASK) >> 12) - 1;
564  }
unsigned int BOOL
Definition: ntddk_ex.h:94
#define LVIS_STATEIMAGEMASK
Definition: commctrl.h:2298
UINT GetItemState(int i, UINT mask)
Definition: rosctrls.h:173
static ATOM item
Definition: dde.c:856

Referenced by GetCheckedItems(), and CMainWindow::ProcessWindowMessage().

◆ GetLParam()

PVOID CAppsListView::GetLParam ( INT  Index)
inline

Definition at line 457 of file gui.cpp.

458  {
459  INT ItemIndex;
460  LVITEMW Item;
461 
462  if (Index == -1)
463  {
464  ItemIndex = (INT) SendMessage(LVM_GETNEXTITEM, -1, LVNI_FOCUSED);
465  if (ItemIndex == -1)
466  return NULL;
467  }
468  else
469  {
470  ItemIndex = Index;
471  }
472 
473  ZeroMemory(&Item, sizeof(Item));
474 
475  Item.mask = LVIF_PARAM;
476  Item.iItem = ItemIndex;
477  if (!GetItem(&Item))
478  return NULL;
479 
480  return (PVOID) Item.lParam;
481  }
#define INT
Definition: polytest.cpp:20
#define ZeroMemory
Definition: winbase.h:1635
int32_t INT
Definition: typedefs.h:56
LPARAM lParam
Definition: commctrl.h:2340
smooth NULL
Definition: ftsmooth.c:416
BOOL GetItem(LV_ITEM *pitem)
Definition: rosctrls.h:106
#define LVNI_FOCUSED
Definition: commctrl.h:2395
static const UCHAR Index[8]
Definition: usbohci.c:18
UINT mask
Definition: commctrl.h:2332
#define SendMessage
Definition: winuser.h:5741
#define LVIF_PARAM
Definition: commctrl.h:2283
#define LVM_GETNEXTITEM
Definition: commctrl.h:2405

◆ GetSelectedData()

CAvailableApplicationInfo* CAppsListView::GetSelectedData ( )
inline

Definition at line 626 of file gui.cpp.

627  {
630  }
DWORD_PTR GetItemData(int i)
Definition: rosctrls.h:191
int GetSelectionMark()
Definition: rosctrls.h:156
int32_t INT
Definition: typedefs.h:56
static ATOM item
Definition: dde.c:856

Referenced by CMainWindow::OnCommand().

◆ s_CompareFunc()

static INT CALLBACK CAppsListView::s_CompareFunc ( LPARAM  lParam1,
LPARAM  lParam2,
LPARAM  lParamSort 
)
inlinestatic

Definition at line 518 of file gui.cpp.

519  {
520  SortContext * ctx = ((SortContext*) lParamSort);
521  return ctx->lvw->CompareFunc(lParam1, lParam2, ctx->iSubItem);
522  }

Referenced by ColumnClick().

◆ SetCheckboxesVisible()

VOID CAppsListView::SetCheckboxesVisible ( BOOL  bIsVisible)
inline

Definition at line 405 of file gui.cpp.

406  {
407  if (bIsVisible)
408  {
410  }
411  else
412  {
414  }
415 
416  bHasCheckboxes = bIsVisible;
417  }
#define LVS_EX_FULLROWSELECT
Definition: commctrl.h:2706
DWORD SetExtendedListViewStyle(DWORD dw, DWORD dwMask=0)
Definition: rosctrls.h:47
BOOL bHasCheckboxes
Definition: gui.cpp:392
#define LVS_EX_CHECKBOXES
Definition: commctrl.h:2703

Referenced by Create(), and CMainWindow::UpdateApplicationsList().

◆ SetCheckState()

VOID CAppsListView::SetCheckState ( INT  item,
BOOL  fCheck 
)
inline

Definition at line 566 of file gui.cpp.

567  {
568  if (bHasCheckboxes)
569  {
571  SetSelected(item, fCheck);
572  }
573  }
VOID SetSelected(INT item, BOOL value)
Definition: gui.cpp:575
#define LVIS_STATEIMAGEMASK
Definition: commctrl.h:2298
BOOL bHasCheckboxes
Definition: gui.cpp:392
#define INDEXTOSTATEIMAGEMASK(i)
Definition: commctrl.h:2300
static ATOM item
Definition: dde.c:856
void SetItemState(int i, UINT state, UINT mask)
Definition: rosctrls.h:178

Referenced by CheckAll().

◆ SetSelected()

VOID CAppsListView::SetSelected ( INT  item,
BOOL  value 
)
inline

Definition at line 575 of file gui.cpp.

576  {
577  if (item < 0)
578  {
579  for (INT i = 0; i >= 0; i = GetNextItem(i, LVNI_ALL))
580  {
582  if (pAppInfo)
583  {
584  pAppInfo->m_IsSelected = value;
585  }
586  }
587  }
588  else
589  {
591  if (pAppInfo)
592  {
593  pAppInfo->m_IsSelected = value;
594  }
595  }
596  }
DWORD_PTR GetItemData(int i)
Definition: rosctrls.h:191
int GetNextItem(int i, WORD flags)
Definition: rosctrls.h:161
int32_t INT
Definition: typedefs.h:56
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
GLsizei const GLfloat * value
Definition: glext.h:6069
#define LVNI_ALL
Definition: commctrl.h:2394
static ATOM item
Definition: dde.c:856

Referenced by CMainWindow::OnCommand(), CMainWindow::ProcessWindowMessage(), and SetCheckState().

Member Data Documentation

◆ bHasAllChecked

BOOL CAppsListView::bHasAllChecked
private

Definition at line 390 of file gui.cpp.

Referenced by CheckAll().

◆ bHasCheckboxes

BOOL CAppsListView::bHasCheckboxes
private

Definition at line 392 of file gui.cpp.

Referenced by CheckAll(), GetCheckedItems(), SetCheckboxesVisible(), and SetCheckState().

◆ bIsAscending

BOOL CAppsListView::bIsAscending
private

Definition at line 391 of file gui.cpp.

Referenced by ColumnClick(), and CompareFunc().

◆ nLastHeaderID

INT CAppsListView::nLastHeaderID
private

Definition at line 394 of file gui.cpp.

Referenced by ColumnClick().


The documentation for this class was generated from the following file: