i used it with vs 6.0 it works but has some problems the code wizard crashes when i added a notify message it was added successfully.but when i deleted it was...
I am thinking of a property grid type of control, either as a tree netscape style or as a .NET property editor. There are plenty of stuff for MFC (eg...
... In your CMainFrame::OnCreate there should be something like: CreateMDIClient(); m_CmdBar.SetMDIClient(m_hWndMDIClient); At this point you can subclass the...
Hi, I have MDI application and I want to draw some image on main MDI window (MainFrm), like company logo and some text. Responding on WM_PAINT message didnt...
Yes I did, no problem :), cheers, AR ... From: jon_feider To: wtl@yahoogroups.com Sent: Thursday, November 19, 2009 11:26 AM Subject: [wtl] WTL with VS2010...
Has anyone else tried WTL with Visual Studio 2010 Beta2 and the Windows 7 SDK? I haven't yet, but I'm thinking about it and hoping someone who already has can...
... Not sure, but I don't think there's any reason to use WTL::CString unless you're targeting ATL version 3. Just use the ATL::CString in atlstr.h. To get rid...
... If the edit control is in a dialog then you will have trouble with VK_TAB and VK_RETURN, as the dialog manager intercepts those keystrokes. In that case...
Awesome! Jim, I owe you several beers. I do not know where you live, but if you happen to be in Arizona, I would be happy to bring it :) The code I'm...
... Just handle WM_PASTE. You can examine the contents of the clipboard, and if you like what you see then pass the message on to the edit control. - Jim...
CHexEdit is a good idea, I'll try it shortly. However, how would you disable pasting arbitrary text into the edit box? The property page is declared as: [ ...
... As already mentioned, there is the ES_NUMBER style, though it doesn't support signed numbers or hexadecimal. ... You don't need a message filter - just...
... Constructor seems like a good place. ... I don't know what an "ATL Property Page" is. CMessageFilter is only useful in a WTL application, where the message...
ES_NUMBER style does not work? -km ... From: izm_ka To: wtl@yahoogroups.com Sent: Wednesday, November 18, 2009 6:53 AM Subject: [wtl] PreTranslateMessage is...
Nope - I do not really know where to register the message loop. My inplace edit box is shown in an ATL Property Page which can be invoked from any app, e.g....
... Did you actually register your message filter? Something like CMessageLoop* pLoop = _Module.GetMessageLoop(); pLoop->AddMessageFilter(this); -- With best...
Maybe this question has been answered somewhere on forums, but I could not find. Basically, I want to filter chars in the in-place edit box to allow entering...
Hello All This is a weird scenario which I cannot understand and I'm looking for a way to debug this and figure it out. The app is an IE plugin, which is...
... Don't call the Win32 API function DefWindowProc directly. If you set bHandled to FALSE, the message will automatically be passed on to the original window...
I'm converting an MFC application into WTL 8.1 and stuck with issues. The in-place control (see below) is working only once. If it looses focus and gets the...