• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Try to learn Win32 C++

Messages
35
Country
sweden
Hi,
I am trying to program an add-on program in C++ and Win32. Used Visual Studio 2013 and devC++. I have worked through several win32 and c++ tutorials at the net. I am a new-bee to C++ but have done some
script program in Perl, DataFlex, Quick Basic and Auto Hotkey as well as minor website. But now I am
stopped in C++. I would like to start building a window with status bar, toolbar and tabbed control. I
have build window with status bar and an ugly toolbar and that's the end of my knowledge. I have red
win32 tutorials, Microsoft's API reference and there are excellent explanations of every commands, but
very little how controls and commands works together.

Is there someone who can tell me where I can find more detailed tutorials and code example?
Or teach med how to program the toolbar control in detail?
 
Personally, when ever I wanted to learn coding of a particular kind I bought a textbook on the subject. If you're serious about learning that's the only way to go.

Good luck
 
Generally pure C++ is not good for GUI elements, I mean it requires a lot of coding and WIN API knowledge.Win32 is very low-level, C based, and awkward to use for a beginner. Better to start with higher level, like C# (.NET) or QT that is platform independent. You can also do C++ for .NET but it is rather rare choice.
 
Hi, and thanks for the answers!

Not found any good books cover my topic. Use win32 tutorials and MS Windows API reference for Windows. Using C++ and Win32 but maybe I should change to QT. Trying to rebuild HIDMacros as Petr Medek has released his code as OpenSource. But maybe it is to hard for my to do that??
 
As HIDMacros was written in Delphi, the best approach if you are looking to port to another language is to port to C#. Both Delphi and C# were designed by the same man.
 
Back
Top