Hi, all, Even all articles i get from google talk about custom draw control create new control base on a already existed control, like CListViewCtrl. I want to...
... Derive from CWindowImpl the same way you would derive from an existing control. Handle all the necessary messages, most importantly WM_PAINT. -- With best...
There is no book about this. The several examples shipped with WTL cannot cover the usage of all classes. The only site we can get the relative new material is...
Hi, I'm hosting a browser control with CAxWindow. It's a window with WS_OVERLAPPEDWINDOW style. I needed to trap the javascript window.resizeBy call and resize...
"He Shiming" <heshiming@...> wrote in message news:ghb950+dr6j@eGroups.com ... And that's your mistake. Your QueryInterface should support queries for ...
hello: i write a com dll in-proc server in raw C++ code. in the project, i write a idl file for type info , after compiling the file , i get a *.tlb...
... It's attached as a resource. In your .rc file, put something like 1 TYPELIB projectname.tlb ... Remove the line that looks like the above from the .rc...
Hi all, I am facing problem while adding ON_PAINT message handler in property page of property sheet wizard. Property page is not been painted properly. Bottom...
Hello, ... If painting a chart is the only reason you handle WM_PAINT then I'm pretty sure you're doing it not the best way. If I were you, I'd drop a...
Hello, I want to catch WM_KEYDOWN message in property page of property sheet wizard. I have declared MESSAGE_HANDLER(WM_KEYDOWN,OnKeyDown) in the same class to...
"amit_31_08" <amit_31_08@...> wrote in message news:ghtfpb+ek6m@eGroups.com ... Keyboard messages go to the window having focus. In your case, that's ...
Well i am trying to catch WM_KEYDOWN event which comes when left arrow key is pressed. I am calling SetFocus() function in OnInitDialog() routine. I want to...
"amit_31_08" <amit_31_08@...> wrote in message news:ghtnvc+pg71@eGroups.com ... I'm not sure I understand. A slider control already handles arrow keys ...
I said custom drawn slider control not a standard one. I have drawn slider in picture box control where it moves and select particular sample. Using mouse...
... Be aware that a standard slider control (referred to in MS documentation as Trackbar control) can be custom-drawn, by handling NM_CUSTOMDRAW notification....
why CSplitterImpl ? CSplitterImpl is a seperated class, from which CSplitterWindowImpl is derived. I guess CSplitterImpl is seperated into one class is to make...
FORWARD_NOTIFICATIONS is used widely in WTL, which seems to be the default behavior. But in MFC, REFLECT is the default behavior, which seems to be more ...
... Most classes in WTL (and the ATL library) are designed to use as little overhead as possible. Reflecting messages back to controls that do not process them...
Thanks for your reply. Basic question remains as it is i.e. how should i receive WM_KEYDOWN message in property page of property sheet wizard. Any sample which...
hello, i want to use the printer in WTL to print lines of datas from a listview. i don't know how to do that. is there any code examples out there about...
hi , when i custom draw listview's single cell, there's no "OnSubItemPostPaint" overd function, so i add the following to the WTL source code. and it works...
... no "OnSubItemPostPaint" overd function, so i add the following to the WTL source code. and it works well. ... LPNMCUSTOMDRAW /*lpNMCustomDraw*/) ... You...
Hi amit, The typical WTL way to get messages in a parent window that were sent to a child is to subclass the child window by creating a member variable for the...