Hi Folks, So, I've writtten this window finder thingie, like the window finder in Spy++ but hopefully a lot better. It's based on CStatic and displays a bitmap...
... No. The message map _is_ ProcessWindowMessage - check out what BEGIN_MSG_MAP macro actually expands to. ProcessWindowMessage is a virtual function, so a...
I've also just run into the same problem with using WTL CString, and solved the problem by following Jim's advice. Given the problems that can occur with using...
... ATL didn't originally have CString (it was MFC only) so WTL defined its own. When the MFC/ATL shared classes were introduced (in VC2002 I think) then WTL's...
Hi, I have an application where I can have multiple windows open - each of these is an SDI window with a view derived from CDialogImpl. I am not getting the...
Given that ATL/WTL's CString class has all of the methods inlined, would I be right in thinking that using CString can result in code-bloat if it's used...
My understanding of the conventional wisdom is to let the compiler and linker deal with this issue. Inline means that the function/method MAY be expanded...
Hi, The only notification sent by the Mobile Common File Dialogs is CDN_TYPECHANGE so your OnInitDone() member is never called. cheers, AR ... From: veryggungs...
Hello. I am writing a WTL application and for whatever maddening reasons I have decided to not use the existing menu/toolbar structure and have my own...
You can see how the WTL frame class does it by looking at its implementation of Updatelayout(). UpdateLayout() calls UpdateBarsPostion() to position the tool...
Now I've noticed that UpdateLayout is not actually a virtual method. So, what I did was something like this: void UpdateLayout(BOOL bResizeBars = TRUE) { RECT...
That sounds like you've modified the WTL frame class? If that's the case then just add UpdateLayout() to your frame class deriving from the WTL frame class and...
Hi, First I'd like to say "big thanks" to the WTL team for this GREAT library! I have my own BrowseForFolder C++ class but I recently decided to use the...
Hi Philippe, Thank you for both your kind words and the bug report. Indeed, you are right, string should be passed as lParam. This will be corrected. Cheers, ...
Hi, I am having the oddest problem with wtl8 on Vista. Opening a file dialog brings up a wait cursor and then my App hangs; no window appears. Of course this...
... Just a guess, not much info to go on, but it's good practice to use ATL::CString instead of WTL::CString. So, change: #define _WTL_USE_CSTRING to #define...
Hi The WTL::CCommandBarCtrlImpl class template has a member variable named m_wndParent, which it uses to capture messages from it's parent window. This member...
in wtl, i want to get which items are being selected in a listview control. in MFC, i can use GetFirstSelectedItemPosition(); GetNextSelectedItem.  so, how...
There are several methods of CListViewCrlT to get rid of the problem. GetSelectedIndex Method to get the current selected item's index (single select mode...
does anyone have SDK demo codes about how to get multiselected lines of a listview control ??  it seems, there's no wrapper in WTL. it's easy in MFC.. ...
Retrieve indexes of all selected items UINT uSelectedCount = GetSelectedCount(); int nIndex = -1; // Loop through all selected items for (UINT i = 0; i <...
I have tried changing to _WTL_NO_CSTRING but the problem still occurs. I did install VC 2005 on my vista machine and recompiled the app there, but the problem...
Hi Jochen, I don't know what your problem comes from but I would be suprised it comes from the WTL, CString or Vista. I have several VC6 XP-compiled...
Hi, Can someone send me or give me a link of a simple atl composite control, generated by the application wizard that has some buttons, comboboxes... on it...
I having a problem with a CTabCtrl in a CSplitterWindow when I am using Common Controls 6.0.0.0. The area where the tabs are located is not being redrawn...