|
-
April 23rd, 1999, 02:10 PM
#1
ComboBox Help
How do I trap the enter key? The docs, with VC++ 6.0, said to do it with ON_CBN_SELENDOK message handler but it didn't produce a desired result is there an alternative?
Shawn
[email protected]
(I Can't logon because I have cookies turned off for a reason and if I do a check to see how many cookies come across it was suprising to see 5 on one page)
-
April 23rd, 1999, 03:05 PM
#2
Re: ComboBox Help
Just empty your function OnOK() {} <--- like that, and then define a function which will respond only to clicking OK button. Like:
void CMyDialog::OnClickedOK()
{
CDialog::OnOK();
}
And by the way, choose your catagory more carefully!
-
April 23rd, 1999, 03:10 PM
#3
Re: ComboBox Help
You assume that it is in a dialog, which it is not, so my original question still stands, Catagory to me is correct, since I am not dealing with a dialog just a control on an advanced lvl, I apoligize for putting it under Advanced ui, it is what it defaults to.
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
|