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...
Hi,
I am trying to incorporate several classes I got off of Code-project (which I think were originally written for Visual C++6.0) into a dialog application under Microsoft Visual C++ .NET 2003.
I am having an issue with a particular call and after spending several hour at this, I am still...
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
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...
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...
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...
Hi,
When does updatedata actually do the update to a dialog.
For example, if I am sitting in a loop incrementing a counter every second and I want to display the counter to an edit field, it does not appear to work as I would expect.
It appears to wait until the loop is complete and then...
Hi,
How can I change the properties of any text in a window. eg, change the text to a different font, change the point size, change the color etc.
Thanks
for your help
Phil
Hi,
I want to add a new class to my exisitng project. However, the new class already exists in another project and I want to bring over the cpp and h files and incorporate them into the existing project as a class.
How is this done.
Thanks for your help
Phil
Hi,
Sorry for the length post, but I thought I should include as much info as possible.
I am just starting to use MS Visual C++ 6.0 and OOP and I’m having a problem passing/getting the handle to one class from another. I have written a simple Dialog Class test program to show my issue...
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.