I'm using AJAX for the first time and while writing some code I noticed that IE appeared to be miss-behaving. Attached below is the test case showing the issue. This appears to fail with IE 6 and IE 7. Works fine with firefox and chrome.
In the code I have a number of alerts showing the...
...'DWORD (LPVOID)' to 'LPTHREAD_START_ROUTINE'
this is the line which is calling causing the issue (i contains a reference to a function)
myThread* serverThread = new myThread(serverHandleThread,(void*)serverArgument);
This is the function prototype:
DWORD WINAPI serverHandleThread(LPVOID...
Hi,
I would be more than estatic if somone would provide me with a snippet of code to scroll a list box up as strings are being added, so that the last item added is always visable.
I've spent quite a bit of time messing with this and I can' quite get it right.
All help appreciated,
Thanks
phil
Below is the code I am using to create the linked list. There would be, when complete, about 330,000 cells in the list. BatchItem is a struct with ints and CStrings. I am assuming the compiler knows what size the struct is...
pNxtBI = new BatchItem;
if (pNxtBI == NULL) {...
OK.
Yes I am building a linked list.
Yes, I do use "free" and walk down the list freeing each cell in the list.
This worked fine with smaller files, with a large file it appears to hang. I understand the performance issues, however, in this case, it hangs during the creation of the linked...
I am reading records from a very large file. Approx 15 MB.
I am using "new" to allocate memory for the structure each time I read a record. I test for null.
This works for a smaller file, in the 1MB range. But when I tried with a larger file, it appeared to hang (loop), or something.
Am I...
Could you or someone please be more specific regarding "mkdir". I can't find any reference for it in VC++6.0 or any class that references it.
ordeks
phil
Hi Guys,
When in an edit box, if return is pressed, my dialog exits. This appears to be because a default button is set to IDOK or IDCANCEL etc. By changing the default button to something else you can change the behavior to NOT exit the dialog (obviously :-)), however the cursor reamins in...
Thanks PurfNurt,
it does make sense.
If I can't find out how to acces the list, then I can pass over my own list of controls which belong to a specific group, but that, I think, would be a little clumsey. That might be what I have to do... :-(
Anyother ideas?
Thanks Zyrenthian,
I appreciate that response. Actually, after much screwing around with the grouping mechanism, I finally found a little note (a one liner) burried deep somewhere in the SDK which expalined why I was having a difficult time.
You are quite right about the group flag at the...
H,
I finally got my "owner draw" control to work... somewhat. I need to do some grouping stuff, a bit like a radio button.
How do I get a hold of the (linked list?) list of controls in a dialog box, so I can scan backwards and forwards for the beginning and end of the group?
thanks again in...
Hi Guys,
I would like to build a very simple custom control derived from CButton. I want the control to be "ownerdraw" so it has to use autoload (I suppose). The control is very simple, press it, it changes bit images and stays down, press it again and it changes images again and comes back...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.