?

Log in

No account? Create an account

Previous Entry | Next Entry

MFC (same project as last two weeks...)

I can't believe I'm still working on the same thing...

I really don't get this shit.

An "MFC for dummies" link could be helpful. "MFC for java folks" would be VERY helpful. Or even "MFC for people who hate microsoft and don't understand why the fuck they're trying to learn MFC..."

I "removed" the menubar from my application... along with half a dozen other things I didn't want... and spent an hour and a half getting it running again. You *HAVE* to have a menubar in an MFC application... but you can ovverride a method in your Frame class to *remove* the menubar after it's created but before it's shown.

Now... I'm trying to figure out how to put controls in a window. I really don't get this shit. I have a sneaking suspicion you can't put controls into a window and I needed to start out this exercise by using the wizard to create (yes, I'm using vc++ because... well... oh yeah, it has a prettier resource editor than codewarrior, for the version of each that I have...) an application based on a dialog instead of an application based on a window. but that just doesn't seem right.

At the source of my current confusion is... the whole CSingleDocTemplate thing... what they are, why they are, what you need docs and views for (I get the Frames thing, I think; it seems similar to the java Frame...)

So I guess at the moment I just need to find a tutorial on document templates in vc++... hmm...

:crosses fingers:

Comments

( 3 comments — Leave a comment )
tjernobyl
Oct. 23rd, 2002 12:47 am (UTC)
links!
Ask and ye shall recieve.


http://www.creativeprogrammers.com/article/rd.php/mfc-windows-programming-tutorial-15-1.html


http://www.codeguru.com/cpp_mfc/Tutorial-1.shtml


http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcsample/html/_core_microsoft_foundation_class_library_samples_index.asp


Oh, and you may find this post interesting.

I for one wish there was a "guide to microsoft" tutorial thingy. Every time I try to get deeper into VB to "make prettier pictures", I always run smack into a wall of microsoftese... How do people actually learn that crap?
kaolinfire
Oct. 23rd, 2002 06:04 am (UTC)
Re: links!
The first one I've been over a couple times and has been useful. The second one I've read most of -- skipped around it, different pieces of it showing up in different google searches regarding various exasperations. The one example I've looked at so far is the CHATSVR and CHATTER (okay, two examples, but highly paired). :heh: strange.

What sort of pretty pictures do you make with VB? [I like fractals...]

the post was indeed interesting. =) thank you. :)

As for how people learn the crap that is microsoftese... my opinion is that people don't. ;) They simply happen to accidentally get something to almost work and then don't touch it again -- not even to recompile it, because it might not work the next time. ;)
kaolinfire
Oct. 23rd, 2002 06:10 am (UTC)
actually, going through that first one from scratch, I think I have learned a fair bit. I can approach it anew and make much more sense of it. This is a godo thing. Last time I "read" it, I didn't even realize the program was being written "from scratch". Down with the class wizard! Up with the lower classes! Muahahahahahah!
( 3 comments — Leave a comment )

Latest Month

February 2016
S M T W T F S
 123456
78910111213
14151617181920
21222324252627
2829     

Tags

Powered by LiveJournal.com
Designed by chasethestars