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 strongm 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: *

  • Users: nyjil
  • Order by date
  1. nyjil

    Sleep(), problems using it

    Thanks for the ideas. The SetTimer() idea seems to be a good one. Think I'll go from there. Thank you. Nyjil :)
  2. nyjil

    Sleep(), problems using it

    The idea of the Sleep() function is to cause the program to pause a moment, then resume the program. As I already know, the parameter of the Sleep function is the milliseconds that the program is suppose to pause for. What I'm having problems with is it's appropiate use. Let me give you an...
  3. nyjil

    Windows 98 and Windows XP, Incompatibilities?

    I have been working on a program for some time now. I decided to go purchase another computer because my old one was getting a little dated. When I reloaded VC++ 6.0 onto my new computer and then loaded my program onto it, it is now having some major problems. The program works out OK...
  4. nyjil

    Help Me Get Started

    Hello, I started out with self help books, and C++ was the first language I learned. Some people have told me that I should have learned a more basic language first, or to have started with C. I disagree. I have found C++ to be very helpful, and while complex, it is easy enough to grasp as...
  5. nyjil

    error in "CreateEx" VC++ 5.0

    Well, here's a semi answer to your question. Hope it helps some. The function CreateEx() doesn't take 3 parameters and yet you have it loaded with 3. Also, just like the debugger states, your program isn't recognizing CBRS_GRIPPER. Do you have all your #include files? What are you trying to...
  6. nyjil

    Download of Visual C++

    I would try the Microsoft Webpage, but honestly you may just have to buy yourself a version. I know that I just gave away my 4.0 version to a friend not so long ago, so if your looking for older versions you only have to find someone who has one. The newer ones, you will have to fork over some...
  7. nyjil

    Serializing an Array. More help please.

    Worked like a charm. Thank you very much for your time and help. Thierry, your code examples did the trick wonderfully. Couldn't have done it without your help, or at least I'd still be scratching my head and fumbling through yet more text books. IonelBurtan, thanks for the ideas. That...
  8. nyjil

    Serializing an Array. More help please.

    Thank you for your help in this topic, from an earlier question, but I'm still somewhat lost. I can serialize a single object now, with no problems (Thanks Thierry!). The problem is I want a whole array of objects to fit into a single file. I could serialize one object at a time into a single...
  9. nyjil

    Overloading Operator =

    Thank you, thank you, thank you. I knew I was making it just too complicated. It was indeed very simple, as you pointed out for me. Again, many thanks Nyjil :-D
  10. nyjil

    Overloading Operator =

    I'm just about ready to pull my hair out of my head. This should be a simple concept, but it is proving to confound me in every which manner. All I want to do is to assign the value of one object to the values of another object, i.e. CDog Fido; CDog Spot; Fido = Spot; This is simple enough...
  11. nyjil

    Serializing an Array. Possible?

    Thank you both for your advise. A simple 'for' statement should do the trick. Next question. How do you serialize an object?
  12. nyjil

    Serializing an Array. Possible?

    How do I serialize an array? I know it is possible to serialize int, CStrings, and other such variable forms. However, what if I have an hypothetical object, lets call it a CCat object. This object is made from 3 integer variables, and a CString variable. How do I serialize the whole object...
  13. nyjil

    Editable text area vs Static text area

    \r\n? No kiddin'. Jeez, I've been lookin' for that answer now for some time. Thanks StukA. I'm going to go try it right now. ;-) Nyjil
  14. nyjil

    OnKeyDown() Problems

    Hmmm, sounds like there might be a focus problem, but I'm not sure. If you would like your dialog box to capture the OnKeyDown() for you, then you actually need to use the PreTranslateMessage() instead of the OnKeyDown(). The PreTranslateMessage() is not the be-all-end-all of capturing when a...
  15. nyjil

    Color for Edit Box

    With the help of Zaki, I managed to get a long way into my problem, but I'm stumbling on something. What I want to do is to have an edit-box control display a number in a different color. The edit-box is a 'read only', and merely displays information to the user. I want that number to become...
  16. nyjil

    Text Color for Dialog Box

    Thanks a ton, Zaki. It works beautifully. s-) Nyjil
  17. nyjil

    Text Color for Dialog Box

    Wanting to be able to change the color of the text appearing within a edit box that is in a dialog box. I want to be able to change it both at run time and design time. The whole idea is that the edit box has a number in it, and when the number gets too low, I want to change the number red so...
  18. nyjil

    OnKeyDown()

    Wow, That worked slicker then I had ever hoped. Your sample code proved to be invaluable. Many thanks to you Thierry. I do believe I owe you one. s-) Nyjil
  19. nyjil

    Save changes before exiting like in word processer

    If it were me, don't think I'd use a BOOL variable in this situation. Would just use a MessageBox() with a YES|NO reply to it. I would put it in the exit function, in the menu. If the MessageBox() reply came back as a YES then I'd call the program to seralize there, if not, then exit. Hope this...
  20. nyjil

    list box question

    Right click on the list box in design mode. It will bring up a properties box. Under one of the tabs, forget at the moment, is a check box listed as "Sort". Check it. From that time out, all items in the list box will be sorted alphabetically. There you are. Nyjil

Part and Inventory Search

Back
Top