Search:

Type: Posts; User: Rare177

Page 1 of 9 1 2 3 4

Search: Search took 0.01 seconds; generated 8 minute(s) ago.

  1. Replies
    10
    Views
    29,645

    It's just not good practice to make objects...

    It's just not good practice to make objects static, but it's about all you can do in this case.
  2. Replies
    10
    Views
    29,645

    sounds like you're referring to the wrong...

    sounds like you're referring to the wrong instance of form1, if you're using vc# 2005-2008 you will see the program starts the form like this..



    static void Main()
    {
    ...
  3. Replies
    10
    Views
    29,645

    hmmm maybe you should look over your AddToText...

    hmmm maybe you should look over your AddToText function again, i dont see where you're using that text paramater.
  4. Replies
    2
    Views
    1,629

    nah i used the blue as an example, i want to get...

    nah i used the blue as an example, i want to get rid of the selection look for any theme
  5. Replies
    2
    Views
    1,629

    button question

    im trying to make a button look like a non focused button all the time, basicly what im doing is making the button stay the same the whole time, the problem is when the button is default it has the...
  6. Replies
    8
    Views
    2,464

    use form2 myForm = new form2();

    use
    form2 myForm = new form2();
  7. Replies
    8
    Views
    2,464

    form2 is a class, not an object, you cannot...

    form2 is a class, not an object, you cannot access non static members without an object, Password is not static, so what you need to do is access Password via your form2 object, which in the case of...
  8. Replies
    23
    Views
    3,767

    Poll: I think alot of these reply's have been farely...

    I think alot of these reply's have been farely stupid, most are based of hobby programmer's like "I find c/win32 api more fun", maybe so for a hobby programmer .net may not be the best go, but if you...
  9. Thread: MDI Problem

    by Rare177
    Replies
    3
    Views
    1,395

    default breaks to return DefFrameProc, those 3...

    default breaks to return DefFrameProc,
    those 3 buttons process the WM_SIZE message also
  10. Thread: MDI Problem

    by Rare177
    Replies
    3
    Views
    1,395

    MDI Problem

    I have a program which using MDI, i need the mdi client area to be resizable (not to the width and height of the parent window) so to do this i sized it in the parent window procedure and returned 0...
  11. Replies
    1
    Views
    1,349

    worked it out, for any one who may ever have this...

    worked it out, for any one who may ever have this problem, size the window on the parent window procedure, and dont let it fall through to DefFrameProc()
  12. Replies
    1
    Views
    1,349

    MDI client area auto sizing.

    Hi, i was wondering if there's a way to stop the MDI client area from auto resizing, thanks.
  13. Replies
    7
    Views
    1,535

    try srand(GetTickCount()); and include...

    try


    srand(GetTickCount());

    and include windows.h

    thats only on win32 machines
  14. Replies
    17
    Views
    5,837

    Poll: Vc++ 6.0

    Vc++ 6.0
  15. Thread: Structs

    by Rare177
    Replies
    7
    Views
    1,227

    sorry my bad, your right, im just use to using...

    sorry my bad, your right, im just use to using windows.h alot, instead of using a BOOL you could just use an integer


    int used;

    and use 1 and 0 for true and false, that will also work
  16. Replies
    2
    Views
    993

    WM_CLOSE...

    WM_CLOSE
    this may be what you are after
  17. Replies
    2
    Views
    7,737

    the second param is a pointer to a structure,...

    the second param is a pointer to a structure, take a look at this

    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/base/win32_file_attribute_data_str.asp
  18. Thread: Structs

    by Rare177
    Replies
    7
    Views
    1,227

    one thing you could do if you dont want to use a...

    one thing you could do if you dont want to use a linked list is have a bool checking if it is used or not, something along these lines



    struct player {
    char name[80];
    char *hand[10];
    int...
  19. Replies
    3
    Views
    1,580

    yes im checking for \0 for example ...

    yes im checking for \0 for example


    if((buffer[i] ^ key) == '\0')
    //do nothing


    i have also places a messagebox for the strlen of buffer and its showing the correct length, thanks for the...
  20. Replies
    3
    Views
    1,580

    very annoying and strange problem.

    details in the top commenting of the code..



    /* the problem is that after i call this function it crashes,
    before i used the EmcryptText function it worked fine but
    ever since i added that...
  21. Thread: feof issues

    by Rare177
    Replies
    13
    Views
    2,479

    well the thing is..its allready done and i need...

    well the thing is..its allready done and i need to find a way to convince him mine is fine and his is not as hot as he thinks,
    he thinks u need to read from the file first to set the posistion i...
  22. Thread: feof issues

    by Rare177
    Replies
    13
    Views
    2,479

    it returned -1

    it returned -1
  23. Thread: feof issues

    by Rare177
    Replies
    13
    Views
    2,479

    i wouldnt have a clue why, i have tried to crash...

    i wouldnt have a clue why,
    i have tried to crash both and failed to do so..
    i cant really figure out why i lost 10 marks when mine seems more safe and does the same thing?
  24. Thread: feof issues

    by Rare177
    Replies
    13
    Views
    2,479

    oh..and i should have mentioned, we had to use...

    oh..and i should have mentioned, we had to use feof
  25. Thread: feof issues

    by Rare177
    Replies
    13
    Views
    2,479

    thanks, but wat really is the difference between...

    thanks, but wat really is the difference between mine and his..other than the fact his will read in null if the file is empty which can cause problems, and why did he take off 10 marks?
Results 1 to 25 of 214
Page 1 of 9 1 2 3 4