Wow, it works now (after adding WTL::CFrameWindowImpl<CMainFrame> in call to CreateSimpleStatusBar())! However, it looks like a normal status bar, but I expected it to be a semi-transparent, kinda "glass". Shouldn't it be semi-transparent?
Thank you for the great article! However, I've got errors when tried to add things beyond the basic test app. For example, I've tried to add a pane with editbox on the left of the frame:
class CFilterView : public aero::CWindowImpl<CFilterView, CEdit>
The line with CHAIN_MSG_MAP caused errors including "error C2352: 'CFilterView::ProcessWindowMessage' : illegal call of non-static member function".
What is the right way to chain events in this case? Many thx!
thank you! It compiles well now and I'm looking for example how to handle the messages. Would you recommend an article or example that can be used as analogy for the purpose of drawing CEdit?
I had also another thought - maybe it can be implemented as CEditView, i.e.
im getting this error when i compiled your AeroDialog sample.
Error 2 error C2039: 'CTabViewImpl' : is not a member of 'WTL' aerosamples\aerosamples\wtlaero.h 1292 AeroDialog
Error 3 error C2065: 'CTabViewImpl' : undeclared identifier aerosamples\aerosamples\wtlaero.h 1292 AeroDialog
Error 4 error C2275: 'WTL::aero::CTabView' : illegal use of this type as an expression aerosamples\aerosamples\wtlaero.h 1292 AeroDialog
Error 5 error C2955: 'WTL::aero::CCtrlImpl' : use of class template requires template argument list aerosamples\aerosamples\wtlaero.h 1292 AeroDialog
Error 6 error C2143: syntax error : missing ',' before '>' aerosamples\aerosamples\wtlaero.h 1292 AeroDialog
Error 7 fatal error C1903: unable to recover from previous error(s); stopping compilation aerosamples\aerosamples\wtlaero.h 1295 AeroDialog