ReactOS 0.4.16-dev-250-g3ecd236
|
#include <windows.h>
#include <uxtheme.h>
#include <stdlib.h>
#include <tchar.h>
#include "resource.h"
Go to the source code of this file.
Macros | |
#define | TOP_MARGIN 50 |
#define | LEFT_MARGIN 160 |
#define | X_GAP 10 |
#define | Y_GAP 10 |
#define | Y_HEIGHT 40 |
#define | X_WIDTH 150 |
Functions | |
LRESULT CALLBACK | WndProc (HWND, UINT, WPARAM, LPARAM) |
static void | RegisterMyClass (HINSTANCE hInst) |
static HWND | CreateWnd (HWND hWnd, LPCWSTR Class, LPCWSTR Text, LONG style, int i, int j) |
static HWND | CreateBtn (HWND hWnd, LPCWSTR Text, LONG style, int i, int j) |
static void | CreateButtonSet (HWND hwndParent, HWND *ahwnd, int i, int j, DWORD style) |
int WINAPI | wWinMain (_In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance, _In_ LPWSTR lpCmdLine, _In_ int nCmdShow) |
static VOID | OnScroll (HWND hwnd, INT nBar, WORD sbCode) |
Variables | |
HICON | hico |
HBITMAP | hbmp |
HIMAGELIST | himl |
POINT | scPos |
HBRUSH | hbrNULL |
HBRUSH | hbrRed |
HBRUSH | hbrGreen |
HBRUSH | hbrBlue |
HBRUSH | hbrCyan |
HBRUSH | hbrYellow |
HBRUSH | hbrCtlColorStatic |
HBRUSH | hbrCtlColorBtn |
HBRUSH | hbrPrintClientClear |
HBRUSH | hbrErase |
BOOL | bSkipErase |
BOOL | bSkipPaint |
#define LEFT_MARGIN 160 |
Definition at line 51 of file buttonvistest.cpp.
#define TOP_MARGIN 50 |
Definition at line 50 of file buttonvistest.cpp.
#define X_GAP 10 |
Definition at line 52 of file buttonvistest.cpp.
#define X_WIDTH 150 |
Definition at line 55 of file buttonvistest.cpp.
#define Y_GAP 10 |
Definition at line 53 of file buttonvistest.cpp.
#define Y_HEIGHT 40 |
Definition at line 54 of file buttonvistest.cpp.
Definition at line 69 of file buttonvistest.cpp.
Referenced by CreateButtonSet().
Definition at line 89 of file buttonvistest.cpp.
Referenced by wWinMain().
Definition at line 57 of file buttonvistest.cpp.
Referenced by CreateBtn(), and wWinMain().
Definition at line 232 of file buttonvistest.cpp.
Referenced by WndProc().
Definition at line 29 of file buttonvistest.cpp.
Referenced by wWinMain().
Definition at line 325 of file buttonvistest.cpp.
Referenced by RegisterMyClass().
int WINAPI wWinMain | ( | _In_ HINSTANCE | hInstance, |
_In_opt_ HINSTANCE | hPrevInstance, | ||
_In_ LPWSTR | lpCmdLine, | ||
_In_ int | nCmdShow | ||
) |
Definition at line 104 of file buttonvistest.cpp.
BOOL bSkipErase |
Definition at line 26 of file buttonvistest.cpp.
Referenced by WndProc(), and wWinMain().
BOOL bSkipPaint |
Definition at line 27 of file buttonvistest.cpp.
Referenced by WndProc(), and wWinMain().
HBITMAP hbmp |
Definition at line 10 of file buttonvistest.cpp.
Referenced by Icon::add_to_imagelist(), QuickLaunchBar::AddButton(), CCicLibMenu::AddMenuItem(), QuickLaunchBar::AddShortcuts(), cicDrawMaskBmpOnDC(), Icon::create_bitmap(), create_bitmap(), create_bitmap_from_icon(), create_gdi_logbrush(), create_hatch_bitmap(), create_small_bitmap_from_icon(), CreateButtonSet(), CreatePatternBrush(), DECLARE_INTERFACE_(), DrawCheckedRect(), DwmSetIconicLivePreviewBitmap(), DwmSetIconicThumbnail(), DxEngSelectBitmap(), DxEngSetBitmapOwner(), EngCreateBitmap(), EngCreateDeviceBitmap(), TaskBar::EnumWndProc(), GdiSelectBitmap(), get_brush_bitmap_info(), get_graphics_device_bounds(), get_stgmed_for_bitmap(), GetBitmapPixelBuffer(), GetDiaogTextureBrush(), GetDIBits(), GetRealColorDepth(), GreCreateBitmapEx(), GreSetBitmapOwner(), HEXEDIT_WM_PAINT(), ImageList_AddAlphaIcon(), CCicLibMenuItem::Init(), insert_static_object(), ITextHostImpl_TxCreateCaret(), LangBarInsertMenu(), LISTVIEW_CreateDragImage(), LISTVIEW_Refresh(), ME_RTFReadPictGroup(), NtGdiCreateBitmap(), NtGdiSelectBitmap(), PROPSHEET_Paint(), TaskBar::Refresh(), seltree_create_imagelist(), SetBitmap(), SpiSetWallpaper(), START_TEST(), sw_SetContext(), test_AppendMenu(), test_approximate_viewrect(), test_bcm_get_ideal_size(), Test_Bitmap(), test_bitmap(), Test_BitmapAttributes(), test_bm_get_set_image(), test_bmBits(), Test_BrushOrigin(), test_button_bm_get_set_image(), Test_CreateBitmap(), Test_CreateBitmap_Params(), test_CreateBitmapFromHBITMAP(), Test_CreateDIBitmap1(), Test_CreateDIBitmap_CBM_CREATDIB(), Test_CreateDIBitmap_DIB_PAL_COLORS(), Test_CreateDIBitmap_Params(), Test_CreateDIBitmap_RLE8(), Test_CreateDIBPatternBrushPt_RLE8(), test_DC_bitmap(), test_dib_formats(), test_DIB_PAL_COLORS(), test_FillRect(), test_get16dibits(), test_get_set_imagelist(), test_GetCurrentObject(), Test_GetDIBColorTable(), Test_GetDIBits(), test_GetDIBits(), Test_GetDIBits_xBpp(), Test_GetIdealSizeNoThemes(), Test_GetPixel_1bpp(), Test_GetRandomRgn_RGN5(), Test_GetRandomRgn_SYSRGN(), test_hittest(), test_images(), test_mbs_help(), test_memory_dc_clipping(), test_mono_1x1_bmp_dbg(), test_mono_bitmap(), Test_NtGdiDoPalette_SetDIBColorTable(), Test_SelectDIBSection(), Test_SetDCPenColor(), Test_SetDIBits(), Test_SetDIBits_1bpp(), Test_SetPixel_PAL(), Test_SrcMono(), ThemeEndBufferedPaint(), ThemeStartBufferedPaint(), TREEVIEW_CreateDragImage(), UserLoadImage(), UXTHEME_DrawThemePartToDib(), UXTHEME_GetImageBackBackgroundRegion(), WDML_DataHandle2Global(), WDML_Global2DataHandle(), WinGGetDIBPointer(), WinMain(), and wWinMain().
HBRUSH hbrBlue |
Definition at line 17 of file buttonvistest.cpp.
Referenced by MainWndProc(), WndProc(), and wWinMain().
HBRUSH hbrCtlColorBtn |
Definition at line 22 of file buttonvistest.cpp.
Referenced by WndProc(), and wWinMain().
HBRUSH hbrCtlColorStatic |
Definition at line 21 of file buttonvistest.cpp.
Referenced by WndProc(), and wWinMain().
HBRUSH hbrCyan |
Definition at line 18 of file buttonvistest.cpp.
Referenced by WndProc(), and wWinMain().
HBRUSH hbrErase |
Definition at line 24 of file buttonvistest.cpp.
Referenced by WndProc(), and wWinMain().
HBRUSH hbrGreen |
Definition at line 16 of file buttonvistest.cpp.
Referenced by WndProc(), and wWinMain().
HBRUSH hbrNULL |
Definition at line 14 of file buttonvistest.cpp.
Referenced by WndProc(), and wWinMain().
HBRUSH hbrPrintClientClear |
Definition at line 23 of file buttonvistest.cpp.
Referenced by WndProc(), and wWinMain().
HBRUSH hbrRed |
Definition at line 15 of file buttonvistest.cpp.
Referenced by MainWndProc(), WndProc(), and wWinMain().
HBRUSH hbrYellow |
Definition at line 19 of file buttonvistest.cpp.
Referenced by MainWndProc(), WndProc(), and wWinMain().
HICON hico |
Definition at line 9 of file buttonvistest.cpp.
Referenced by CreateButtonSet(), InitListViewImageLists(), InitTreeViewImageLists(), and wWinMain().
HIMAGELIST himl |
Definition at line 11 of file buttonvistest.cpp.
Referenced by add_dib_bits(), Icon::add_to_imagelist(), add_with_alpha(), AddListViewItems(), AddWallpapersFromDirectory(), alpha_blend_image(), check_bits(), check_color_table(), check_ImageList_DrawIndirect_broken(), check_ImageList_DrawIndirect_fState(), check_ImageList_DrawIndirect_fStyle(), check_ImageList_DrawIndirect_ILD_ROP(), check_iml_data(), Icon::create_bitmap(), createImageList(), CShellLink::CreateShortcutIcon(), DestroyTreeView(), CUIFTheme::DrawThemeIcon(), FILEDLG95_InitControls(), FileOpenDlgProc95(), HEADER_CreateDragImage(), HEADER_SetImageList(), HIMAGELIST_QueryInterface(), image_list_add_bitmap(), image_list_init(), ImageList_Add(), ImageList_AddAlphaIcon(), ImageList_AddIcon(), ImageList_AddMasked(), imagelist_copy_images(), ImageList_Create(), ImageList_CreateImage(), ImageList_Destroy(), ImageList_Draw(), ImageList_DrawEx(), ImageList_DrawIndirect(), imagelist_get_bitmap_size(), ImageList_GetBkColor(), ImageList_GetFlags(), ImageList_GetIcon(), ImageList_GetIconSize(), ImageList_GetImageCount(), ImageList_GetImageInfo(), ImageList_GetImageRect(), IMAGELIST_InternalExpandBitmaps(), ImageList_LoadImageA(), ImageList_LoadImageW(), imagelist_point_from_index(), ImageList_Read(), ImageList_Remove(), ImageList_Replace(), ImageList_ReplaceIcon(), ImageList_SetBkColor(), ImageList_SetColorTable(), ImageList_SetFilter(), ImageList_SetFlags(), ImageList_SetIconSize(), ImageList_SetImageCount(), ImageList_SetOverlayImage(), ImageList_Write(), InitImageList(), InitListViewImageLists(), CFontsDialog::InitToolbar(), InitTreeViewImageLists(), is_valid(), LISTVIEW_CreateCheckBoxIL(), LISTVIEW_DrawItemPart(), LISTVIEW_SetColumnWidth(), LISTVIEW_SetExtendedListViewStyle(), LISTVIEW_SetImageList(), LISTVIEW_SetView(), LISTVIEW_StyleChanged(), MD_ListView_OnSetImageList(), MD_TreeView_OnSetImageList(), OnBrowseButton(), seltree_create_imagelist(), set_icon_size(), CToolbar< TItemData >::SetImageList(), CListView::SetImageList(), CTreeView::SetImageList(), show_image(), test_add_bitmap(), test_add_remove(), test_approximate_viewrect(), test_bcm_get_ideal_size(), test_begindrag(), test_color_table(), test_create_destroy(), test_createdragimage(), test_DrawIndirect(), test_get_set_imagelist(), Test_GetIdealSizeNoThemes(), test_getitemrect(), test_hittest(), test_iconsize(), test_iimagelist(), test_IImageList_Add_Remove(), test_IImageList_Clone(), test_IImageList_Draw(), test_IImageList_Get_SetImageCount(), test_IImageList_GetBkColor(), test_IImageList_GetIconSize(), test_IImageList_GetImageCount(), test_IImageList_SetBkColor(), test_imagecount(), test_ImageList_DrawIndirect(), test_imagelist_storage(), test_images(), test_layout(), test_merge_colors(), test_removeimage(), test_sizes(), test_tab(), test_TVS_CHECKBOXES(), ThemePageDlgProc(), TOOLBAR_CustomizeDialogProc(), TOOLBAR_DrawImage(), TOOLBAR_DrawMasked(), TOOLBAR_GetImageListForDrawing(), TOOLBAR_InsertImageList(), TOOLBAR_IsValidBitmapIndex(), TOOLBAR_IsValidImageList(), TOOLBAR_SetDisabledImageList(), TOOLBAR_SetHotImageList(), TOOLBAR_SetImageList(), and wWinMain().
POINT scPos |
Definition at line 12 of file buttonvistest.cpp.
Referenced by OnScroll(), and wWinMain().