Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

pretty windows

Name: honky chalks 2008-06-17 13:25

Want to start making some applications beyond the cli in windows. I heard some things about MFC but this was a while back and I don't know much about it other than a few 8 year old articles I've seen.

Name: Anonymous 2008-06-17 13:31

MFC is shit
use native win32 nub

Name: Anonymous 2008-06-17 13:32

Name: Anonymous 2008-06-17 13:49

WxWindows is pretty nice. MFC pretty much only exists for legacy apps now, so don't bother with it.

Name: Anonymous 2008-06-17 13:49

Whatever you do, don't pick a cross-platform GUI toolkit. They all suck. Every one of them.

Name: Anonymous 2008-06-17 13:49

>>4
Excuse me, wxWidgets.

Name: Anonymous 2008-06-17 13:51

>>2
CreateWindow("MyWndClass", "My window", WS_OVERLAPPEDWINDOW, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, (HWND) NULL, (HMENU) NULL, hInstance, (LPVOID) NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL)

Name: Anonymous 2008-06-17 13:57

Well, if you're going to use something other than MFC, be sure it's not some cross-platform toolkit with GNU license. They are generally badly designed.

Name: Anonymous 2008-06-17 13:59

>>5
On the other hand, platform specific toolkits suck too. The only sane choice is to keep using the command line.

Name: honky chalks 2008-06-17 14:15

>>6
wxWidgets looks nice

>>9
I want to do a simple graphical app

Name: Anonymous 2008-06-17 14:21

>>10
System.Windows.Forms is the ENTERPRISE choice.

Or WPF, if you want to completely abandon any hope of it ever running on Mono.

Name: Anonymous 2008-06-17 14:29


#include <windows.h>

int main() {
 return MessageBox(0,"Have you read your SICP today?","Satori",MB_YESNO);
}

Name: Anonymous 2008-06-17 14:59

>>10
wxWidgets looks nice
It is not.

- It's practically undocumented (don't point me at their doxygen crap unless you have used it in a large project and found it helpful; I for sure found it completely useless).
- It claims to use native widgets, but it often uses them in strange ways and alters their default behaviour so that your programs won't look or feel native on any platform.
- It suffers from tons of bad design decisions made in its early days, which practically forces you to write a wrapper to shield your code from its suckiness. They should've completely rewritten it years ago.
- It fails to fullfill the #1 requisite of cross-platform GUI toolkits: being cross-platform. You have to actively look out for platform-specific functionality, which is only spastically pointed out in their documentation.

Name: Anonymous 2008-06-17 18:23

>>13
I'm having a good time so far using wxWidget. I was a little peeved that the slider only supported int and not double, and some minor stuff like that, but overall it works well and lets me do quick crud toolbars and stuff with the dialog designer. In a few weeks I went from being a green "C++ console app programmer" to making a cool GUI app integrating NI drivers, wxAUI, multi-threading, etc. I've found the date, picture, and thread classes very useful.

MFC is really really nice though, as in good-looking (check out the office examples - awesome), and has more meat in widgets than wxWidgets, but the wizards, FABULOUS class names & hungarian notation, etc. make my eyes bleed.

Name: Anonymous 2008-06-17 19:19

>>1
How about SWT

Name: Anonymous 2008-06-17 19:26

wxWidgets ... enjoy your fail and memory leaks.

Name: Anonymous 2008-06-17 19:55

Fuck MFC, if it must be bound to Windows, at least use WTL.

Name: Anonymous 2008-06-17 20:05

>>17
Yes, WTL is rather nice.

Name: Anonymous 2008-06-17 20:05

>>16
I will, along with my job.

Name: Anonymous 2008-06-17 20:10

Name: Anonymous 2008-06-17 20:27

SmartWin++ looks great, if you use Windows. I haven't tried it yet, though.

Name: Anonymous 2008-06-18 8:23

Use Tk.

Name: Anonymous 2008-06-18 8:29

>>22
Use curses.

Name: Programming Zen Master 2008-06-18 8:36



            Nowhere Man He's a real UNIX Man

            Sitting in his UNIX LAN

            Making all his UNIX .plans

            For nobody

            He's as wiseas he can be

            Programs in lex, yacc and C

            UNIX Man, can you help me

            At all?

            UNIX Man, please listen

            My printout is missin'

            UNIX Man

            The wo-o-o-orld is your 'at' command

            Let It Be

            When I find my code in tons of trouble,

            Friends and colleagues come to me,

            Speaking words of wisdom:

            "Write in C."

            As the deadline fast approaches,

            And bugs are all that I can see,

            Somewhere, someone whispers:

            "Write in C."

            Write in C, Write in C,

            Write in C, oh, Write in C.

            LOGO's dead and buried,

            Write in C.

            I used to write a lot of FORTRAN,

            For science it worked flawlessly.

            Try using it for graphics!

            Write in C.

            If you've just spent nearly 30 hours

            Debugging some assembly,

            Soon you will be glad to

            Write in C.

            Write in C, Write in C,

            Write in C, yeah,Write in C.

            Only wimps use BASIC.

            Write in C.

            Write in C, Write in C

            Write in C, oh, Write in C.

            Pascal won't quite cut it.

            Write in C.

            Write in C, Write in C,

            Write in C, yeah, Write in C.

            Don't even mention COBOL.

            Write in C.

Name: Anonymous 2008-06-18 9:39

cute

Name: Trollbot9000 2009-07-01 9:13

Write in C yeah Write in C  c or perl  I like xkcd?

Name: Anonymous 2011-02-03 5:19

Name: Anonymous 2011-02-04 17:22

Name: Sgt.Kabukiman闁젴 2012-05-24 6:15

All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy

Name: bampu pantsu 2012-05-29 3:53

bampu pantsu

Don't change these.
Name: Email:
Entire Thread Thread List