ibrowser.h File Reference

#include "utility/window.h"
#include "mainframe.h"
#include "utility/xmlstorage.h"
#include "favorites.h"

Include dependency graph for ibrowser.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ResString
 convenient loading of string resources More...
struct  ResIcon
 convenient loading of standard (32x32) icon resources More...
struct  SmallIcon
 convenient loading of small (16x16) icon resources More...
struct  ResIconEx
 convenient loading of icon resources with specified sizes More...
struct  ResBitmap
 convenient loading of bitmap resources More...
struct  Icon
struct  SysCacheIcon
struct  IconCache

Defines

#define IDW_STATUSBAR   0x100
#define IDW_TOOLBAR   0x101
#define IDW_EXTRABAR   0x102
#define IDW_ADDRESSBAR   0x104
#define IDW_SIDEBAR   0x106
#define IDW_FIRST_CHILD   0xC000
#define PM_GET_FILEWND_PTR   (WM_APP+0x05)
#define PM_GET_SHELLBROWSER_PTR   (WM_APP+0x06)
#define PM_GET_CONTROLWINDOW   (WM_APP+0x16)
#define PM_RESIZE_CHILDREN   (WM_APP+0x17)
#define PM_GET_WIDTH   (WM_APP+0x18)
#define PM_REFRESH   (WM_APP+0x1B)
#define PM_REFRESH_CONFIG   (WM_APP+0x1C)
#define CLASSNAME_FRAME   TEXT("IBrowserFrameWClass")
#define CLASSNAME_CHILDWND   TEXT("IBrowserChildWClass")
#define RFF_NOBROWSE   0x01
#define RFF_NODEFAULT   0x02
#define RFF_CALCDIRECTORY   0x04
#define RFF_NOLABEL   0x08
#define RFF_NOSEPARATEMEM   0x20

Typedefs

typedef void(WINAPI * RUNFILEDLG )(HWND hwndOwner, HICON hIcon, LPCSTR lpstrDirectory, LPCSTR lpstrTitle, LPCSTR lpstrDescription, UINT uFlags)

Enumerations

enum  ICON_TYPE { IT_STATIC, IT_CACHED, IT_DYNAMIC, IT_SYSCACHE }
enum  ICON_ID {
  ICID_UNKNOWN, ICID_NONE, ICID_IBROWSER, ICID_BOOKMARK,
  ICID_DYNAMIC
}

Functions

void SetWindowIcon (HWND hwnd, UINT nid)
 set big and small icons out of the resources for a window
HBITMAP create_bitmap_from_icon (HICON hIcon, HBRUSH hbrush_bkgnd, HDC hdc_wnd)
 create a bitmap from an icon
int ImageList_AddAlphaIcon (HIMAGELIST himl, HICON hIcon, HBRUSH hbrush_bkgnd, HDC hdc_wnd)
 add icon with alpha channel to imagelist using the specified background color
void ibrowser_about (HWND hwndParent)
void ibrowser_open (HWND hwndParent)

Variables

HINSTANCE g_hInstance
IconCache g_icon_cache
ATOM g_hframeClass


Define Documentation

#define CLASSNAME_CHILDWND   TEXT("IBrowserChildWClass")

Definition at line 54 of file ibrowser.h.

Referenced by WebChildWindow::create().

#define CLASSNAME_FRAME   TEXT("IBrowserFrameWClass")

Definition at line 52 of file ibrowser.h.

#define IDW_ADDRESSBAR   0x104

Definition at line 35 of file ibrowser.h.

#define IDW_EXTRABAR   0x102

Definition at line 34 of file ibrowser.h.

#define IDW_FIRST_CHILD   0xC000

Definition at line 37 of file ibrowser.h.

#define IDW_SIDEBAR   0x106

Definition at line 36 of file ibrowser.h.

#define IDW_STATUSBAR   0x100

Definition at line 32 of file ibrowser.h.

#define IDW_TOOLBAR   0x101

Definition at line 33 of file ibrowser.h.

#define PM_GET_CONTROLWINDOW   (WM_APP+0x16)

Definition at line 43 of file ibrowser.h.

#define PM_GET_FILEWND_PTR   (WM_APP+0x05)

Definition at line 40 of file ibrowser.h.

#define PM_GET_SHELLBROWSER_PTR   (WM_APP+0x06)

Definition at line 41 of file ibrowser.h.

#define PM_GET_WIDTH   (WM_APP+0x18)

Definition at line 46 of file ibrowser.h.

#define PM_REFRESH   (WM_APP+0x1B)

Definition at line 48 of file ibrowser.h.

#define PM_REFRESH_CONFIG   (WM_APP+0x1C)

Definition at line 49 of file ibrowser.h.

#define PM_RESIZE_CHILDREN   (WM_APP+0x17)

Definition at line 45 of file ibrowser.h.

#define RFF_CALCDIRECTORY   0x04

Definition at line 229 of file ibrowser.h.

#define RFF_NOBROWSE   0x01

Definition at line 227 of file ibrowser.h.

#define RFF_NODEFAULT   0x02

Definition at line 228 of file ibrowser.h.

#define RFF_NOLABEL   0x08

Definition at line 230 of file ibrowser.h.

#define RFF_NOSEPARATEMEM   0x20

Definition at line 231 of file ibrowser.h.


Typedef Documentation

typedef void(WINAPI* RUNFILEDLG)(HWND hwndOwner, HICON hIcon, LPCSTR lpstrDirectory, LPCSTR lpstrTitle, LPCSTR lpstrDescription, UINT uFlags)

Definition at line 221 of file ibrowser.h.


Enumeration Type Documentation

enum ICON_ID

Enumerator:
ICID_UNKNOWN 
ICID_NONE 
ICID_IBROWSER 
ICID_BOOKMARK 
ICID_DYNAMIC 

Definition at line 122 of file ibrowser.h.

00122              {
00123     ICID_UNKNOWN,
00124     ICID_NONE,
00125 
00126     ICID_IBROWSER,
00127     ICID_BOOKMARK,
00128 
00129     ICID_DYNAMIC
00130 };

enum ICON_TYPE

Enumerator:
IT_STATIC 
IT_CACHED 
IT_DYNAMIC 
IT_SYSCACHE 

Definition at line 115 of file ibrowser.h.

00115                {
00116     IT_STATIC,
00117     IT_CACHED,
00118     IT_DYNAMIC,
00119     IT_SYSCACHE
00120 };


Function Documentation

HBITMAP create_bitmap_from_icon ( HICON  hIcon,
HBRUSH  hbrush_bkgnd,
HDC  hdc_wnd 
)

create a bitmap from an icon

void ibrowser_about ( HWND  hwndParent  ) 

void ibrowser_open ( HWND  hwndParent  ) 

int ImageList_AddAlphaIcon ( HIMAGELIST  himl,
HICON  hIcon,
HBRUSH  hbrush_bkgnd,
HDC  hdc_wnd 
)

add icon with alpha channel to imagelist using the specified background color

void SetWindowIcon ( HWND  hwnd,
UINT  nid 
)

set big and small icons out of the resources for a window


Variable Documentation

ATOM g_hframeClass

HINSTANCE g_hInstance

IconCache g_icon_cache


IBrowser Source Code Documentation
generated on 18.09.2008 by doxygen

Homepage