|
If you really want to learn about GUIs, then you should stick it out and take the class. You'll probably pick up some good tips on human factors engineering. If you're that serious about C++, then learning to program GUIs in VB will give you that much more appreciation for what you can do with C++. If your college doesn't offer any other GUI classes, then buy yourself a good book and learn on your own (that's what I did). But I definitely recommend taking the class just for the experience.
Good luck to you! GUI programming rocks.
Jon Sagara
What about ?
|
|
|
|
|
First, thanks everyone for your inputs.
In addition to the issue of my liking C++ too much, there is something else is bothers me. I have planned my "road" to becoming a future C++ programmer. I dedicated myself to learning C++.
The college requires that I pick either that one GUI Programming course or beginner Java. I chose GUI Programming because, again, I thought it was going to be related to C++ (MFC). It is not. Is it a Visual Basic class.
Now I have to try an reschedule, which is very difficult now that all the classes are full. Second, I am not fond of Java, even though I have heard possitive comments about Java. I prefer a balance of low level (C) and high level (OOP), which is C++. C++ is everything I need right now.
I have decide to go ahead and drop the GUI Programming course. I will end up having to take Java next fall. Hopefully, I will survive Java.
Whatever programming language I see, I always think of C++. C++, always!!!
Kuphryn
|
|
|
|
|
I definitely understand the importance of knowing multiple programming languages and being able to use them to solve relevant problems.
I believe I have present myself as a closed-minded C++ maniac who rejects all other language. That is completely not true.
I am such a fanatic about C++ because I have put so much energy into C++ ever since the beginning of the fall semester when I first started programming in C++ (within the last five months). I have done great things with it, and based on my experience, I know I so develope so much more just with C++ because it is so extensive. To me, designing and implementing programs using C++ is like reaching for the stars. I am not afraid to learn any new language. The reason I enjoy C++ so much is because I have not encountered anything I cannot accomplish with C++. Although some program are quite tedious if I use C++, but it can be done in a relatively easy way (unlike ASM). Anyways, I wanted to clarify my reason for being so excited about C++.
Here is something I have not mentioned. I began learning programming and programming on a serious level last fall when I signed up for the C++ course; however, I was interested in Visual Basic three years ago when I was in high school. A family member bought me a Visual Basic in 21 Days. I lost interest at like the 8th day. The reason I lost interest with Visual Basic was because I learn absolutely nothing about *programming* basic. The only thing I really learned was how to setup the GUI. Setting up GUI in Visual Basic was very easy, but they that was it. I could not code anything behind the GUI.
Here I am, three years later, and is ready to attack any problem using C++ (with respect to my experience). Yet, I cannot replicate that same GUI so I can put the code behind it. Ironic!!!
Anyways, I will learn Java soon, probably in this coming fall semester. However, my goal still stands at learning GUI programming using C++. That is like a huge accomplishment for me. I feel that once I can develope a complete C++ program including the GUI, I can do anything with any other language (except maybe ASM) easily.
Thanks,
Kuphryn
|
|
|
|
|
Hi, all.
=======
*** Background ***
when the user clicks on 'Shut Down' at the 'Start' menu.
a dialog box opens asking for the user to choose:
* Logoff blah
* Restart
* Shutdown
*** Question ***
Is there any possible way to add...
* Somthing
to this dialog? ( an respond to that action ??)
Thanks.
|
|
|
|
|
What do you want to add? You might be able to accomplish this using a custom GINA (search for 'custom gina' on MSDN).
David
http://www.dundas.com
|
|
|
|
|
What is it ?
What should I do with it ?
thanks.
|
|
|
|
|
Here's the definition from MSDN:
A Graphical Identification and Authentication dynamic-link library (DLL). The GINA is a replaceable DLL component that is loaded by the Winlogon executable. The GINA implements the authentication policy of the interactive logon model and is expected to perform all identification and authentication user interactions.
If there's any reasonable hope of extending/modifying the logon/logoff process implemented in Windows, it would be my guess that implementing a custom GINA would be your best best. I don't personally have hands-on experience with this (although guys on my team do), but I'd encourage you to research this to get started.
David
http://www.dundas.com
|
|
|
|
|
I'm sorry, me again. I tried to modify the WM_ERASEBKGND line in my dialog program so I can change the bg color, but when I go into the class wizard and to the message maps tab I can't find the WM_ERASEBKGND anywhere. I DO know where it is supposed to be, but it isn't there. Any thoughts?
|
|
|
|
|
It's there, if you can't see it, you must be looking at a class that does not support it. Class Wizard has an annoying habit of not coming up with the class you were using in the main view selected....
Christian
I have come to clean zee pooollll. - Michael Martin Dec 30, 2001
Picture the daffodil. And while you do that, I'll be over here going through your stuff.
Picture a world without war, without hate. And I can picture us attacking that world, because they would never expect it.
Sonork ID 100.10002:MeanManOzI live in Bob's HungOut now
|
|
|
|
|
All I have is my dialog box, completely unaltered. Is there a way to get the WM_ERASEBKGND into the message list of the class wizard?
|
|
|
|
|
Yes. Click the "Class Info" tab in Class Wizard and set the Message Filter to "Window". Return to the "Message Map" tab and voila! You'll see many more messages in the Messages list box.
/ravi
"There is always one more bug..."
ravib@ravib.com
http://www.ravib.com
|
|
|
|
|
Thanks a lot!! That did the trick!
|
|
|
|
|
I have an edit box that when someone places text into it and licks a button, whatever they wrote will be displayed in a MessageBox. This is supposed to be just a quick simple program, but I need to complicate things a little. I was wondering how I can clear the edit box after the text is displayed in the MessageBox. The best I seem to be able to do is have the edit box clear just beofre the MessageBox comes up, even though I have the code for clearing the Edit box placed after the MessageBox command. Any help would be appreciated.
|
|
|
|
|
Put SetDlgItemText(IDC_EDIT, ""); prior to the MessageBox() or AfxMessageBox() call.
"Needless redundancy is the hobgoblin of software engineering." - Peter Darnell
|
|
|
|
|
Thanks a lot, that WAS pretty simple, huh?
|
|
|
|
|
How do you get the user to lick a button?
/ravi
"There is always one more bug..."
ravib@ravib.com
http://www.ravib.com
|
|
|
|
|
Ravi Bhavnani wrote:
How do you get the user to lick a button?
User sticks out tongue, leans forward towards the monitor, and licks the button. Simple eh?
---
Sonork 100.11743 Chicken Little
It may be that your sole purpose in life is simply to serve as a warning to others.
|
|
|
|
|
I knew my investment in a touch screen would pay off someday!
James
Sonork ID: 100.11138 - Hasaki
"Not be to confused with 'The VD Project'. Which would be a very bad pr0n flick. " - Michael P Butler Jan. 18, 2002
|
|
|
|
|
I need to clean my mind out with soap and water. A touch screen with the WM_LICK message - I think I've got a wonderful idea to sell to the pr0n sites
Michael
|
|
|
|
|
How do you do left-licks and right-licks?
Double licks I can understand, but again will they be left-double licks or right ones?
Nish
Sonork ID 100.9786 voidmain
www.busterboy.org
If you don't find me on CP, I'll be at Bob's HungOut
|
|
|
|
|
We must be in the Mac forum
James
Sonork ID: 100.11138 - Hasaki
"Not be to confused with 'The VD Project'. Which would be a very bad pr0n flick. " - Michael P Butler Jan. 18, 2002
|
|
|
|
|
That's what I thought!
Nish
Sonork ID 100.9786 voidmain
www.busterboy.org
If you don't find me on CP, I'll be at Bob's HungOut
|
|
|
|
|
due to the genetic nature of my being (hehe ... a chic) i won't comment on how it doesn't surprise me that guys don't know much about these things
---
"every year we invent better idiot proof systems and every year they invent better idiots ... and the linux zealots still aren't being sterilized"
|
|
|
|
|
|
I am trying to hide the scrollbar(s) in a CHtmlView without success. I have tried the following:
In PreCreateWindow:
cs.style ^= WS_VSCROLL;
In OnInitialUpdate:
ModifyStyle(WS_VSCROLL,0);
and
ShowScrollBar(SB_VERT,false);
and
CScrollBar* pSB=AfxGetMainWnd()->GetScrollBarCtrl(SB_VERT);
returns NULL
as do
CScrollBar* pSB=GetScrollBarCtrl(SB_VERT);
What is the correct way of doing this?
Thank you in advance!
|
|
|
|