There is a bug in CBitmapButtonImpl file AtlCtrlx.h, method SetToolTipText line 158-181 bool SetToolTipText(LPCTSTR lpstrText) { if(m_lpstrToolTipText != NULL)...
1491
tlandry@...
Aug 4, 2001 4:52 pm
I cannot get a CString to copy to global memory without runtime access errors. Here's what I am doing: CString initialString("Hello World"); HGLOBAL hGlobal =...
1492
Hugh Brown
hughdbrown@...
Aug 4, 2001 6:55 pm
Hmmm, where to start... CString is not laid out in memory with intrinsic types. It has either a pointer to allocated memory or the end of the structure is...
1493
Leon Finker
lf21@...
Aug 5, 2001 2:11 am
Hi, In order for CString's operator= to work it must operate on valid CString object's data. It doesn't happen in your case because you bypassed the C++...
1494
Brandon Corfman
bcorfman@...
Aug 6, 2001 5:03 pm
Hi all, Has anyone extended CDialogResize to handle child controls that are created dynamically? I see that internally it uses a CSimpleArray to keep track of...
1495
jose_wilson_m@...
Aug 6, 2001 10:01 pm
Hi all, Is there any sample source code posted somewhere for using CDialogResize. Thanks, Jose Wilson. M ... to ... be...
Hello everyone, I've been working with Bjarke Viksoe's excellent WTL examples (http://home.worldonline.dk/~viksoe/index.htm) and have some questions about ...
1498
Brandon Corfman
bcorfman@...
Aug 7, 2001 12:12 pm
Also, the PhoneList program I posted in the Files section of the group's web site shows how to use CDialogResize. Brandon ... are ... could ... I...
1499
Christopher Russell
cdr@...
Aug 7, 2001 12:29 pm
Thanks for the reply! What I came up with finally was slightly different and it seems to work although I haven't yet done *anything* with printing and my...
1500
Richard Crossley
rcrossley@...
Aug 7, 2001 2:16 pm
This all sounds familiar, searching through some of my old WTL projects I found an almost identical class I wrote (or plagarized from somewhere) some months...
1501
Ramon Smits
exyll@...
Aug 7, 2001 10:45 pm
Hi all, I am trying to compile an existing WTL project with VS.NET b2. It compiles without errors with VS6 but get the following errors with VS.NET b2 ...
1502
Nenad Stefanovic
nenads@...
Aug 8, 2001 10:34 am
Hi Ramon, As you discovered, you do have to use _ATL_TMP_IMPL2 with VC7. Errors that you got while using it are because of unfortunate changes in VC7 beta2 -...
1503
Ramon Smits
exyll@...
Aug 8, 2001 2:06 pm
... Great!! I will apply these fixes this evening. You said that a new WTL version would be available around august. How much is changed compared to 3.1? Will...
1504
Christopher Russell
cdr@...
Aug 10, 2001 1:17 am
A question for the C++ template gurus: Given: -- example.h -- template class <class T, class TBase=CWindow, class TWinTraits = CControlWinTraits> class...
1505
Kevin Campanella
kcampanella@...
Aug 10, 2001 3:49 am
Hey Chris, how's it going! To answer your question, the compiler needs to generate new code each time you instantiate a new version of your class. In order to...
1506
Chris Russell
cdr@...
Aug 10, 2001 4:09 am
Thanks Kevin! Good to hear from you. The extra header idea is clever and it accomplishes all that I care to accomplish with reformatting things. I'll write you...
1507
hasse.ellsater@...
Aug 10, 2001 2:36 pm
Hi All! I am trying to set flat scrollbars on a tree control, (CTreeViewCtrlEx), I have tried to use the standard way, InitializeFlatSB(m_Tree.m_hWnd); and to...
1508
Jose Wilson
jose_wilson_m@...
Aug 10, 2001 10:53 pm
Hi, On getting the message RBN_CHEVRONPUSHED how do I know what all buttons in the toolbar are hidden? Is there a function to find the buttons that are hidden?...
1509
hirnlos2@...
Aug 13, 2001 10:32 am
Hello I am currently developing a MDI app with a kind of explorer style UI. I tried to use a WTL-Splitter where the left Pane is a TreeViewCtrl and the right...
1510
billa@...
Aug 13, 2001 1:38 pm
... [snip] ... CFrameWindowImpl<>::CreateSimpleToolbarCtrl does this. [snip bug about hardcoded "&Window"]...
1511
Vladimir Romanov
onelist@...
Aug 14, 2001 8:26 am
This is small Toolbar modification //Copyright by ReGet Software #define RT_TOOLBAR MAKEINTRESOURCE(241) //TOOLBAR resource format struct CToolBarData { WORD...
1512
biondello@...
Aug 14, 2001 2:53 pm
Hello, the overridable functions in CCustomDraw for the different draw stages are defined as nonvirtual. Could someone explain me why? I presume this has got...
1513
biondello@...
Aug 14, 2001 2:53 pm
hello, could someone show me how to do client drag with a dialog,i.e. moving a dialog window that has no border/system menu. thanks...
1514
JUDD John
john.judd@...
Aug 14, 2001 2:53 pm
Hi all, I've had a bit of a look at the WTL section at CodeProject and find myself somewhat intrigued. So, I've downloaded it and have begun fooling around ...
1515
Andy
xyzzy@...
Aug 14, 2001 2:53 pm
Hello wtl, Using WTL I want to create an MDI type application with a treeview on the left, similar to Microsofts Visual Studio and I'm struggling with the...
1516
casellas@...
Aug 14, 2001 2:53 pm
... Hi I have been using the BCC 5.5 free compiler with WTL, with more or less success. I am not using VCL. I try to stick to Win32 API and WTL. The main...
1517
John Judd
jejudd@...
Aug 14, 2001 2:53 pm
I've just subscribed to this list. Just wanted to say hello to everyone. regards John...
1518
casellas@...
Aug 14, 2001 2:53 pm
... Hello, Could you (or anybody in this list) please post a brief description of main changes, new and improved features and if there are backwards ...
1519
biondello@...
Aug 14, 2001 2:53 pm
Hello, I want to use CListViewCtrl::GetItemText(int, int, CString&) but if i try to call it this function is not declared. A look in AtlCtrls.h shows that this...