Thankyou Nenad. This is working good for WM_MOUSEMOVE and WM_?BUTTONDOWN, but for WM_MOUSEWHEEL I still have to catch it in the application window. Also I can...
Hi David, Mouse wheel messages go to the control that has the focus - maybe your static control doesn't have the focus? STN_CLICKED notification comes with...
Hi alls, I try to use WTL in a static lib. My project uses this lib and complies witout any errors, but my dialog from static lib can't be created. Any ideas?...
"vassilux" <v.gontcharov@...> wrote in message news:e0oth7+kbl8@eGroups.com ... A static lib cannot contain resources. In particular, it cannot contain ...
So close, the mouse wheel is working now. But I find COMMAND_CODE_HANDLER(STN_CLICKED, STNClicked) is only caught in the parent window (which I think makes...
What you can do is add a resource include that contains the template from ycur static lib. You'll have to distribute two files (the static lib and the resource...
Couldn't you use REFLECTED_COMMAND_ID_HANDLER in your parent window? http://msdn2.microsoft.com/en-us/library/2h9sw36c(VS.80).aspx If you do use this...
hi i want to define a user-defined ccombobox and receive vk_return key, like IE Address, but the it's didn't work. Thanks in advance! here is the source file ...
Hi, I wonder if there exist in WTL anything like GetActiveFrame() method which returns the child frame being focused of the MDI client area. If not, how to...
... You have two choices: 1. Send WM_MDIGETACTIVE message to the MDI client 2. Use MDIGetActive which will send this message for you: HWND MDIGetActive(BOOL*...
I have a toolbar control that has an image on one of its buttons. When I set the state of the button to be disabled, the text will gray out, but the icon still...
Hi @ all, and sorry for my bad english at the first ... I have a little question and hope someone can help me, or give me a tip to begin. I want to create a...
if you want an WTL project and then insert ATL objects, there are ways to pretend it is an ATL project. ( at least with atl 3 ) . - add a com object map -...
Hi @ all, i have a little question. I have create a project for a COM dll. Within this dll there is a simple control with a OnDraw member in it. I want now to...
"mrweblover2002" <mrweblover@...> wrote in message news:e1o4k7+qeb3@eGroups.com ... Force your control to be windowed, by setting m_bWindowOnly to true...
Hi Igor, thank you for your fast reply. I think you are right. The composite control looks fine, i now play with it. Thank you for this great tip ! best...
Hi @ all, at the first very thanks for the help here in this great mailing list and sorry for my bad english. I have created a ATL COM dll and within a...
Hello I have a WinCE application that uses a CListViewCtrl. Screen navigation is done through the four directional and enter keys. It is required that when the...
I'm working on an app that wants to provide some default processing of controls on a main non-dialog window. I discovered that if I wanted accelerator keys...
First of all, use CEditCommands (atlctrls.h) instead of IsDialogMessage (since you are using a frame window, rather than a dialog). Second, you forgot to call ...
Thanks. I'll take a look at CEditCommands. (In my sample below _BaseWIndow is a typedef for CFrameWindowImpl<CMainFrame> but I left out the return statement.)...
Hello, i all i wanted to do was to have a pushbutton with a green background colour, i thought it was easy ( silly eh ). WM_CTLCOLORBTN doesnt work with...
... work ... It's not much of turning something into green. It's all about how you are gonna draw your button. In the old days, a standard 3D style button...
Hi all, I'd like to have a dialog with a tab control (along with some other controls). Is there a way to attach a property sheet class to a tab control, add...
... other controls). ... add property ... attaching the ... doesn't work. ... Property sheets can be used as child windows in both sheet and wizard mode. You...