473,396 Members | 1,767 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

GUI for a C++ Tool

Hi all,

I am a newbie to GUI development. I am not quite sure whether I am posting my question to the right group. But I would appreciate if you could give me a hint to take the first step.

Problem:

I have developed a command-line tool In C++ for searching (not a straight forward search, that is a different story) a melody(say a word) within a song(say within a file). Now I want to develop a front end GUI for this tool. In this tool I should have two panels, one for specifying the notes of the song and another for the melody. This data can either be entered directly into these panels or read from files. I need some other parameters too for the search to be done.

In other words, i need to develop a simple GUI in C++. This tool should be portable, atleast between Windows and Linux. I am using GCC compiler with the IDE CODE::BLOCK. Could anyone suggest where to start: any tutorials, any specific libraries or how should i go about this developement.

Thanks in advance for your help.

Mohan.
Jul 24 '06 #1
7 2844
Banfa
9,065 Expert Mod 8TB
I think you will find it hard to develop a GUI application that is portable between Linux and Windows, they basically handle their displays in 2 completely different ways.

At a very basic level the entry point for a Windows application is WinMain which (I imagine) does not exist on a Linux system.
Jul 25 '06 #2
Thanks a lot for your response. That really makes sense. This GUI idea I am going to do in addition to what I promised to do for my college project. So I can afford to drop the Linux GUI idea for the time being.

So could you suggest me..the starting point for windows GUI? What libraries to use and any good IDE for this? For example, does Code::Block support GUI design and development?
Jul 25 '06 #3
Banfa
9,065 Expert Mod 8TB
I quick look at the Code::Block website suggests that it can not edit Windows resources, you could try using MS Visual Studio VC++ Express, a free version of the MS Visual Studio range.

http://msdn.microsoft.com/vstudio/ex...c/default.aspx


Then to get you started quickly try creating a Microsoft Foundation Class (MFC) application as this handles a lot of stuff for you. If you don't you have to create a Window class (not this is not the same as a C++ class and has been around longer than C++ too), create a Window and write a message handler and handle a fair number of messages. The MFC basically does all this for you allowing you to specifically handle the few messages you are interested in.
Jul 26 '06 #4
Many many thanks for your help. Now I hope that I have a good point to start at.
Jul 26 '06 #5
As far as i known, you could master what you want using gnome libraries, there´s a version of GTK for windows and other plataforms, just create your code and compile it to your desired OS.
Jul 26 '06 #6
Thanks for that suggestion. Here I came across this as well: http://en.wikipedia.org/wiki/WxWidgets.
Jul 27 '06 #7
If you don't want to spend a lot of time mastering different extra libraries and approaches (needed e.g for wxWidgets etc.) then your choice should narrow to Qt and Ultimate++ as complete RAD development environments with their own IDEs.
But if you want to sell your programs in the future without any licence problems then you should consider BSD licenced libraries?
Qt is problematically "dual". Ultimate++ is BSD.
Aug 2 '06 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: _andrea.l | last post by:
how to build a interfaces (or web pages) in easy way? how to build a form in easy way? how to automate and create web pages whit a tool? which tool to use to create form for a database? I mean...
1
by: Vandana Rola | last post by:
Hello Everyone, We are using javascript's tooltip (pop up on mouse over )function. The problem we are having is as we go scroll two or three pages deep in to the html page our tool tip /pop up...
6
by: d.warnermurray | last post by:
I am doing a project for school that involves creating help files for a html authoring tool. If you could help me with answers to some questions it would really help. 1. What tasks do you expect...
16
by: jblankenburg | last post by:
I am trying to deploy a simple web application to my client's production server, but it's not clear to me how MS planned on having the Security users managed without Studio. Certainly someone...
0
by: CharlesA | last post by:
sorry I had to clarify my previous post as I wasn't able to get specific answers so I'm made this very targetted to what I actually pretty desperate to fix. my Setup: I've got XP pro, IIS 5 ,...
5
by: TonyJ | last post by:
Hello!! Is it anyone that have some experience using a good case tool that support C# design in using UML. For example reverse engineering. I have used the together case tool when I worked with...
7
by: ab3331 | last post by:
I need a tool that acts like a browser, but instead of actually rendering a page, it explains in English exactly what rules it's interpreting. This would make it simple to see which rules are...
4
by: Anastasios Hatzis | last post by:
I'm looking for a pattern where different client implementations can use the same commands of some fictive tool ("foo") by accessing some kind of API. Actually I have the need for such pattern for...
26
by: webrod | last post by:
Hi, I have some php pages with a lot of HTML code. I am looking for a HTML validator tool (like TIDY). TIDY is not good enough with PHP tags (it removes a lot of php code). Do you have any...
6
by: Jonathan Wood | last post by:
Okay, I've been through this a couple of times now but it's still not coming together. I have an existing Website that I need to add ASP.NET membership functionality to. So, after manually...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.