I am using VS 2005 and WTL 8.0 and I'm trying to upgrade my application to use the new v6 common controls. I thought if would be as simple as adding the...
... Or copy the following codes and save to %WTL%\AppWiz\setup90.js and run the script. ////////////////////////////////setup90.js//////////////////////////// ...
Hi All, There is some MDI-application using several View-classes. It is necessary to forward some messages (e.g. mouse messages) FROM ANY of view instances TO...
... Don't? :o) Have you ever used PreTranslateMessage? This might be a solution, using it to have your various view classes monitor incoming messages from the...
Hi, I am designing an application running on Pocket PC and smartphone and I have created some controls to minimize differences. For instance the following...
... Not yet! :) I've been never changed the default PreTranslateMessage handler. <:( ... Sounds very hopeful, thanks! But I'm not sure that everything is it ...
... messages, ... point ... Apologies, I should have said "like a typical window procedure". In other words, something like a switch statement where you...
This works (compile and runs as expected on PPC and SP) in an AppWizard Dialog application class CSpintestDialog : public CAppStdDialogImpl<CSpintestDialog>, ...
Hi WTL lovers, Can i build use wtl libraries with MinGW ? Is there a patch or additional compiler directives, macros includes e.g. for mingw to build wtl...
... The short answer is NO. You cannot build WTL applications with MinGW. WTL depends on ATL, which is not available in a free version of Visual Studio and it ...
... Cristian, I'm pretty sure patching ATL is illegal. So, the final answer is NO, there is NO way to use ATL/WTL with MinGW. Best regards, -- Mateusz Loskot,...
... By reading "c:\Program Files\Microsoft Visual Studio 9.0\Microsoft Visual Studio 2008 Professional Edition - ENU\eula.txt" I found out that: "MFCs, ATLs...
... Cristian, Yes, in-house use is permitted. I understood you want to distribute it. It seems to be a waste of time to patch ATL to use it with MinGW and not...
... I tried sometimes ago. It seems that gcc 4 has implemented __declspec(selectany), but it will give many errors like "m_hWnd was not declared", looks like...
... Yup. One solution would be to re implement the basic classes needed by WTL from scratch without looking at ATL source code and by using public available ...
... Because I am using a kind of smart enums (see http://www.codeproject.com/KB/cpp/EnumBinder.aspx). And while I am at it, please do not forget to post a...
Cristian: Beware of the thunking. It survives to today only because Microsoft provided a backdoor lifeline after implement DEP (Data Execution Prevention) and...
... I don't really see why not. All that is required is to create the thunks in memory allocated with the PAGE_EXECUTE_READWRITE attribute. On the other hand,...
I guess that we both agree that "handle map" is easier and more portable/future-proof. That answers your "why not". :-) In the link of KB948468 I included in...
... portable/future-proof. That answers your "why not". :-) The downside of handle maps is of course the mess they can easily end up in. MFC has always used...
Does anyone know of some sample code that puts a WTL view into a SDI or MDI in MFC. I have a MFC MDI project that I would like to migrate to WTL one view at a...
... Yes, but thunking has better performance. ... I wouldn't say the current approach is "considered hacking". It's just that having the thunks in writable...
... 1) Copy AppWiz\setup80.js to setup90.js 2) In setup90.js, replace each occurrence of "8.0" with "9.0" 3) Execute setup90.js 4) Er, that's it! -- Jim Barry,...