Search:

Type: Posts; User: filler_bunny

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    2,082

    Hey, thanks - that is really quite useful ;)

    Hey, thanks - that is really quite useful ;)
  2. Replies
    2
    Views
    2,389

    Thanks, your absolutely right. Let me explain why...

    Thanks, your absolutely right. Let me explain why I was getting confused.

    I was writing an application that contained a class (lets call it CApp), that represents the main application and its main...
  3. Replies
    6
    Views
    2,082

    Drawing Bitmaps

    Hi - quick couple of questions regarding drawing bitmaps...

    1. MSDN says.. "After painting with a common DC, the ReleaseDC function must be called to release the DC. " - Does this mean it must...
  4. Replies
    2
    Views
    2,389

    Access violation on class members

    This is just some test code to demonstrate the problem so there are many missing tests etc.

    Could anyone explain to me why this code fails (there is an access violation when trying to store the...
  5. Replies
    12
    Views
    3,713

    Below is a quote from some dev's at the now...

    Below is a quote from some dev's at the now defunct Presto (taken from a post mortem at Gamasutra.com)



    Doesn't sound like there is too much of a difference between the API's if you can port an...
  6. Replies
    1
    Views
    1,652

    Well, you could just create a font that does that.

    Well, you could just create a font that does that.
  7. Replies
    2
    Views
    1,312

    Ah... Thanks for pointing that out, makes...

    Ah...

    Thanks for pointing that out, makes perfect sense.. now. :)
  8. Replies
    3
    Views
    2,301

    Excellent - thank you very much. :)

    Excellent - thank you very much. :)
  9. Replies
    2
    Views
    1,312

    Changing the Style of a child control

    Below is a quick bit of code which is purely to show were my problem is. Using this exact same peice of code, I am able to change the style of the window itself (i.e. remove WS_CAPTION etc) or even a...
  10. Replies
    3
    Views
    2,301

    Speaking of subclassing controls - i have...

    Speaking of subclassing controls - i have subclassed an edit control to make sure that the user only enters unsigned integers no greater or less than 255 or 0. But the code looks really ugly. Any...
  11. Replies
    3
    Views
    2,301

    Subclassing controls

    Hi all - I just wanted to ask a question regarding subclassing multiple controls in the one dialog.

    For instance If I have a dialog with three edit controls, all of which must only take integers...
  12. Replies
    9
    Views
    1,987

    It probably will. Thanks I will read.

    It probably will. Thanks I will read.
  13. Replies
    9
    Views
    1,987

    Thanks Codeplug, but I have read those and have...

    Thanks Codeplug, but I have read those and have tried to implement the approach that I feel most comfortable with and was completely snookered by the fact you can't cast a class method to a LONG or...
  14. Replies
    9
    Views
    1,987

    Okay - so it is best to use a global control...

    Okay - so it is best to use a global control procedure?
  15. Replies
    9
    Views
    1,987

    Nah, it gives you the same error only saying it...

    Nah, it gives you the same error only saying it can't convert to LONG_PTR.
  16. Replies
    9
    Views
    1,987

    Subclassing controls in a class

    I'm having a similar problem to the one that originally stumped me with regards to defining a non-static windows procedure method within a class. This time the problem relates to Subclassing.

    I am...
  17. I'm so embarrased. I must have read those links a...

    I'm so embarrased. I must have read those links a hundred times and not understood it.. It has now fallen into place.

    Thanks so much. I can go on living now! :)

    Thanks for the patience and...
  18. Yes true, but it doesn't make a difference in...

    Yes true, but it doesn't make a difference in this case since I have also tried setting the value of child and then using it immediately after while the variable is still in scope...

    I just can't...
  19. Thanks for the links.. look, i've been through...

    Thanks for the links.. look, i've been through this a hundred times and I just can't see what i am doing wrong.

    I create the window...


    hwnd = CreateWindowEx(0,
    ...
  20. So - just another question. All member...

    So - just another question.

    All member functions or objects within the class that are to be used within the static windows procedure would also have to be static?

    I mean the answer is obvious,...
  21. Sweet, thank you very much for your help /...

    Sweet, thank you very much for your help / patience. ;)
  22. Replies
    5
    Views
    1,463

    Can you post a short bit of code that...

    Can you post a short bit of code that demonstrates the problem?
  23. Replies
    5
    Views
    1,463

    The variable is declared outside of the case...

    The variable is declared outside of the case block and is declared as static?
  24. Not quite, it is another client area that sites...

    Not quite, it is another client area that sites on the surface. Think of how MS Paint splits the windows into different segments, or child windows. Each with its own message procedure. (See attached...
  25. Well, I was just trying to write a class that I...

    Well, I was just trying to write a class that I could use to create a child window of a main parent window.

    This child window has it's own windows procedure.

    During the initialisation of the...
Results 1 to 25 of 87
Page 1 of 4 1 2 3 4