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...
3605
Senkwe Chanda
senkwec
Jul 3, 2002 10:11 am
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*/,...
3606
Li Lirong
li_lirong
Jul 3, 2002 10:19 am
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...
3607
Senkwe Chanda
senkwec
Jul 3, 2002 10:22 am
Hmmm, yep that did the trick...would you mind explaining to me why that works? Thanks Senkwe ... From: Li Lirong [mailto:lilirong@...] Sent:...
3608
Freudenberg, Thomas
thoemmide
Jul 3, 2002 10:26 am
... <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...
3609
Freudenberg, Thomas
thoemmide
Jul 3, 2002 10:26 am
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 ...
3610
Senkwe Chanda
senkwec
Jul 3, 2002 10:27 am
Thanks Thomas Regards Senkwe ... From: Freudenberg, Thomas [mailto:thomas.freudenberg@...] Sent: Wednesday, July 03, 2002 12:26 PM To:...
3611
Mark Kramer
markkra
Jul 3, 2002 1:40 pm
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 ......
3612
umeca74
Jul 4, 2002 11:21 am
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...
3613
vesko_stanic
Jul 6, 2002 4:11 pm
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...
3614
elow_77
Jul 6, 2002 4:11 pm
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 ...
3615
norm_almond
Jul 6, 2002 4:11 pm
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...
3616
Darren Schroeder
fdncred
Jul 6, 2002 4:21 pm
newbie... right. :) 1. 7.0 2. Yes. No. 3. Duh - I mean, Yes, 7.0. 4. Yup. Many good links on http://groups.yahoo.com/group/wtl/links Newbie... rotfl -...
3617
Chris Russell
cdr774
Jul 6, 2002 4:26 pm
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...
3618
Chris Russell
cdr774
Jul 6, 2002 4:29 pm
Norm Get WTL 7.0 here: http://msdn.microsoft.com/downloads/default.asp?URL=/code/sample.asp?url=/ms dn-files/027/001/586/msdncompositedoc.xml ... From: "Darren...
3619
Chris Russell
cdr774
Jul 6, 2002 4:31 pm
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:...
3620
Rick Parrish
hotsolder
Jul 7, 2002 3:07 am
I've seen this often - sometimes ...try ATL namespace "ATL::" or the null namespace "::" ... -rick...
3621
Rick Parrish
hotsolder
Jul 7, 2002 3:15 am
... 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 ...
3623
bcorfman
Jul 8, 2002 12:45 pm
See the TrackToolTip.zip file in the Files section of the group web site. Best regards, Brandon ... but the ... lot of ... text ... SWP_NOSIZE |...
3624
tfmanual
Jul 8, 2002 1:43 pm
... 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...
3625
glen_cpp
Jul 8, 2002 1:43 pm
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...
3626
clintsinger25
Jul 8, 2002 4:12 pm
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...
3627
umeca74
Jul 8, 2002 5:02 pm
Glen DECLARE_FRAME_WND_CLASS declares the NON-virtual member function: static CFrameWndClassInfo& GetWndClassInfo() (see atlframe.h) This is used in various...
3628
clintsinger25
Jul 8, 2002 5:52 pm
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...
3629
rz0
Jul 8, 2002 6:30 pm
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...
3630
dbowen@...
newob_leinad
Jul 8, 2002 11:47 pm
... In your class that subclasses/superclasses the common control, you could have something like this (watch for line wrapping): BEGIN_MSG_MAP(thisClass) ...
3631
dbowen@...
newob_leinad
Jul 8, 2002 11:54 pm
... 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...
3632
dbowen@...
newob_leinad
Jul 9, 2002 12:02 am
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....
3633
dbowen@...
newob_leinad
Jul 9, 2002 12:06 am
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...