Chapter 12: Dialog-Based Windows Visual C++ and MFC Fundamentals
WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, );
}
The tab stop style is defined as:
#define WS_TABSTOP 0x00010000L
11.5 Extended Styles............................................................................................
11.5.1..Introduction..........................................................................................
Besides the above regular styles and properties used on controls, if you want to add a
more features to a window, you can create it using the CWnd::CreateEx() method. It
comes in two versions as follows:
BOOL CreateEx(DWORD dwExStyle, LPCTSTR lpszClassName, LPCTSTR lpszWindowName,
DWORD dwStyle, int x, int y, int nWidth, int nHeight,
HWND hwndParent, HMENU nIDorHMenu, LPVOID lpParam = NULL );
BOOL CreateEx(DWORD dwExStyle, LPCTSTR lpszClassName, LPCTSTR lpszWindowName,
DWORD dwStyle, const RECT& rect, CWnd* pParentWnd,
UINT nID, LPVOID lpParam = NULL);
In Visual C++ 6, some of the extended styles are on the Styles tab of the Properties
window and some others are in the Extended Styles tab:
In Visual C++ 7, all styles are listed in the Properties window's vertical list: