WTL Controls
|
Back to the WTL Controls Home Page. |
#include "stdafx.h"
#include <ShellAPI.h>
#include <atlctrlx.h>
#include <string>
#include <atltheme.h>
#include <math.h>
#include "WTL_Controls_Resource.h"
#include "Bevel.h"
#include "ColorBlob.h"
#include "StaticPlus.h"
#include "HyperlinkImage.h"
#include "ODComboBox.h"
#include "ODStatic.h"
#include "EditPlus.h"
#include "ComboBoxPlus.h"
#include "ToolTipPlus.h"
#include "StatusBarPlus.h"
Go to the source code of this file.
Namespaces | |
BIS_WTL_CONTROLS | |
Macros | |
#define | _WTL_USE_VSSYM32 |
#define | _WTL_NEW_UXTHEME |
#define | CLR_DARK_RED 0x000080 |
#define | CLR_DARK_GREEN 0x008000 |
#define | CLR_DARK_YELLOW 0x008080 |
#define | CLR_DARK_BLUE 0x800000 |
#define | CLR_DARK_MAGENTA 0x800080 |
#define | CLR_DARK_CYAN 0x808000 |
#define | CLR_MONEY_GREEN 0xc0dcc0 |
#define | CLR_SKY_BLUE 0xf0caa6 |
#define | CLR_CYAN 0xffff00 |
#define | CLR_MAGENTA 0xff00ff |
#define | CLR_BLUE 0xff0000 |
#define | CLR_YELLOW 0x00ffff |
#define | CLR_GREEN 0x00ff00 |
#define | CLR_RED 0x0000ff |
#define | CLR_CREAM 0xf0fbff |
#define | CLR_ORANGE 33023 |
#define | CLR_PALE_RED 8421631 |
#define | CLR_CHARTREUSE 65408 |
#define | CLR_BROWN 4210816 |
#define | CLR_PALE_YELLOW 8454143 |
#define | CLR_FOREST_GREEN 4210688 |
#define | CLR_VIOLET 8388672 |
#define | CLR_DARK_BROWN 64 |
#define | CLR_LAVENDER 16744703 |
#define | CLR_GOLD 2203079 |
#define | CLR_PINK 16744703 |
#define | CLR_BLACK 0x000000 |
#define | CLR_VERY_DARK_GRAY 0x404040 |
#define | CLR_DARK_GRAY 0x808080 |
#define | CLR_SLATE_GRAY 0x908070 |
#define | CLR_LIGHT_SLATE_GRAY 0x998877 |
#define | CLR_GRAY 0xa0a0a0 |
#define | CLR_SILVER 0xc0c0c0 |
#define | CLR_LIGHT_GRAY 0xd3d3d3 |
#define | CLR_WHITE 0xffffff |
#define | CLR_PALE_GOLDENROD 0xaae8ee |
#define | CLR_GOLDENROD 0x20a52da |
#define | CLR_DARK_COLDENROD 0x0b86b8 |
#define | CLR_LIGHT_STEEL_BLUE 0xdec4b0 |
Functions | |
CString | BIS_WTL_CONTROLS::Double_To_String (double number, int precision) |
Convert a double to a CString, with a given number of significant digits. More... | |
CString | BIS_WTL_CONTROLS::Int_To_String (int value, int max_digits) |
Convert a multi-digit integer into a CString. More... | |
double | BIS_WTL_CONTROLS::Sgn (double value) |
Test the sign of a double. More... | |
BOOL | BIS_WTL_CONTROLS::FilePresent (LPCTSTR FullFileName) |
Tests for the presence of a file using SearchPath. More... | |
void | BIS_WTL_CONTROLS::GetLastErrorString () |
Show a Message Box containing human-friendly information about the last failed system API call. More... | |
BOOL | BIS_WTL_CONTROLS::OutlineRect (HDC HDestDC, const RECT &RDest) |
Draw a rectangular outline with the current pen. More... | |
int | BIS_WTL_CONTROLS::GetCharHeight (HDC dc) |
Returns the height of a standard test string, in pixels. More... | |
int | BIS_WTL_CONTROLS::GetTextLineCount (HDC dc, CString text, int width, BOOL IsEditControl) |
Returns the number of lines of text required to fit a string in a given width. More... | |
int | BIS_WTL_CONTROLS::GetTextLength (CString str, HFONT font) |
Measure the length, in pixels, of a string using a given font. More... | |
void | BIS_WTL_CONTROLS::DlgComboInit (int nDlgID, HWND DlgHwnd) |
Load combo boxes with strings stored in a resources file. More... | |
Variables | |
const int | WM_EDITP_EDIT_END = WM_APP + 1011 |
#define _WTL_USE_VSSYM32 |
Definition at line 25 of file WTL_Controls.h.
#define _WTL_NEW_UXTHEME |
Definition at line 26 of file WTL_Controls.h.
#define CLR_DARK_RED 0x000080 |
Definition at line 123 of file WTL_Controls.h.
#define CLR_DARK_GREEN 0x008000 |
Definition at line 124 of file WTL_Controls.h.
#define CLR_DARK_YELLOW 0x008080 |
Definition at line 125 of file WTL_Controls.h.
#define CLR_DARK_BLUE 0x800000 |
Definition at line 126 of file WTL_Controls.h.
#define CLR_DARK_MAGENTA 0x800080 |
Definition at line 127 of file WTL_Controls.h.
#define CLR_DARK_CYAN 0x808000 |
Definition at line 128 of file WTL_Controls.h.
#define CLR_MONEY_GREEN 0xc0dcc0 |
Definition at line 129 of file WTL_Controls.h.
#define CLR_SKY_BLUE 0xf0caa6 |
Definition at line 130 of file WTL_Controls.h.
#define CLR_CYAN 0xffff00 |
Definition at line 131 of file WTL_Controls.h.
#define CLR_MAGENTA 0xff00ff |
Definition at line 132 of file WTL_Controls.h.
#define CLR_BLUE 0xff0000 |
Definition at line 133 of file WTL_Controls.h.
#define CLR_YELLOW 0x00ffff |
Definition at line 134 of file WTL_Controls.h.
#define CLR_GREEN 0x00ff00 |
Definition at line 135 of file WTL_Controls.h.
#define CLR_RED 0x0000ff |
Definition at line 136 of file WTL_Controls.h.
#define CLR_CREAM 0xf0fbff |
Definition at line 137 of file WTL_Controls.h.
#define CLR_ORANGE 33023 |
Definition at line 138 of file WTL_Controls.h.
#define CLR_PALE_RED 8421631 |
Definition at line 139 of file WTL_Controls.h.
#define CLR_CHARTREUSE 65408 |
Definition at line 140 of file WTL_Controls.h.
#define CLR_BROWN 4210816 |
Definition at line 141 of file WTL_Controls.h.
#define CLR_PALE_YELLOW 8454143 |
Definition at line 142 of file WTL_Controls.h.
#define CLR_FOREST_GREEN 4210688 |
Definition at line 143 of file WTL_Controls.h.
#define CLR_VIOLET 8388672 |
Definition at line 144 of file WTL_Controls.h.
#define CLR_DARK_BROWN 64 |
Definition at line 145 of file WTL_Controls.h.
#define CLR_LAVENDER 16744703 |
Definition at line 146 of file WTL_Controls.h.
#define CLR_GOLD 2203079 |
Definition at line 147 of file WTL_Controls.h.
#define CLR_PINK 16744703 |
Definition at line 148 of file WTL_Controls.h.
#define CLR_BLACK 0x000000 |
Definition at line 150 of file WTL_Controls.h.
#define CLR_VERY_DARK_GRAY 0x404040 |
Definition at line 151 of file WTL_Controls.h.
#define CLR_DARK_GRAY 0x808080 |
Definition at line 152 of file WTL_Controls.h.
#define CLR_SLATE_GRAY 0x908070 |
Definition at line 153 of file WTL_Controls.h.
#define CLR_LIGHT_SLATE_GRAY 0x998877 |
Definition at line 154 of file WTL_Controls.h.
#define CLR_GRAY 0xa0a0a0 |
Definition at line 155 of file WTL_Controls.h.
#define CLR_SILVER 0xc0c0c0 |
Definition at line 156 of file WTL_Controls.h.
#define CLR_LIGHT_GRAY 0xd3d3d3 |
Definition at line 157 of file WTL_Controls.h.
#define CLR_WHITE 0xffffff |
Definition at line 158 of file WTL_Controls.h.
#define CLR_PALE_GOLDENROD 0xaae8ee |
Definition at line 160 of file WTL_Controls.h.
#define CLR_GOLDENROD 0x20a52da |
Definition at line 161 of file WTL_Controls.h.
#define CLR_DARK_COLDENROD 0x0b86b8 |
Definition at line 162 of file WTL_Controls.h.
#define CLR_LIGHT_STEEL_BLUE 0xdec4b0 |
Definition at line 163 of file WTL_Controls.h.
const int WM_EDITP_EDIT_END = WM_APP + 1011 |
Definition at line 102 of file WTL_Controls.h.