Little-Acorn
Joined: 06 Jul 2008 Posts: 111 Location: San Diego
|
Posted: Fri Mar 04, 2011 10:46 pm Post subject: Now for something completely different:Windows in Visual C++ |
|
|
I've been doing Windows programming using your FTN95 compiler for some time now. Though I'm no expert, I've gotten to where I can put up a window of the size I want, put a message box here, some checkboxes there, color them nicely, make them work etc.
Now I've been allowed to use a MS Visual C++ 6.0 compiler, and I need to do the same thing with it.
I've done plain C programming in the past, simple programs are not hard. But I've never done Windows programming in C, or any other language besides FTN95.
Using the compiler's MessageBox command, I've been ablt to put up simple message boxes with a sentence ot two in them, with a button marked OK. When you click the button, the box goes away and the program ends.
Does anyone here know how to put that message box in a certain location on the screen, how to make it a certain size (other than by putting a bigger sentence in it), etc.)? Using the Visual C++ 6.0 compiler?
I can do that with the Silverfrost FTN95 compiler. But when i look in the Visual C++ 6.0 documentation, I get deluged with talk of classes, properties, and a ton of other stuff I'm not familar with.
All I want to do is resize and move the box. Do I have to take a four-semester course to learn how to do that? Or is there a fairly straightforward way?
I know this is a FORTRAN forum. But can anyone indulge me for a few seconds? Anyone here know? |
|