LibreOffice Module shell (master) 1
Macros | Functions
listviewbuilder.cxx File Reference
#include "listviewbuilder.hxx"
#include "document_statistic.hxx"
#include <utilities.hxx>
#include <config.hxx>
#include <global.hxx>
#include <commctrl.h>
#include <resource.h>
Include dependency graph for listviewbuilder.cxx:

Go to the source code of this file.

Macros

#define ListView_InsertColumnW(hwnd, iCol, pcol)    static_cast<int>(SNDMSG((hwnd), LVM_INSERTCOLUMNW, WPARAM(int(iCol)), reinterpret_cast<LPARAM>(pcol)))
 
#define ListView_InsertItemW(hwnd, pitem)    static_cast<int>(SNDMSG((hwnd), LVM_INSERTITEMW, 0, reinterpret_cast<LPARAM>(pitem)))
 
#define ListView_SetItemW(hwnd, pitem)    static_cast<bool>(SNDMSG((hwnd), LVM_SETITEMW, 0, reinterpret_cast<LPARAM>(pitem)))
 

Functions

list_view_builder_ptr create_list_view_builder (HWND hwnd_lv, const std::wstring &col1, const std::wstring &col2)
 

Macro Definition Documentation

◆ ListView_InsertColumnW

#define ListView_InsertColumnW (   hwnd,
  iCol,
  pcol 
)     static_cast<int>(SNDMSG((hwnd), LVM_INSERTCOLUMNW, WPARAM(int(iCol)), reinterpret_cast<LPARAM>(pcol)))

Definition at line 32 of file listviewbuilder.cxx.

◆ ListView_InsertItemW

#define ListView_InsertItemW (   hwnd,
  pitem 
)     static_cast<int>(SNDMSG((hwnd), LVM_INSERTITEMW, 0, reinterpret_cast<LPARAM>(pitem)))

Definition at line 37 of file listviewbuilder.cxx.

◆ ListView_SetItemW

#define ListView_SetItemW (   hwnd,
  pitem 
)     static_cast<bool>(SNDMSG((hwnd), LVM_SETITEMW, 0, reinterpret_cast<LPARAM>(pitem)))

Definition at line 42 of file listviewbuilder.cxx.

Function Documentation

◆ create_list_view_builder()

list_view_builder_ptr create_list_view_builder ( HWND  hwnd_lv,
const std::wstring &  col1,
const std::wstring &  col2 
)

Definition at line 47 of file listviewbuilder.cxx.

Referenced by CPropertySheet::InitPropPageStatistics().