Process Hacker
toolbar.c File Reference
#include "toolstatus.h"

Go to the source code of this file.

Functions

VOID RebarBandInsert (_In_ UINT BandID, _In_ HWND HwndChild, _In_ UINT cyMinChild, _In_ UINT cxMinChild)
 
VOID RebarBandRemove (_In_ UINT BandID)
 
BOOLEAN RebarBandExists (_In_ UINT BandID)
 
VOID LoadToolbarSettings (VOID)
 
VOID ResetToolbarSettings (VOID)
 
PWSTR ToolbarGetText (_In_ INT CommandID)
 

Variables

BOOLEAN ToolbarInitialized = FALSE
 
HIMAGELIST ToolBarImageList = NULL
 
TBBUTTON ToolbarButtons []
 
TBSAVEPARAMSW ToolbarSaveParams
 

Function Documentation

VOID LoadToolbarSettings ( VOID  )

Definition at line 359 of file toolbar.c.

BOOLEAN RebarBandExists ( _In_ UINT  BandID)

Definition at line 88 of file toolbar.c.

VOID RebarBandInsert ( _In_ UINT  BandID,
_In_ HWND  HwndChild,
_In_ UINT  cyMinChild,
_In_ UINT  cxMinChild 
)

Definition at line 52 of file toolbar.c.

VOID RebarBandRemove ( _In_ UINT  BandID)

Definition at line 76 of file toolbar.c.

VOID ResetToolbarSettings ( VOID  )

Definition at line 462 of file toolbar.c.

PWSTR ToolbarGetText ( _In_ INT  CommandID)

Definition at line 476 of file toolbar.c.

Variable Documentation

TBBUTTON ToolbarButtons[]
Initial value:
=
{
{ 0, PHAPP_ID_VIEW_REFRESH, TBSTATE_ENABLED, BTNS_BUTTON | BTNS_AUTOSIZE | BTNS_SHOWTEXT, { 0 }, 0, 0 },
{ 1, PHAPP_ID_HACKER_OPTIONS, TBSTATE_ENABLED, BTNS_BUTTON | BTNS_AUTOSIZE | BTNS_SHOWTEXT, { 0 }, 0, 0 },
{ 0, 0, 0, BTNS_SEP, { 0 }, 0, 0 },
{ 2, PHAPP_ID_HACKER_FINDHANDLESORDLLS, TBSTATE_ENABLED, BTNS_BUTTON | BTNS_AUTOSIZE | BTNS_SHOWTEXT, { 0 }, 0, 0 },
{ 3, PHAPP_ID_VIEW_SYSTEMINFORMATION, TBSTATE_ENABLED, BTNS_BUTTON | BTNS_AUTOSIZE | BTNS_SHOWTEXT, { 0 }, 0, 0 },
{ 0, 0, 0, BTNS_SEP, { 0 }, 0, 0 },
{ 4, TIDC_FINDWINDOW, TBSTATE_ENABLED, BTNS_BUTTON | BTNS_AUTOSIZE | BTNS_SHOWTEXT, { 0 }, 0, 0 },
{ 5, TIDC_FINDWINDOWTHREAD, TBSTATE_ENABLED, BTNS_BUTTON | BTNS_AUTOSIZE | BTNS_SHOWTEXT, { 0 }, 0, 0 },
{ 6, TIDC_FINDWINDOWKILL, TBSTATE_ENABLED, BTNS_BUTTON | BTNS_AUTOSIZE | BTNS_SHOWTEXT, { 0 }, 0, 0 },
{ 7, PHAPP_ID_VIEW_ALWAYSONTOP, TBSTATE_ENABLED, BTNS_BUTTON | BTNS_AUTOSIZE | BTNS_SHOWTEXT, { 0 }, 0, 0 }
}

Definition at line 28 of file toolbar.c.

HIMAGELIST ToolBarImageList = NULL

Definition at line 26 of file toolbar.c.

BOOLEAN ToolbarInitialized = FALSE

Definition at line 25 of file toolbar.c.

TBSAVEPARAMSW ToolbarSaveParams
Initial value:
=
{
HKEY_CURRENT_USER,
L"Software\\ProcessHacker",
L"ToolbarSettings"
}

Definition at line 45 of file toolbar.c.