Absolute Beginner needs Gui for a C-Program
Widget
widget at alibaba.com
Wed Aug 9 02:50:12 PDT 2006
<joachim.zettler at googlemail.com> wrote in message
news:1155111465.185791.228860 at 75g2000cwc.googlegroups.com...
> Hello,
>
> as you can see in the subject i am an absolute beginner in
> gui-programming. Up to now i only did c-programming and no c++ at all.
>
> My problem is, that i have written a program in c which runs pretty
> well (a control for two independent tooling machines) but only with a
> console "gui" :(
>
> Now there is the possibility that i can get the current status of the
> two machines by simply calling a dll-function i already have.
>
> I now want to build a gui with wxdevc++ that has some kind of radio
> buttons that are checked automatically when a certain status of my
> machine is reached (for example a "ready for operation"). I want to do
> this by creating a thread where the status function of the dll is
> continuously used. This thread should then send the status to the main
> window and display it here.
>
> Then my gui should also include some check-boxes where i can switch on
> certain functionalities or not.
>
> Then finally i need a button i can press to start my already written
> c-program.
>
> Would it be possible for you to give me some hints on these tasks.
Use a GUI creator such as DialogBlocks to create the UI. It generates C++
code which you can compile directly.
Download and read the wxWidgets book:
http://www.phptr.com/content/images/0131473816/downloads/0131473816_book.pdf
--
Posted via a free Usenet account from http://www.teranews.com
More information about the wx-users
mailing list