WTL Controls
Back to the WTL Controls Home Page.
MiscFunctions.cpp File Reference
#include "stdafx.h"

Go to the source code of this file.

Namespaces

 BIS_WTL_CONTROLS
 

Functions

BOOL BIS_WTL_CONTROLS::OutlineRect (HDC HDestDC, const RECT &RDest)
 Draw a rectangular outline with the current pen. More...
 
CString BIS_WTL_CONTROLS::Int_To_String (int value, int max_digits)
 Convert a multi-digit integer into a CString. More...
 
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...
 
double BIS_WTL_CONTROLS::Sgn (double value)
 Test the sign of a double. More...
 
void BIS_WTL_CONTROLS::GetLastErrorString ()
 Show a Message Box containing human-friendly information about the last failed system API call. 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...
 
BOOL BIS_WTL_CONTROLS::FilePresent (LPCTSTR FullFileName)
 Tests for the presence of a file using SearchPath. More...
 
void BIS_WTL_CONTROLS::DlgComboInit (int nDlgID, HWND DlgHwnd)
 Load combo boxes with strings stored in a resources file. More...