Search:

Type: Posts; User: pronecracker

Page 1 of 7 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    16
    Views
    3,033

    Course not. Never think that the compiler is...

    Course not. Never think that the compiler is wrong. It's the programmer, always the programmer.
  2. Replies
    4
    Views
    3,057

    There's a Common Control for this called SysLink...

    There's a Common Control for this called SysLink control. It does what you want and more. Don't know if you want to use it. For more information see this page:...
  3. Replies
    3
    Views
    1,113

    EDIT: My apologies, that was the lamest answer...

    EDIT: My apologies, that was the lamest answer I've ever given one.:p
  4. I guess it's not your own code.

    I guess it's not your own code.
  5. Replies
    14
    Views
    3,636

    You DON'T want to create dialogs that way!

    You DON'T want to create dialogs that way!
  6. Replies
    10
    Views
    2,016

    You're absolutely right, calling...

    You're absolutely right, calling InitCommonControls just works:)
  7. Replies
    10
    Views
    2,016

    Maybe this whole thread is just confirming my...

    Maybe this whole thread is just confirming my stupidity, but now my conclusion is:

    To get the standard controls in your program to have the XP look, you need to link commctrl.lib, no matter that...
  8. Replies
    19
    Views
    3,547

    You can look for yourself, and see that in the...

    You can look for yourself, and see that in the winprog tutorial about buttons, never is mentioned how to create a button.
  9. Replies
    5
    Views
    1,029

    The () is the operator. If you overload it and...

    The () is the operator. If you overload it and use it on an object it looks like you're calling a function but in fact you're calling the operator ().
    It's just like [], but with braces instead of...
  10. Replies
    8
    Views
    2,700

    So you should be able to create one with C++,...

    So you should be able to create one with C++, because it should be possible to create a control in C/C++ for use in VB, shouldn't it?
  11. Replies
    19
    Views
    3,547

    This creates a floating window with a button in...

    This creates a floating window with a button in it, not a radio button.
  12. Replies
    4
    Views
    1,333

    Ehm, why without quotes? "static" does work?

    Ehm, why without quotes? "static" does work?
  13. Replies
    10
    Views
    2,016

    sorry for the *long* delay XD

    I'm not using any common controls. Is linking comctl32.lib really required to make normal buttons look XP-like??

    I found out that my IDE is not the culprit. When using Dev-C++ to create a manifest...
  14. Thread: Menus

    by pronecracker
    Replies
    2
    Views
    897

    Thanks:)

    Thanks:)
  15. Thread: Menus

    by pronecracker
    Replies
    2
    Views
    897

    Menus

    Petzold describes how to add a bitmap as a menu item to a menu.
    But how can I create a menu item with a bitmap and a string in it? Like you see in msword for example.
  16. Replies
    15
    Views
    3,523

    @DavidP, "Manager" classes are considered bad....

    @DavidP,

    "Manager" classes are considered bad. The methods and data of your manager classes should be static members of the class that they are "managing".
  17. Replies
    5
    Views
    1,196

    You don't have to, it happens automatically when...

    You don't have to, it happens automatically when the destructor is called.
  18. I know, please don't take my signature too...

    I know, please don't take my signature too literally:p I sometimes have thoughts like that, because C seems so simple and I sometimes get confused because of all the functionality of C++.

    But, why...
  19. Because they are related, they are different...

    Because they are related, they are different kinds of shapes in some sort of drawing program. And they are possibly stored in order from back to front (Z).
  20. Maybe, but then all the elements are as big as...

    Maybe, but then all the elements are as big as the biggest element type, and I don't like that:p although it might not make that much a difference.
  21. Thanks :p didn't even have to debug it, worked...

    Thanks :p didn't even have to debug it, worked immediately:p


    nonsense


    It is shown, it is right there in front of you.


    I think I was most looking for a better way to store multiple...
  22. Then why does it work? void...

    Then why does it work?



    void DeleteNode(struct Node *pNode)
    {
    if(pNode->pPrev) pNode->pPrev->pNext = pNode->pNext;
    if(pNode->pNext) pNode->pNext->pPrev = pNode->pPrev;
    ...
  23. DeleteNode should do this, if I understand right?

    DeleteNode should do this, if I understand right?
  24. Replies
    13
    Views
    1,037

    Compare this: if(player==1) { ...

    Compare this:


    if(player==1)
    {
    cout << "Player 1" << endl;
    }else{
    cout << "Player 2" << endl;
    }
  25. What I use does work certainly, but I was not...

    What I use does work certainly, but I was not sure if all of the memory was freed correctly. As the free() function takes a void* parameter, my guess is that the pointer type does not really matter ?
Results 1 to 25 of 163
Page 1 of 7 1 2 3 4