... CCheckListViewCtrl is a much superior class - just as a list control is superior to a listbox. It is very easy to use CCheckListViewCtrl - do you want me...
Sample code is welcome! At this moment I have three questions: 1. how to *un*select an item, after using SelectItem(nItem) ? 2. how to the ListViewControl in a...
... SBARS_SIZEGRIP ... work. ... rid ... Why don't you create the status bar without the SBARS_SIZEGRIP style? ModifyStyle(WS_THICKFRAME, 0); m_hWndStatusBar =...
Hello everybody! I'm kinda new with WTL and all this stuff, so beware of my newbie questions!!! ;) I got the following problem: I have created an application...
Dear All, I want to enable some button while a user changed a CCheckListViewCtrl item's check state, but I cannot find a check state change notification...
Hi robert, it works, but LVN_ITEMCHANGED was sent hunderds times when I load the control with previous saved items, so the handler get called hundred times...
You can't stop these messages being sent so you could either set a flag before filling your list, and check for this in your LVN_ITEMCHANGED handler, e.g.: ...
Hi there! I'm having another problem: I use URLDownloadToFile to retrieve some files from the Internet. Since this is a blocking function, my application will...
Using threads is actually quite straight-forward as long as you are careful to encapsulate all the thread code correctly. Here is what I recommend you do: *...
Two little things: 1. The thread procedure cannot be an instance member of a function, since it shouldn't expect the 'this' parameter. Use a static member, or...
1. I forgot to mention that thread routine was static - well spotted. 2. I am doing exactly this - the function that creates the thread creates the data...
Hello again! After few hours of pain I decided to ask your help on URLDownloadToFile function... Does anybody has any bit of sample code to show me how to use...
Hi, As you mentioned, URLDownloadToFile() function works synchronously (if you do not provide an implementation of IBindStatusCallback interface which returns...
In my ATL project, I am developed particular file search application. Once I press Search button, it is search file on given path. It takes big time. Now I...
Here's some code: Peter Somwhere in OnOK() or something like that: HRESULT hr = URLDownloadToFile ( NULL, strSrc, strDestZ, 0, this ); class CMainDlg: public...
Hi Robert, Be careful --- your code fragments are not volatile correct! And yes - it does matter! An event and message queue is not sufficient! Until recently...
Hello list, This is my first mail to this list. I've been using WTL for some time now, and one thing that I've noticed is that, as a result of the extensive...
Perhaps you would be good enough to elaborate why the code I posted is insufficient? I can't see the wood for the trees re: the link you posted. I assume...
One of the primary reasons for using URLDownloadToFile is (besides ease of use) the fact that URLMON functions supposedly handle gzip'ed responses from the...
I'm building a pocketpc app using wtl 7.5 on evc4. Coming from a palm background, im finding the whole frame/view thing a little confusing. I "think" what i...
... palm ... confusing. I ... frame ... status ... manually set ... that ... get ... method? ... contained ... i have ... would be ... When the WTL Wizard...
Roger, this is a great example. thanks The only question i have is in the ShowView1,2... methods you call GetDlgCtrlID Does a CWindowImpl have an id...
... only work with CDialogImpl? The id is whatever number you want to assign to a window when its created (see the Create call in ShowMyView1) and will work...