Hi, I think the problem is that _Module is supposed to be an instance of CAppModule declared in WTL headers, so one solution i can think of is that you derive...
Hi guys. Simple question, how do I set focus to an edit control in a dialog based app? In OnInitDialog I have the following LRESULT OnInitDialog(UINT /*uMsg*/,...
I'm not sure whether this works or not: You may try to return FALSE instead of return TRUE at the end of OnInitDialog(). Regards, Lirong ... From: "Senkwe...
... <http://rd.yahoo.com/M=229641.2166546.3626727.1829184/D=egroupweb/S=1705006764:HM/A=1142330/R=0/*http:/promo.yahoo.com/debtscape/> To unsubscribe from this...
By returning TRUE, you instruct Windows to set the focus to the first control itself, but FALSE says, that you have already focused a control. Regards Thomas ...
Read the Remarks section of MSDN help on WM_INITDIALOG http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceui40 /htm/cerefWM_INITDIALOG.asp ......
Hi I think I've discovered a flaw in the way WTL implements multitrheaded SDI. If one selects multithreaded SDI in the new WTL project wizard you get a stock...
Hi! I'm drawing user-draw combo box using COwnerDraw template. I subclass window in WM_INITDIALOG handler. It draws fine but since WM_MEASUREITEM messages for...
I've downloaded the latest WTL, started a MDI project, added no code.. compiling a SDI yielded this error: F:\GENERAL COMPUTING\test\test.cpp(52) : error ...
Ok, I new to WTL (looked at it about 2year ago), been programming windows since '93. I used raw 'C' to develop windows apps. until MFC came along. I feel it's...
See page 610 of Win32 Programming Rector/Newcomer ISBN 0-201-63492-9 From the discussion here I would guess that your combo box has the LBS_OWNERDRAWFIXED...
Um... I'm not sure but I'll take stab. Make sure you have the ATL include directory set in DevStudio before your WTL include directory? -cdr ... From:...
... That's version 3.1. WTL jumped to version 7.0 for Visual Studio .NET edition. However, I suspect a lot of folks are still using WTL 3.1 and Visual Studo 6....
3622
Hiu Sing Ngai
hiusing@...
Jul 7, 2002 3:43 pm
Hello, I've been trying to create a tracking tooltip on Win2k/me/98 but the tooltip never appear, however, it works fine on WinXP. I tried a lot of ...
... 7.0. No longer distributed with the PSDK. Now available at http://www.microsoft.com/downloads/release.asp?ReleaseID=37728 . ... I don't. You'll have to...
Hi, I'm fairly new to working with WTL (and to this group) - I've mostly worked with the C WinAPI, so kindly bear with me :) I have a class CDefault derived...
I have a class which is called TextureWindow that derives from CWindowImpl. Texture window takes one template parameter called ID which is the id of a bitmap...
Glen DECLARE_FRAME_WND_CLASS declares the NON-virtual member function: static CFrameWndClassInfo& GetWndClassInfo() (see atlframe.h) This is used in various...
I have a MemDC which I use to draw to. I would like to know how I get the windows controls (ie CListViewCtrl, etc) to draw to the Memory DC before I blit it to...
Hello Is it possible to have more than one control in a pane of a SplitWindow? For example, I would like to have a Listview with a series of buttons...
... In your class that subclasses/superclasses the common control, you could have something like this (watch for line wrapping): BEGIN_MSG_MAP(thisClass) ...
... Sure. You just have to position things yourself. One way to do it would be to have an "intermediate" window that is the "client" window of the view. This...
It looks like you want CTextureWindow to be an "Impl" style class. Add a template parameter to pass the most derived C++ type, and pass that to CWindowImpl....
Have CDefault take a template parameter of the most derived C++ type. There are some other template parameters that CMDIChildWindowImpl wants as well, so your...