Our WTL based app has millions of installations and roughly twice a year one or the other antivirus package starts flagging it as malware after virus ...
Hi Peter, Thanks for sharing this info. Based on it, we have to conclude that there is nothing really wrong with the _ATL_MIN_CRT code. And that is very good ...
Hello, I wonder but I cannot find the reason. The code is: CShellFileSaveDialog fd; if (fd.DoModal(GetParent()) == IDOK) { CStringW s; fd.GetFilePath(s); } ...
What is GetParent() returning in your code? Cheers, Nenad 2012/2/16 Konstantin Mironovich <const@...> ... [Non-text portions of this message have been...
guess the parent is valid. furthermore CFileDialog works pretty good in this App. also both work in another WTL-based program. I suspect these Vista COM-based...
Parent needs to be a top level window, not just valid. Or, it could be Vista - have you tried it on Win7? Cheers, Nenad ... [Non-text portions of this message...
the default parent is ::GetActiveWindow() for both CFileDialog::DoModal() and CShellFileSaveDialog::DoModal() and only the first works in my case. Win7 will be...
Hi, could it be that all that is missing is a call to CoInitialize? Regards Timo -- www.TimoSoft-Software.de - Unicode controls for VB6 "Those who sacrifice...
Thank for the idea, I don't think it's necessary. Nevertheless I've tried both cases. Anyway this code works with S_OK : CComPtr<IFileSaveDialog> pfd =...
Hello everybody, New build of WTL 8.1.12085 is on SourceForge.net. It adds support for VC++ 11 as well as some bug fixes. Cheers, Nenad [Non-text portions of...
Hi Nenad, I have controls derived from 'CScrollWindowImpl<MyControl, CFSBWindow>' and particularly a DataGrid. I noticed that when I turned my mouse's wheel...
Hi Philippe, Thank you for pointing this out. Your solution is what should be there, so I will add it to the WTL code. Thanks, Nenad ... [Non-text portions of...
Just checked the latest WTL 8.1 release and this change never got committed. As there were no objections, can this be committed ? Best Regards, Richard B....
I've only just noticed that Wizard based WTL frame apps have a return code of 1 when the X button is clicked by default, and Wizard based WTL dialog apps have...
http://social.msdn.microsoft.com/Forums/en-US/vcmfcatl/thread/bc715647-7f9b-4404-81fb-89c11bbd7b30 above is the link to the original discussion along with the...
I think you need a PreTranslateMessage that returns ::IsDialogMessage for the child dialog. This is needed for modeless dialogs to drive their message...
I've noticed that a right-click on a checkbox in a CCheckListViewCtrl results in two WM_CONTEXTMENU (also NM_RCLICK) messages being sent - one for the mouse...
My logic for not display a context menu is a bit simplistic, as it doesn't work for a double right-click on a checkbox - the second mouse-down does not...
I save one integer value in Column of ListCtrl via "SetItem"; But I can't get the value via "GetItem" if the application is complied using "Release"...
Hi Tody, ... using "Release" configuration. ... I can't see anything specific to build configurations in your code (the usual culprits are uninitialized...
i attach a tooltip to a listview, and each time the cursor move to a listview item , the tooltip will show some corespoding infomation. the tooltip can really...
Have you tried setting the delay time, http://msdn.microsoft.com/en-US/library/t7b206dh(v=vs.80) for TTDT_AUTOPOP and see if that works better? Regards, Karl...
I want to be able to wait on events in the main event loop as well as normal messages. I understand I can use MsgWaitForMultipleObjectsEx() as shown in the...