Search:

Type: Posts; User: Greenhorn__

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Hi, this is a good read: Write Great Code,...

    Hi,

    this is a good read:
    Write Great Code, Volume 1: Understanding the Machine
    Write Great Code, Volume 2: Thinking Low-Level, Writing High-Level

    And also is Code Complete.

    Of course Agner...
  2. Replies
    18
    Views
    25,460

    It's the only screencast I know on that topic,...

    It's the only screencast I know on that topic, sorry.
    But, however, English - German, it's the same ... :D

    Why is my last post so badly formatted ?
    EDIT:
    Now the text appears normally, left...
  3. Replies
    18
    Views
    25,460

    Maybe this...

    Maybe this will help you further ...

    EDIT:
    And, please, don't make double posts ...


    Regards
    Greenhorn
  4. Replies
    9
    Views
    1,454

    Hi Sirs, I don't exactly know if the problem...

    Hi Sirs,

    I don't exactly know if the problem is solved, but in case it isn't take a look at this template, token from CodeBlocks ...


    #define WIN32_LEAN_AND_MEAN

    #include <windows.h>
    ...
  5. Replies
    9
    Views
    1,454

    Moin Sir, try this, please ... while...

    Moin Sir,

    try this, please ...


    while (GetMessage (&msg, NULL, 0, 0) > 0)
    {
    if (IsDialogMessage (SettingsDialog, &msg))
    {
    TranslateMessage (&msg);
  6. Replies
    9
    Views
    15,008

    If you are a beginner in using IDE's then I...

    If you are a beginner in using IDE's then I recommend Code::Blocks with MinGW.
    Visual Studio is a great IDE, but too giant for a beginner. And it's Microsoft specific.

    I never had problems to...
  7. Replies
    2
    Views
    1,394

    You better should create a custom control and not...

    You better should create a custom control and not just a Bitmap.
    In the window procedure of the cunstom control you can simply handle the behaviour of a button.
    ...
  8. Replies
    4
    Views
    2,257

    Your arguments in TextOut are wrong ... void...

    Your arguments in TextOut are wrong ...


    void CMDITest1View::OnLButtonDblClk(UINT nFlags, CPoint point)
    {
    CDC* dc;
    char msg[] = "Hello World";

    dc = GetDC(hwnd);
    TextOut(dc, 0,...
  9. Replies
    6
    Views
    16,644

    In the link below are some alternative ways to do...

    In the link below are some alternative ways to do this.

    Sorry, it's in german, but I think you'll understand it ... ;)
    http://www.c-plusplus.de/forum/viewtopic-var-t-is-39488.html

    Advantages /...
  10. Oh no, I mean that if I install VS2008 under XP I...

    Oh no, I mean that if I install VS2008 under XP I can't compile a Screensaver when the build target is WINVER 0x0501.

    To do so, I have to replace the scrnsave.lib (which is for Vista) with the...
  11. I also use VC9 on XP. But with the SDK, that...

    I also use VC9 on XP. But with the SDK, that comes up with VS2008, not all libs are working.
    For Example, the scrnsave.lib, so I had to replace the library from SDK 6.0a with the one from the Server...
  12. You can link the C/C++ libraries statically !!!...

    You can link the C/C++ libraries statically !!!
    http://www.kalmbach-software.de/screencasts/VC2008EE-StaticLinkCRT/

    If you develop/compile your application under Vista but want it to run even on...
  13. Replies
    18
    Views
    3,741

    OK, in your case, what you want to realize, I...

    OK, in your case, what you want to realize, I wouldn't use Tab controls and subclass them.

    You should take a look at Property Sheet controls. You can define a callback funktion for every Page ...,...
  14. Replies
    18
    Views
    3,741

    Hmm, I'm not sure what you wanna have as result,...

    Hmm, I'm not sure what you wanna have as result, I'm a little bit confused, so help me to understand what you wanna do.

    You have a main window and several dialog boxes with a Tab control in the...
  15. Replies
    18
    Views
    3,741

    Yes, master is right ..., combine a Toolbar/Rebar...

    Yes, master is right ..., combine a Toolbar/Rebar and the Popup menu to create an User Defiened Menubar ... ;)

    Many applications do this.


    Greetz
    Greenhorn
  16. Replies
    18
    Views
    3,741

    Hi, sometimes (often) the M$ samples don't...

    Hi,

    sometimes (often) the M$ samples don't work, cause there is some stuff deficiency.
    And also often the code contains serious errors.
    Maybe they drink too much wine or smoke bad pot, I don't...
  17. Replies
    7
    Views
    4,414

    Hi, it is written on the webpage ... ;) ...

    Hi,

    it is written on the webpage ... ;)



    So, set your "targetver.h" to this ...

    #pragma once
  18. Replies
    7
    Views
    4,414

    If you subclass a window using ComCtrl32.dll...

    If you subclass a window using ComCtrl32.dll proir version 6, the default return should be a call of the origin window procedure, by using CallWindowProc (hOriginProc).
    Using ComCtrl32.dll version 6...
  19. Replies
    7
    Views
    4,414

    Hmm, it seems that you followed the examples of...

    Hmm, it seems that you followed the examples of M$ for Tab Controls.
    I'm not so familiar with Dialogs, but this is what CodeBlocks gives me as Template (naturally without Tabs).

    resource.rc

    //...
  20. Replies
    7
    Views
    4,414

    Moin, I might be wrong, but I think you have...

    Moin,

    I might be wrong, but I think you have to handle the DialogBox in a DialogProc, isn't it ?


    Greetz
    Greenhorn
  21. Replies
    5
    Views
    20,540

    Thanks, you both !!! I tried it and it works fine...

    Thanks, you both !!! I tried it and it works fine with std::swap.

    @laserlight
    That's exactly what I wanna do ;)

    Now I can sleep well, tonight ...

    Once again: Thank you laserlight and...
  22. Replies
    5
    Views
    20,540

    The description says that it swaps from two...

    The description says that it swaps from two different vectors, but not inside of one container ...
    Does it although work ???

    EDIT:
    Ah, sorry, I'll try the std::swap function, but the exapmles...
  23. Replies
    5
    Views
    20,540

    Swap values inside of a vector ?

    Moin,

    I can't find a funktion to swap 2 contents inside of a vector.
    Isn't there an easy way to do that ?


    Greetz
    Greenhorn
  24. Replies
    11
    Views
    1,757

    I got it in this way ... #include ...

    I got it in this way ...


    #include <iostream>
    #include <vector>
    #include <string>

    using namespace std;

    int main()
  25. Replies
    13
    Views
    1,806

    I agree with all of you, and in the end it could...

    I agree with all of you, and in the end it could be that I'll use a vector instead of what I'm trying now.
    But, as I said, I also want to learn how to work with dynamic arrays under use with "new"...
Results 1 to 25 of 67
Page 1 of 3 1 2 3