Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. BeerFizz

    issue with IE and Ajax

    Dan, Thank you so much for the very complete solution. Best Regards Phil
  2. BeerFizz

    issue with IE and Ajax

    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...
  3. BeerFizz

    Compilation error

    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...
  4. BeerFizz

    Scrolling a list box

    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
  5. BeerFizz

    Edit Box and return

    :-) Ion, would you like to tell us? :-)
  6. BeerFizz

    Using "new"

    Thanks PerFnurt and thanks to everyone else who responded. Phil
  7. BeerFizz

    Using "new"

    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) {...
  8. BeerFizz

    Using "new"

    pBI = pStartBI; while (pBI->NextBI != NULL) { p1BI = pBI; pBI = pBI->NextBI; delete p1BI; } delete pBI; right, I am actually using delete.
  9. BeerFizz

    Using "new"

    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...
  10. BeerFizz

    Using "new"

    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...
  11. BeerFizz

    Folders/Dirs

    Thanks Zyr, the "_" made all the difference :-) Phil
  12. BeerFizz

    Folders/Dirs

    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
  13. BeerFizz

    Folders/Dirs

    Hi all, Several Questions: What do I call to: 1. Create a directory 2. Browse a directory 3. Move a file 4. Copy a file Thanks for the help Phil
  14. BeerFizz

    Edit Box and return

    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...
  15. BeerFizz

    list of controls

    Thanks Zyre, that might work. Phil
  16. BeerFizz

    list of controls

    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?
  17. BeerFizz

    list of controls

    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...
  18. BeerFizz

    list of controls

    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...
  19. BeerFizz

    Custom Control

    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...
  20. BeerFizz

    UpdateData(FALSE)

    Than you again :-)

Part and Inventory Search

Back
Top