Jump to content

View more

Image of the Day

#indiedev  #indiegame #screenshotsaturday https://t.co/IwVbswGrhe
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.

Sign up now

Help needed to know which C++ API to use for non-game windows application

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
6 replies to this topic

#1 Meerul264   Members   


Posted 06 January 2013 - 05:02 AM

First let me tell you what my objective is. I want to create a window application that doesn't deal much with graphics, just words and something like ("show spoiler") button, perhaps include some pdf files in the application.

I want to make an application that makes practicing Cambridge 'O' level Mathematics Syllabus easier for students. 


Here's the basic idea:

  1.  In the application, I want to include a drop down menu so that students can choose on which paper they wish to practice on.
  2. What make this different from just collecting a bunch of pdf files of question paper together is that I want to include a "show answer" button next to each question (This will make make practicing easier, rather than checking the answer from the back of the booklet, or going to another pdf file that include the answer again and again after jumping from one question to another) . I'm planning to add question papers from year 1980 to 2011 for this application.

This is just what I wish to create out of window application. Whether this is possible or not, I have no idea (I just started learning c++ since O level exam finished, now I have nothing to do in this 2 or 3 months holiday but waiting for O level result). I really want to make this program before the result come out though, otherwise I wouldn't have much time on my hand.



#2 ColinDuquesnoy   Members   


Posted 06 January 2013 - 06:11 AM

So you want to write a classical GUI application right?


I don't advice you to write it in c++ but to use an high level programming language such as C# (goolge "C# winforms" for more info about writing GUI application in C#)


If you really want to stick with C++ you will have to use a GUI libraries such as Qt or wxWidgets.

#3 yckx   Prime Members   


Posted 06 January 2013 - 06:47 AM

You also have the option of using the actual Windows APIs: Win32 and the ATL. I suspect you'll find wxWidgets or Qt easier to learn, but I felt you should know your options. Win32 is a C API and the ATL is a C++ API. wxWidgets and Qt are cross-platform windowing libraries that, on Windows, wrap Win32.

#4 Magnus Westin   Members   


Posted 06 January 2013 - 06:50 AM

I agree with renega, that if you want to create a simple application like that, you are better off with a higher level language. C# is good if you are on windows. That said, if you are doing this also to learn C++, I would use MFC if you don't care about crossplatform functionality. Otherwise use QT.


And if you really want to learn MS Windows programming, I would recommend using pure Win32 to do you application. It's going to be very slow to develop the first time you do this though. But understanding how things work on a lower level, will make you a much better programmer in the future, even when you are doing development in languages like C#.

#5 MichaBen   Members   


Posted 06 January 2013 - 07:16 AM

I would personally look into Qt, it's a very powerful GUI toolkit and I have yet to see something more powerful. For simple applications like this you don't even need to use a programming language at all, I never tried it myself yet but Qt has tools to create interactive GUIs with a simple scripting language and visual editors, no need for actual coding is needed unless you want to have some more advanced stuff.

#6 EddieV223   Members   


Posted 06 January 2013 - 02:17 PM

Qt, free for non commercial use. You can't go wrong with it.

If this post or signature was helpful and/or constructive please give rep.


// C++ Video tutorials



// Easy to learn 2D Game Library c++

SFML2.2 Download http://www.sfml-dev.org/download.php

SFML2.2 Tutorials http://www.sfml-dev.org/tutorials/2.2/


// Excellent 2d physics library Box2D



// SFML 2 book



#7 yckx   Prime Members   


Posted 06 January 2013 - 03:38 PM

Bah. I meant MFC when I wrote ATL above. I must have been on the good stuff or something.

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.