|
-
Jul 2nd, 2001, 05:29 PM
#1
Thread Starter
New Member
COMMAND_HANDLER_EX/ CComboBox
Ok, I'm using wtl. I'm trying to get the combo box to respond when I press enter and pass the information in the combo box to the appropriate function for processing.
I'm using CComboBox and the following MSG_MAP:
COMMAND_HANDLER_EX(IDC_ADDRESSBAR, CBN_SELENDOK, GoNavAddressBar)
It doesn't work though. All I get is a "ding" when I press enter.
If anyone could give me some suggestions I would greatly appreciate it, as I'm new to windows programming.
Later,
Paul
Last edited by fullmoons; Jul 2nd, 2001 at 05:46 PM.
-
Jul 2nd, 2001, 05:50 PM
#2
Monday Morning Lunatic
I'm not going to remove your kneecaps here because you showed intelligence in going for WTL rather than MFC 
However, it's still a much better idea to learn the API first (see the FAQ for links).
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Jul 2nd, 2001, 05:59 PM
#3
Frenzied Member
Parksie your just plain mean since you lost your Throbbing Member
MSVS 6, .NET & .NET 2003 Pro
I HATE MSDN with .NET & .NET 2003!!!
Check out my sites:
http://www.filthyhands.com
http://www.techno-coding.com

-
Jul 2nd, 2001, 06:16 PM
#4
Monday Morning Lunatic
I'm very mean However, I fail to see the point of using a template or class library to simplify doing something you don't already know how to do yourself.
For example, I didn't understand the STL list class, so I decided to write my own because I didn't like their method of using iterators. Fair enough, I got a nice little template going - worked nicely, and was faster than theirs. Cue smug expression, until I tried to use it for something useful. Dangling pointers all round, so I thought "okay, how about a small utility class to navigate through it"...at that point the penny dropped...iterators 
At that point I went back to the list class and it was all clear to me.
I know this isn't about the STL, but you see my point on understanding what you're ignoring.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Jul 2nd, 2001, 06:36 PM
#5
Frenzied Member
I wasnt disagreeing with your point of view, because I think you are right. Not having that basic knowledge is really the wrong thing to do.
I was just stating your mean lately
MSVS 6, .NET & .NET 2003 Pro
I HATE MSDN with .NET & .NET 2003!!!
Check out my sites:
http://www.filthyhands.com
http://www.techno-coding.com

-
Jul 2nd, 2001, 06:40 PM
#6
Monday Morning Lunatic
Oh ok It's called being bored out of my skull having finished school and not starting work until September.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|