|
|
|
|
![]() ![]() |
Jul 20 2005, 11:19 AM
Post
#1
|
|
|
Newbie [Level 1] ![]() Group: Members Posts: 24 Joined: 15-July 05 Member No.: 9,445 |
can some help how to make GUI with c++....
thanks!!!! |
|
|
|
Jul 20 2005, 12:02 PM
Post
#2
|
|
|
Member [Level 3] ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 92 Joined: 28-June 05 Member No.: 8,782 |
Which version of C++ ?
The last couple of years Borland C++ got Visual Creator to make GUI, so where is problem ? -------------------- Practice is when evrything is work but no one know why. Theory is when work nothing but evry one know why. Programmers join Practice with Theory - nothing work and no one know why |
|
|
|
Jul 20 2005, 08:59 PM
Post
#3
|
|
|
Privileged Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: [HOSTED] Posts: 937 Joined: 14-April 05 From: West Chester, PA Member No.: 5,636 |
It depends on what OS you are planning to make the GUI for. If you are going to make a windows gui, you just need to Google or read up on the WinAPI. If you are writing the software for another OS just search for their drawing api or another similiar term.
|
|
|
|
Jul 23 2005, 07:23 PM
Post
#4
|
|
|
Advanced Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: [HOSTED] Posts: 117 Joined: 23-July 05 From: Europe Member No.: 9,774 |
I assume you're talking about Windows.
You could try MFC library. Create new project using Win32 application.Don't let the wizard add any files, choose empty project..Add a .cpp file and copy the code below and compile. CODE #include <afxwin.h> struct CMainFrame : public CFrameWnd { CMainFrame() { Create(NULL, "Test"); } }; struct CTestApp : public CWinApp { BOOL InitInstance() { CMainFrame *Frame = new CMainFrame(); m_pMainWnd = Frame; Frame->ShowWindow(SW_NORMAL); Frame->UpdateWindow(); return TRUE; } }; CTestApp theApp; MFC provides two important classes, CWinApp and CFrameWnd.The first class provides level functionalities and the second one provides functionalities for GUI.You have tons of reading material on the internet so I suggest you use Google.com If you're planning to code GUI applications on Linux I would warmly recommend QT library. |
|
|
|
Jul 29 2005, 10:21 AM
Post
#5
|
|
|
Newbie [Level 1] ![]() Group: Members Posts: 24 Joined: 15-July 05 Member No.: 9,445 |
thanks!!!
but were can i download this "MFC library". i tried searching in google but the results are about visual c++... |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 6th September 2008 - 08:28 PM |