Does this actually work? I am using this with some menu items in a WTL command bar and nothing happens - I have to use UISetCheck to get any visual clues....
... get ... using ... To get a menu item to display a radio check r/t a standard check, change its type to MFT_RADIOCHECK and use UISetCheck to display/hide ...
I've just tried to upgrade from WTL 7.0 to WTL 7.1. I'm working with an ATL project that uses some WTL in MSVC 6. The debug configuration compiles fine, as...
Hi I'm currently using the IWebBrowser2 interface and navigate method to embed a web browser in a WTL application of mine. All seems well until I exit, when I...
I cant say I know the exact cause of your problem, however this is the code I use without any leaks void CWndBrowser::Navigate(TCHAR *url) { CComVariant v; if...
Hello Roger, ... No I don't. I don't even have a command bar. What I maybe should have mentioned is that my view is a form view. More or less by random ...
... You're absolutely right! I knew I'd read it somewhere but didn't think to go back to the release notes. You're also right that the suggested solution...
Hi Roel, ... PreTranslateMessage ... have ... to 'true' in ... When you create a application with the WTL Wizard, a command bar is used instead of a standard...
... It's the menu in the top left corner in the title-bar / non-client area. Clicking on it gives the move, size, minimize, maximize, close menu options (plus...
... Well I'm a bit backwards wrt to wizards :) I rather write things manually the first few times I do things, it invariably gets me into this sort of obscure...
Hi, For GridLines u add the following lines of code in OnItemPostPaint() after DrawTreeItem() if(m_bGridLines) //whether u want gridlines or not. { RECT rcItem...
Hello all, What is the difference between ATL::CString and WTL::CString? Is one of them a 'temporary' or 'legacy' class? Does one of them have more features...
"Roel Vanhout" <roel@...> wrote in message news:406D7F84.60202@... ... ATL::CString has richer functionality. It's heavily policy-based, so you can...
8348
Stephen Spencer
stephen.spencer@...
Apr 2, 2004 3:19 pm
I assume you're talking version 7 of ATL and/or WTL. The simplest way to do a conversion is with the conversion macros. There are new/changed versions of these...
... Thanks for the great explanation! After fiddling around a bit I found out that I have to include <atlstr.h> before any other atl classes and then my...
I want to create a window and i don't want to see it on the taskbar that on the bottom of the screen, what should i do ? any suggestion? [Non-text portions of...
... taskbar that on the bottom of the screen, what should i do ? ... Per MSDN - The Shell creates a button on the taskbar whenever an application creates a...
Hello, I'm trying to set window rectangle for CRicheditCtrl descendant in my application, in MFC I use OnInitial update message handler, but there is no such...
... my ... there is ... too ... rect from ... be ... You might try handling WM_SIZE with some member flag telling you whether you are initializing. First pass...
... in ... is ... to ... Also, when you tried using a WM_CREATE handler, did you first pass the message to DefWindowProc before calling SetRect? If not, that ...
You are great, Thank you very very much. I added the following source code, It run good. Could you teach me how to make the cells of list to be enable to be ...
Long ago I saw an admonition in MSDN about always putting USES_CONVERSION as the very first statement in a function, and although it seems like a bit of...
Hi, I followed the tutorial and now I have dropdown arrows. But I can't press these arrow buttons. On WinXP they aren't flat. How can I correct that? Thx in...
... can't ... If you are referring to a dropdown button on a toolbar, the toolbar needs to have either the TBSTYLE_FLAT or TBSTYLE_LIST window style and the...