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

Pages: 1-

goddamn I hate GUI programming

Name: Anonymous 2008-05-23 12:09

I'm trying to integrate VTK, a medical visualization library thingamajig, into this piece of shit they call MFC and Visual Studio is shitting errors by the bushel because I'm not doing everything through the fucking wizard

I AM NOT A HAPPY MAN

Name: Anonymous 2008-05-23 12:23

I lold

Name: Anonymous 2008-05-23 12:31

So do everything through the fucking wizard.

Name: Anonymous 2008-05-23 12:34

the fucking wizard can go suck a dick

Name: Anonymous 2008-05-23 12:38

WIZARD!!!!!!!!!!

Name: Anonymous 2008-05-23 12:40

With our spells we conjour the spirits of the computers.

Name: Anonymous 2008-05-23 13:39

>>4
Yeah, and while it enjoys a nice dick sucking time, you get shit on constantly by Visual Studio. Use the fucking wizard.

Name: Anonymous 2008-05-23 15:35

Don't be that way.  Remember, wizards are pretty much universally deprecated in UI design guidelines.  If Microsoft didn't give them a home, these wizards would be out on the street by now.  These guys were king in the 90's, and now they have lost almost everything.  Do try to make an effort.

It helps to put on your robe and wizard hat.  Makes it more of a colleague, like.  You can pretend to be a machine too if you like.  Kind of speak to it in it's own language.  ``Hello, fellow machine. This unit is a cyborg wizard. I require a button.'', like.

Name: Anonymous 2008-05-23 20:59

Use pure Win32. Sure it's a bit longer, but at least it does what you'd expect it to.

Name: Anonymous 2008-05-23 21:21

GUIs are shit. There would be no use for them if end-users would get off their damn ass and manually read the result at a specified memory address.

Name: Anonymous 2008-05-23 21:38

>>9
The guy is complaining about its crappy GUI toolkit, and you suggest a crappier one. How smart.

PROTIP: win32 api design is shit.

Name: Anonymous 2008-05-23 21:40

>>10
I don't even need a monitor anymore, I can discern the returned result from the electromagnetic output of my CPU.

Name: Anonymous 2008-05-23 21:42

>>10,12
Trolls that don't know about stdio.h

Name: OP 2008-05-24 1:29

>>11
I think that most toolkits around are pretty cool guys and tehy dont afraid of anything, but they just interop so badly. There isn't any standard, you need wrapper wrappers for calls to factory factories, and everyone expects you to use his exact tools without any decent docs. Wanna use the visualization toolkit but you want to build your project with the usual VC++ interface instead of their cmake? too bad, we're ramming it down your throat.

So now the only document I have is an MFC example (without even any instruction or useful commment), which isn't included in an MFC VC++ project (BECAUSE WE USE CMAKE, IT'S SO VERY IMPORTANT TO HAVE LINUX SUPPORT WHEN BUILDING AN MFC APP ANYWAY HURRRRR) and which I can't reliably edit to actually do anything since the wizards don't want jack to do with raw cpp files, especially when they lack the usual MFC structure (including stdafx.h is for losers amirite). Besides, the clever DEVELOPERS DEVELOPERS circumvented the problem of MFC by using raw Win32 message maps. Useful example, thanks guys.

I would *grab dick* for a standardized, easy to use GUI API.

Name: Anonymous 2008-05-24 5:17

>>13
Why would they? C is a dead language.

Name: Anonymous 2008-05-24 6:59

>>9
Enjoy your Windows and shitty API, why don't you use Qt ?

Name: Anonymous 2008-05-24 10:16

Wanna use the visualization toolkit but you want to build your project with the usual VC++ interface instead of their cmake? too bad, we're ramming it down your throat.
(targeting a specific technology == ramming it down your throat) = false;
PROTIP: CMake can generate VS projects
Though like most things in programming, the programmer (justthe CMakefile builder) would need to design their work to support multiple platforms (eg for Make and VS instead of solely Make)

Name: Anonymous 2008-05-24 11:08

C is dying, Windows is shit. Try Qt, GTK, Tk or wxWidgets for example.

Name: Anonymous 2008-05-24 11:33

>>18
Tk? WTF.

Name: Anonymous 2008-05-24 11:37

>>19
One of adequate widget toolkits. The only thing it lacks is that modern gay-looking gradient animated skins.

Not to mention the fact that Tcl/Tk is sepples-free.

Name: Anonymous 2008-05-24 11:48

>>20
Tcl is fine, and has its place. But there is no way in hell I would use Tk for anything in 2008.

Name: Anonymous 2008-05-24 14:11

Qt is very nice but I don't want to compile on MinGW and I'm too much of a nigger to get a Qt license. wxWidgets isn't bad either but since I have the full-blown VS2008pro with a valid license, might as well use MFC, it has a better IDE and it's more common (read maintainable).

>>17
My problem is that I already have a VS project and I don't want to code raw cxx files, because then I lose the MFC wizards and I have to add message maps by hand. Also resource editor, etc.

Your protip gave me an idea though... I'll build the VS project as usual, then I'll write a script to copy only the cpp files into another directory (as cxx files or whatever cmake wants) and call cmake followed by nmake. That should let me have an automated build and still keep my project and its MFC shit. Thanks.

I think though that if you're making an MFC example, you should make people build it with VS directly, because it makes no sense to build a project with VS, code, destroy the project, rebuild it with cmake, and finally compile the new project cmake made to get a binary. That's a waste of time, you don't need to support other build platforms since MFC apps will obviously be built on VS 6.0+. Nobody in their right mind would frost an MFC with their Leenux.

Name: Anonymous 2008-05-24 14:17

>>22
Now you have lots of problems. Also, lol'd at ``full-blown VS2008pro with valid license''

Name: Anonymous 2008-05-24 14:21

>>23
Yes, it's a Microsoft Campus or something program. I can get thousands of bucks in Microsoft shit just by asking the tech but it'd take weeks and proper justifications to get a 15$ shareware.

Name: Anonymous 2008-05-24 14:50

>>17
(targeting a specific technology == ramming it down your throat) = false;
What are you assigning this false to?!

Name: Anonymous 2008-05-24 15:53

>>25
Most likely your anus. Watch out!

Name: Compiler error 2008-05-24 16:18

>>17
invalid lvalue in assignment

Name: Anonymous 2008-05-24 16:20

>>27
IHBT.

Name: Anonymous 2008-05-24 22:26

>>25
It's faux C. It's not intended to be valid C code.

Name: Anonymous 2008-05-25 7:15

Lol, procedural.

Name: Anonymous 2008-05-25 7:41

>>17
expected `)' before ‘a’

Name: Trollbot9000 2009-07-01 8:02

N pace not to mention the fact   that Western countries   tend to be   forced on me   Also I prefer   face to face   meeting whenever possible.

Name: Anonymous 2011-01-31 21:21

<-- check em dubz

Name: Sgt.Kabukiman뿽蒲 2012-05-23 6:03

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:34

bampu pantsu

Name: Anonymous 2013-01-19 23:10

/prog/ will be spammed continuously until further notice. we apologize for any inconvenience this may cause.

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