CTabCtrl
Kennedy Kok/CheckFree Corporation Thursday, February 01, 1996 Is it possible to paint the tabs at the bottom for the Tab Control. I know it is possible, because VC++ 4.0 does it, how can I do it?
Brad Wilson -- bradw@netnet.net Sunday, February 04, 1996 [Mini-digest: 2 responses] > Is it possible to paint the tabs at the bottom for the Tab Control. I know it > is possible, because VC++ 4.0 does it, how can I do it? Visual C++ 4.0 doesn't use the standard tab control. Taking 30 seconds with Spy++ shows that the Visual C++ "bottom" style tabs are custom windows (their classes are Afx classes). Brad -- class CBradWilson : public CWorldWatchProgrammingTeam { public: void GetInetAddr ( CString& s ) { s = "bradw@exptech.com"; } void GetE164Addr ( CString& s ) { s = "+1 (810) 620-9803"; } void GetURL ( CString& s ) { s = "http://www.exptech.com"; } void GetDisclaimer( CString& s ) { s = "All I say is fact :-p"; } }; // LOTW: "In my den of inequtiy, viciousness and subtelty, struggle to ease // the pain, struggle to find the sane; ignorance surrounding me" -----From: "Mike Blaszczak"> Is it possible to paint the tabs at the bottom for the Tab Control. This isn't possible. The common tab control does not support a "Bottom" orientation--only top and left. > I know it is possible This isn't possible. >because VC++ 4.0 does it, VC++ 4.0 doesn't do it. You can use Spy++ to verify, for yourself, that VC++ 4.0 isn't doing it. > how can I do it? You should do what VC++ 4.0 does, which is draw your own control from scratch on your own CWnd by yourself. .B ekiM TCHAR szDisc[] = _T("These words are my own--I don't speak for Charles Barkley");
| Вернуться в корень Архива |