Warning CString.Insert does not appear to work for release builds in my project. It actually trashes the string. I have tried inserting both characters and ...
189
Nenad Stefanovic
nenads@...
Aug 2, 2000 9:11 am
Hi John, Thanks for your bug report. The problem appears to be usage of the memcpy function in CString::Insert implementation. That function does not guarantee...
190
Chris Russell
cdr@...
Aug 8, 2000 7:27 am
I've got an SDI application whose MainFrame builds up two splitters, one horizontal, and one vertical. The vertical splitter is attached to the lower pane of...
191
Chris Russell
cdr@...
Aug 8, 2000 8:37 am
Suppose the following pseudo-coded mechanism: typedef struct tag_MyData { DWORD dwData; } MYDATA, * PMYDATA; MYDATA MyData; WorkerThreadRoutine(...) { while...
192
sylvainm@...
Aug 8, 2000 1:37 pm
Hi Nenad, Could think to something like a UPDATE_ELEMENT_RANGE. My problem, is that i have an application that load some external plugin. But the application...
193
sylvainm@...
Aug 8, 2000 1:48 pm
Hi, GetButtonInfo did not return good value according to the documentation. We must return FALSE if TB_GETBUTTONINFO return -1, and TRUE for other result. I...
194
Ted Szoczei
tszoczei@...
Aug 8, 2000 4:45 pm
You could put a timer in the UI and get the data from the worker on timer expiries... ... From: "Chris Russell" <cdr@...> To:...
195
Nenad Stefanovic
nenads@...
Aug 8, 2000 9:15 pm
Hi Chris, You are probably creating your dialog as a popup window, not as a child. Check if your dialog template uses child style. You probably don't want any ...
196
Nenad Stefanovic
nenads@...
Aug 8, 2000 9:18 pm
Hi Chris, Seems that the worker thread is the one that knows when data changes. Couldn't you just PostMessage to the UI thread to signal that? Then the UI ...
197
Nenad Stefanovic
nenads@...
Aug 8, 2000 9:28 pm
Hi Sylvain, This is a problem because Update UI was not designed for elements whose ID we don't know in advance. Having either 50 or 10 entries in the Update...
198
Nenad Stefanovic
nenads@...
Aug 8, 2000 9:30 pm
Hi Sylvain, Thanks for the report. You are correct, this message returns the index of the button. This will be corrected in the next version of WTL (by...
199
sylvainm@...
Aug 9, 2000 12:20 am
We use plug-ins to extension our applications. We have used COM to open our applications, and make a SDK available to our customer to create there own plug-in...
200
Nenad Stefanovic
nenads@...
Aug 9, 2000 8:50 am
Hi Sylvain, Based on your description, I am assuming the following: - Number of plug-ins can vary - Plug-ins have IDs in some range (assigned by the plug-in...
201
Jose Wilson
josew@...
Aug 9, 2000 3:30 pm
Hi, I have a listctrl derived class. Normally the header click notification comes to the parent. I would like to handle the header click in the listctrl...
202
Nenad Stefanovic
nenads@...
Aug 10, 2000 12:17 am
Hi Jose, Here is how would you use it: class CParentWnd : ... { ... BEGIN_MSG_MAP(CParentWnd) // other handlers here REFLECT_NOTIFICATIONS() END_MSG_MAP() ... ...
203
rstigall@...
Aug 10, 2000 4:31 pm
Here's a problem I've had for a long time and can't find a good solution to. Hopefully WTL will do it (I still don't know much about WTL yet). I want to write...
204
John Kienitz
johnk@...
Aug 10, 2000 6:30 pm
Using the July Platform SDK on VC6.0 SP3 I have created simple dialog based application with WTL. The parameters are: Dialog Based not a Modal Dialog Enable...
205
Nenad Stefanovic
nenads@...
Aug 11, 2000 8:47 am
Hi John, If I just generate the same type app using WTL App Wizard, it works fine, it can get all the way to the end of WinMain. What is the difference between...
206
Nenad Stefanovic
nenads@...
Aug 11, 2000 8:51 am
Hi rs, WTL doesn't really provide anything extra here. Some controls do support WM_PRINT message, I can't remember which ones. You can try it, by sending a ...
207
John Kienitz
johnk@...
Aug 11, 2000 4:26 pm
Thanks for checking. I can simulate the problem in a WTL sample generated app using a breakpoint at the location I indicated (the DestroyWindow in...
208
Nenad Stefanovic
nenads@...
Aug 12, 2000 8:56 am
Hi John, I don't understand from this if the problem happens in an empty app as well as the real one. If the empty one can execute code until the end of...
209
Sanchez Julio-EJS049
julio.sanchez@...
Aug 14, 2000 5:15 pm
Is there a WTL FAQ out yet? Julio...
210
Ray Tayek
rtayek@...
Aug 14, 2000 11:13 pm
... afaik, there is none. but there is some good stuff at clipcode.com hth ... ray http://home.earthlink.net/~rtayek/ vice chair orange county java users...
211
Lipp Christian
Christian.Lipp@...
Aug 16, 2000 7:37 am
I am displaying two views ... So I did override UpdateLayout where I am positioning the two views. During execution I am running in a redraw problem: - when I...
212
Lipp Christian
Christian.Lipp@...
Aug 16, 2000 7:37 am
When generating an wtl-application with the wizard and not choosing "statusbar", the string ressources for the menu comments are still generated. - Is there a...
213
Lipp Christian
Christian.Lipp@...
Aug 16, 2000 7:37 am
This is properly a beginner question, but I was unable to figure it out: I am creating a splitter window with a listview in one pane and an edit control in the...
214
Nenad Stefanovic
nenads@...
Aug 16, 2000 8:32 am
Hi CL, Are your views hosted in a CFrameWindowImpl derived class? If so, CFrameWindowImpl has a handler for RBN_AUTOSIZE notification, which rebars send when...
215
Nenad Stefanovic
nenads@...
Aug 16, 2000 8:34 am
Hi Christian, Create your list view and edit controls using the *extended* style WS_EX_CLIENTEDGE. Thanks, Nenad ... From: Lipp Christian...
216
Nenad Stefanovic
nenads@...
Aug 16, 2000 8:35 am
Hi Christian, They are not useful in that situation. If you are sure that you will not need them, you can delete them. It will make your executable smaller. ...
217
Chris Russell
cdr@...
Aug 16, 2000 9:59 pm
What's the best way to fix the width of a CSplitterWindow? I've got a standard horizontal splitter with a dialog in the left pane that I would like to keep a...