I just found out about those functions, and not sure about them. Does it mean I can create a normal C++ class, and then create a dispatch object for calling...
... No. With CreateStdDispatch you can take a COM object implementing an automation compatible interface, and create an IDispatch wrapper around it (e.g. so it...
i wanna create a imagelist which contains multi rows so i could modify easily later(evey icon consists of several states) here is what i wanna organize my...
Hi all, A very silly question from a newbie. I have a CTreeViewCtrl derived view class, how to be notified of item selection changes? I looked at codeproject...
Hi, #include <atlcrack.h> And don't forget to change the map of the parent class to send reflections. Best Regards, Serhiy Serbin ... From: wtl@yahoogroups.com...
Serhiy Serbin
srs@...
Sep 5, 2006 3:21 pm
13870
You need to #include <atlcrack.h>. You'll also need REFLECT_NOTIFICATIONS_EX in your dialog's message map. (If that's where it's placed.) Nick. ... ) and...
Hi all, I'm confused and liked to know your opinion. In short: I think there is a general CString design problem if a CString is passed by reference between...
Hi, I patched the atlmisc to support it. But I have done it long time ago when was no Visual Studio 7 with new ATL. So I suggest to look how CString now is...
Serhiy Serbin
srs@...
Sep 6, 2006 2:47 pm
13873
I have an ActiveX control within IE. The control downloads some files (using URLDownloadToFile). I want to be able to identify when the user closes the...
... Your control will be unseated - IOleObject::SetClientSite will be called with NULL pointer. ... You can sink onbeforeunload event from the hosting page:...
Thank you for your reply, Igor. I've already tried to subclass the top level window. I wasn't able to prevent it from closing. I'll try it again. Can I also...
My control is a composite control. I've declared "CContainedWindow m_Host" variable, initialized it using "m_Host(this,2)", and during my OnInitDialog, I call...
When a file association changes, the icon used to indicate that type of file will often change as well. However, the system image list does not get updated...
... Try also handling WM_SYSCOMMAND(SC_CLOSE) -- With best wishes, Igor Tandetnik With sufficient thrust, pigs fly just fine. However, this is not necessarily...
To prevent navigating elsewhere, you should be able to sink webbrowser events from IE and handle the BeforeNavigate2 event. See "Reusing the WebBrowser...
... You could probably sink BeforeNavigate2 event from the hosting browser, and cancel all navigation requests. -- With best wishes, Igor Tandetnik With...
I remember there was a function to automatically uninstall a CAB file from IE. It had the control's CLSID as a parameter, and it was able to uninstall the...
I have a class that derives from public CPropertyPageImpl<>. Here is my class definition: class CWizWelcome : public CPropertyPageImpl<CWizWelcome> { public: ...
Sorry. That code works a lot better when you add: CHAIN_MSG_MAP(CPropertyPageImpl<CWizWelcome>) To the message map. Anyway, anyone else that ran (runs) into ...
I recently had a complete computer meltdown so I am in the process of rebuilding. I have a project which fails with the following: CImage _imgVideoFile; ...
... of ... &encoderParameters); ... arguments ... SDK's? Or ... It sounds like you mixed the ATL::CImage class with the GDI+ Image class. From what I recall,...
I am trying to use WTL to host IE as an ActiveX control on Windows CE 4.2. The furthest I have gotten is to see that it wasn't working straight out of the box...
Jed, I haven't tried any of this on CE, but I've been doing a lot of work with IE loaded as an ActiveX control lately. Do you have code working that can load a...
Hi, This might be silly but how do I use property sheet/wizard as my program main window? I used the WTL wizard to generate code for a dialog based ...
... http://f1.grp.yahoofs.com/v1/UAwERXV4F8UoVxA2IU9d9sGvS5D6UqDlbxBWHlp0 R7XSocQ ... Thanks. Well, it does create and hide the mainframe. I could do that to...
Hi He Shiming, I uploaded a modal Property Sheet application in the files section: PSApp.zip. Folder is ‘PSApp/Desktop/PSModal’. The reason why you cannot...