Search:

Type: Posts; User: Mithoric

Page 1 of 12 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    1,270

    (Not Responding)

    Have you noticed that when windows declares a program as not responding you can then use the control box and sysmenu stuff? Does windows subclass your window class in this instance?
  2. Replies
    10
    Views
    2,427

    I keep track of key presses using an bool array,...

    I keep track of key presses using an bool array, just set the wParam index in the array to true on key down and false on key up..
  3. Replies
    9
    Views
    1,382

    I wasn't quite sure about the free( tmpPtr ) I...

    I wasn't quite sure about the free( tmpPtr ) I thought maybe you had just left it out, but I can see how it is a mistake.

    I register the class with extra bytes and only the pointer to the tree...
  4. Replies
    9
    Views
    1,382

    Seems I've spoken a bit to soon (who didn't see...

    Seems I've spoken a bit to soon (who didn't see that coming?) ... It seems that all the child members of the tree are being changed. I only have one realloc and 2 malloc things though ... Here is all...
  5. Replies
    9
    Views
    1,382

    Yay it's working, thanks guys!

    Yay it's working, thanks guys!
  6. Replies
    9
    Views
    1,382

    :| My god, if 1 is the case then I have loads of...

    :| My god, if 1 is the case then I have loads of code to go and fix... :(

    >> Shouldn't it still be 1? <<
    Yeah I meant to say 1, good catch ;) ..
  7. Replies
    9
    Views
    1,382

    tree = (TREESTRUCT*)malloc( sizeof( TREESTRUCT )...

    tree = (TREESTRUCT*)malloc( sizeof( TREESTRUCT ) );
  8. Replies
    9
    Views
    1,382

    Strange variable problem

    I have a variable which keeps changing for no reason.
    I watched the variable with my debugger and in this code here -



    tree->nNodes++;
    tree->nodes = (TREENODESTRUCT*)realloc(...
  9. Replies
    0
    Views
    937

    Help with recursion

    Never mind I've fixed my problem I think.
  10. Replies
    3
    Views
    1,353

    Give the button a BS_OWNERDRAW style. Now just...

    Give the button a BS_OWNERDRAW style.
    Now just handle the WS_DRAWITEM message in your window procedure.

    You may want to read up on GDI.
  11. Replies
    3
    Views
    1,353

    Well, your best bet is to owner draw the button.

    Well, your best bet is to owner draw the button.
  12. Replies
    14
    Views
    29,552

    Easiest way is to do it in the registering of the...

    Easiest way is to do it in the registering of the window class

    wncl.hbrBackground = CreatePatternBrush( LoadBitmap( hInstance, MAKEINTRESOURCE( your_bitmap ) ) );
  13. Thread: Weird error

    by Mithoric
    Replies
    8
    Views
    1,470

    I'm using Dev-C++ and the integrated debugger is...

    I'm using Dev-C++ and the integrated debugger is buggy for lack of a better word.
  14. Thread: Weird error

    by Mithoric
    Replies
    8
    Views
    1,470

    Forgive my ignorance, but what is a map file?

    Forgive my ignorance, but what is a map file?
  15. Replies
    4
    Views
    1,361

    My god that looks complicated! I think I'll just...

    My god that looks complicated! I think I'll just quit this project while I haven't wasted to much time ... I would have thought there would be a function already for it, that's pretty strange.
  16. Thread: Weird error

    by Mithoric
    Replies
    8
    Views
    1,470

    oh :| not good... alrighty, I have a few loops so...

    oh :| not good... alrighty, I have a few loops so I'll have to try and narrow it down..
    Thanks.
  17. Thread: Weird error

    by Mithoric
    Replies
    8
    Views
    1,470

    Weird error

    I'm getting this error every now and again in my application.. It only comes up when I start the program and it doesn't always come up..

    I use a random number to determine the hand you are dealt...
  18. Replies
    4
    Views
    1,361

    Rotating part of a dc

    I'm making a card game using cards.dll ... Now all is going well so far, drawing of the cards is pretty simple and I've go most of the logic for the game coded. But I can only draw cards in one...
  19. Replies
    10
    Views
    4,043

    Don't you need to have a parent for WS_POPUP?

    Don't you need to have a parent for WS_POPUP?
  20. Replies
    10
    Views
    4,043

    Is OpenGL a registered class?

    Is OpenGL a registered class?
  21. Replies
    3
    Views
    2,507

    Or if you are like me and like making your own...

    Or if you are like me and like making your own from scratch it'd take you less than an hour for each of those. The color one would be especially easy.
  22. Thread: Hex editor

    by Mithoric
    Replies
    5
    Views
    1,145

    Ok, I have it but I'm clueless ... How can I...

    Ok, I have it but I'm clueless ... How can I narrow down the offset?
  23. Thread: Hex editor

    by Mithoric
    Replies
    5
    Views
    1,145

    Cheers, downloading away. :)

    Cheers, downloading away. :)
  24. Replies
    4
    Views
    2,853

    There is a tutorial on casting on...

    There is a tutorial on casting on cprogramming.com .. If I remember correctly.
  25. Thread: Hex editor

    by Mithoric
    Replies
    5
    Views
    1,145

    Hex editor

    Does anyone know of a hex editor which I can use to narrow down the location of a variable or something? Like I know the value at instance 1, and then in instance 2 it will change in the file (a...
Results 1 to 25 of 299
Page 1 of 12 1 2 3 4