|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
does anyone here know any good code for programing a window in c++
similar to the defalt window for vb |
|
#2
|
||||
|
||||
|
Re: window
Quote:
![]() |
|
#3
|
||||
|
||||
|
Re: window
ok thz ill try it
|
|
#4
|
||||
|
||||
|
Re: window
Quote:
![]() |
|
#5
|
||||||
|
||||||
|
Re: window
Well, it really depends on what you want this window to do. The most basic Windows program that creates a dialog box would just be something like this:
Code:
#include <windows.h>
int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrev, PSTR szCmd, int iShow){
MessageBox(NULL, "Hello, World!", "Simple Dialog", MB_OK);
}
-Rob |
|
#6
|
|||||
|
|||||
|
Re: window
If you are using MSC++ 6.0, the 'Dialog' resources are what you're looking for. Either that or do it all in code.
If your using .NET, haven't a clue. |
|
#7
|
|||
|
|||
|
Re: window
Quote:
Forget about old-fashioned C-style Windows apps... too hard to create/manage. Use MFC C++ projects for MSC++6 or .NET. If you're using .NET 2002, use MFC. If you're using .NET 2003, you can try SWF (System.Windows.Form), aka Managed Windows Forms to write C#-style code. Note that managed code will only run on the .NET Framework. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help with window motor | HWRobotics | Motors | 15 | 11-02-2004 02:43 |
| window motor connection | albertgates | General Forum | 1 | 12-02-2003 17:18 |
| window motor solid model | Redhead Jokes | Inventor | 0 | 04-02-2003 14:23 |
| Looking for window kit parts | archiver | 2000 | 2 | 23-06-2002 22:50 |
| Re: window motors | archiver | 1999 | 1 | 23-06-2002 21:56 |