Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#54 InitCommonControlsEx call

wont-fix
None
5
2014-02-23
2006-02-08
P.GopalaKrishna
No

I hope the InitCommonControlsEx() call is handled as
a templated base class mechanism as discussed in the
article at:
http://www.geocities.com/krishnapg/InitCommonControls_
h.html

The Custom Control Classes use a templated base class
CInitCommonControls<> to register their common
control classes.

The attaced zip contains the implementation for the
class.

Hope you can adapt this strategy, if found suitable.

Thanking you,
Yours,
P.GopalaKrishna.

Discussion

    • assigned_to: nobody --> nenadstefanovic
     
  • InitCommonControls_h.zip

     
  • Logged In: YES
    user_id=927066
    Originator: YES

    File Added: InitCommonControls_h.zip

     
  • This is convenient, but it is not the WTL-way. Many unnecessary (although static) members, multiple calls (although not incorrect)... Big change for the small benefit. It is not that hard to add or remove flags from the call to AtlInitCommonControls().

     
    • status: open --> wont-fix
    • Group: --> Next Release (example)