Click here to Skip to main content
15,886,578 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
AnswerRe: Calling a com interface function ,but find a problem Pin
Stephen Hewitt13-Nov-10 18:14
Stephen Hewitt13-Nov-10 18:14 
Questionhello i have a problem with linux Pin
lxlenovostar11-Nov-10 15:19
lxlenovostar11-Nov-10 15:19 
AnswerRe: hello i have a problem with linux Pin
Dr.Walt Fair, PE11-Nov-10 17:10
professionalDr.Walt Fair, PE11-Nov-10 17:10 
Questionwindows c++ fstream log file rollover Pin
Alan Kurlansky10-Nov-10 4:18
Alan Kurlansky10-Nov-10 4:18 
AnswerRe: windows c++ fstream log file rollover Pin
Richard MacCutchan10-Nov-10 6:12
mveRichard MacCutchan10-Nov-10 6:12 
GeneralRe: windows c++ fstream log file rollover Pin
Alan Kurlansky12-Nov-10 4:18
Alan Kurlansky12-Nov-10 4:18 
QuestionWhy "FlatSB" is useless in WTL? ::InitializeFlatSB,::FlatSB_EnableScrollBar,::FlatSB_SetScrollProp...return 0. Pin
dancingfish9-Nov-10 20:01
dancingfish9-Nov-10 20:01 
AnswerRe: Why "FlatSB" is useless in WTL? ::InitializeFlatSB,::FlatSB_EnableScrollBar,::FlatSB_SetScrollProp...return 0. [modified] Pin
Alain Rist9-Nov-10 21:31
Alain Rist9-Nov-10 21:31 
Hi,
dancingfish wrote:
Why "FlatSB" is useless in WTL?


WTL support for flat scroll bars in atlctrls.h:
// CFlatScrollBarImpl - support for flat scroll bars

#if (_WIN32_IE >= 0x0400) && !defined(_WIN32_WCE)

template <class T>
class CFlatScrollBarImpl
{
// ...
template <class TBase>
class CFlatScrollBarT : public TBase, public CFlatScrollBarImpl<CFlatScrollBarT< TBase > >
{
//...
typedef CFlatScrollBarT<ATL::CWindow>   CFlatScrollBar;
//...


As Comctl32.dll versions 6.00 and later do not support flat scroll bars check (WTL::RunTimeHelper::IsCommCtrl6() == false) before use Smile | :)

cheers,
AR

Edit: Added CommCtrl version check suggestion.
When the wise (person) points at the moon the fool looks at the finger (Chinese proverb)
modified on Wednesday, November 10, 2010 5:15 AM

GeneralRe: Why "FlatSB" is useless in WTL? ::InitializeFlatSB,::FlatSB_EnableScrollBar,::FlatSB_SetScrollProp...return 0. Pin
dancingfish10-Nov-10 17:11
dancingfish10-Nov-10 17:11 
AnswerRe: Why "FlatSB" is useless in WTL? ::InitializeFlatSB,::FlatSB_EnableScrollBar,::FlatSB_SetScrollProp...return 0. Pin
Alain Rist10-Nov-10 22:40
Alain Rist10-Nov-10 22:40 
GeneralRe: Why "FlatSB" is useless in WTL? ::InitializeFlatSB,::FlatSB_EnableScrollBar,::FlatSB_SetScrollProp...return 0. Pin
dancingfish10-Nov-10 23:20
dancingfish10-Nov-10 23:20 
AnswerRe: Why "FlatSB" is useless in WTL? ::InitializeFlatSB,::FlatSB_EnableScrollBar,::FlatSB_SetScrollProp...return 0. [modified] Pin
Alain Rist11-Nov-10 23:26
Alain Rist11-Nov-10 23:26 
QuestionImplementing Bookmark_Enabled OLE DB Provider/IDBSchemaRowset Pin
RezaAsAdi8-Nov-10 1:12
RezaAsAdi8-Nov-10 1:12 
Questionexception handling [modified] Pin
khomeyni7-Nov-10 8:41
khomeyni7-Nov-10 8:41 
AnswerRe: exception handling Pin
Sauro Viti7-Nov-10 10:55
professionalSauro Viti7-Nov-10 10:55 
GeneralRe: exception handling Pin
khomeyni9-Nov-10 7:45
khomeyni9-Nov-10 7:45 
AnswerRe: exception handling Pin
ShilpiP7-Nov-10 18:49
ShilpiP7-Nov-10 18:49 
QuestionHow to add a button to the message item toolbar in outlook ? Pin
ERLN2-Nov-10 18:17
ERLN2-Nov-10 18:17 
QuestionHow to read an HDF file and convert it into ASCII file(extension) using C programme Pin
cmaheshwari1622-Oct-10 3:35
cmaheshwari1622-Oct-10 3:35 
AnswerRe: How to read an HDF file and convert it into ASCII file(extension) using C programme Pin
cariolihome27-Oct-10 11:17
cariolihome27-Oct-10 11:17 
AnswerRe: How to read an HDF file and convert it into ASCII file(extension) using C programme Pin
Stuart Dootson27-Oct-10 11:56
professionalStuart Dootson27-Oct-10 11:56 
AnswerRe: How to read an HDF file and convert it into ASCII file(extension) using C programme Pin
schoetbi15-Mar-11 6:31
schoetbi15-Mar-11 6:31 
GeneralRe: How to read an HDF file and convert it into ASCII file(extension) using C programme Pin
cmaheshwari1615-Mar-11 19:35
cmaheshwari1615-Mar-11 19:35 
QuestionDialog Based Applications Pin
Anil Kumar.Arvapalli22-Oct-10 1:29
Anil Kumar.Arvapalli22-Oct-10 1:29 
AnswerRe: Dialog Based Applications Pin
Richard MacCutchan22-Oct-10 2:48
mveRichard MacCutchan22-Oct-10 2:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.