I'm working on a project for Windows Mobile that was created using WTL. But I have to add some preexisting dialogs from another project. The dialogs are...
Hi Ron, ... In order to get this to work, at the very least MFC will need valid CWinApp and mainframe objects, so you will need to make some mods to your core ...
I'm trying to host a browser control within a custom control. Sometimes the control presents it's own presentation, and sometimes it shows the browser. Don't...
Matt Murdock <mattdmurdock@...> ... The easiest way is IWebBrowser2::put_Silent(VARIANT_TRUE). This suppresses most prompts. -- With best wishes, Igor...
Matt Murdock <mattdmurdock@...> ... In my experience, put_Silent works to suppress scipt error messages. What do you mean by "exception"? See KB Article...
The exceptions (in this case) happen to be in the control processing java script. If I put in the call to be silent, I get a couple of instances of a...
Hello, new member to the WTL group here. Fairly new to WTL, but, coded in MFC/SDK/DDK a good bit many years ago in another life. Recently started coding again...
Hi Bob, There are some excellent articles on Code Project (www.codeproject.com) in a series called "WTL for MFC Programmers". I found this series to be an ...
Is it possible to get this combination running? When using WTL 7.5 in an MFC project wiht MFC support, I get problems when including AtlCtrlX.h, which uses...
You must define _WTL_NO_AUTOMATIC_NAMESPACE before everything WTL. Defining it before atlapp.h is good. Then you must manually put the WTL:: before every WTL...
... What I did was editing atlgdi.h and adding the namespace to CClientDC, like this: class CClientDC : public WTL::CDC so CClientDC inherits from WTL's CDC...
hi,all. I have difficuties when using spin control. I simply creat a dialog based wtl project by wizard. and put a spin control and an edit control on the...
... I would suggest checking the properties of the spin control in the resource view, and making sure "auto buddy" and "set buddy integer" are true. Then make...
Thank you for your reply. I have fixed this problem.It's a stupid mistake. In fact, the control I put on the dialog is a vertical scroll bar, not the spin...
atlmisc.h line: 3122 if(lstrlen(m_arrDocs[nIndex].szDocName) <= cchLength) I think it should be: if(lstrlen(m_arrDocs[nIndex].szDocName) > cchLength) I also...
Hi Cata, Thanks for reporting these issues. The first one is already fixed, in atlmisc.h 1.27. The second one, I don't understand. Why do you think that...
I can't help noticing a lot of talk about WTL 8. At http://wtl.sourceforge.net/ and http://sourceforge.net/projects/wtl version 7.5 is mentioned. Did I miss...
Hi Pablo,
7.5 is the last tested version. There have been a few 8.0 releases which contain the latest changes/fixes to WTL, but are not considered thoroughly...
Hi Richard, I think that >= is correct check - it should return FALSE if the string is the same length as the buffer, because there is no room for the ...
In CZoomScrollImpl it seems like PrepareDC() should be a virtual function. I'm no wtl template genius and maybe I'm missing something very obvious here. I was...
I am using the code available in the article "Custom Tab Controls, Tabbed Frame and Tabbed MDI - The Code Project - WTL by Daniel Bowen" as a pattern to...
Hello everybody! I would like to use CDialogImpl - derived class in two situations. Once as child window of main frame and second as modal dialog. I created...
I've looked at the MTPad sample, but couldn't exactly understand how the printing works with WTL. Is there any tutorial or other source code with samples how...
Hi, I'd like to use full-color toolbar icons that are bigger than the default 16x16. I've downloaded some free icons from http://www.glyfx.com/free.html. I...
Roel Vanhout
rvanhout@...
Nov 14, 2006 11:35 am
14029
... One solution is to use a regular toolbar, and then replace the images at runtime. Basically, you create your toolbar as usual. Then, you do ...