Click here to Skip to main content

C / C++ / MFC

    RSS: RSS Feed

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page  Show 
  Refresh
Question"Virtual" Command Prompt Pinmemberhxhl9510:29 13 Mar '10  
GeneralRe: "Virtual" Command Prompt Pinmemberhxhl9511:52 13 Mar '10  
AnswerRe: "Virtual" Command Prompt PinmemberHristo Bojilov12:39 13 Mar '10  
GeneralRe: "Virtual" Command Prompt [modified] Pinmemberhxhl9513:31 13 Mar '10  
GeneralRe: "Virtual" Command Prompt Pinmemberhxhl9514:41 13 Mar '10  
AnswerRe: "Virtual" Command Prompt PinmemberStephen Hewitt19:23 13 Mar '10  
QuestionModeless dialog closing when 'Enter' key is pressed? PinmemberSpawn@Melmac9:05 13 Mar '10  
Ok sorry for being dumb but I have been staring at this for a couple of days now and I am getting nowhere.
 
My dialog has a menu with a couple of controls, the main one being a CTreeCtrl.
 
I have captured the OnCancel() to prevent accidental closure but I notice that the 'Enter'/CR key causes the app to close and I have no idea why?   It triggers an orderly close bypassing the OnCancel().
 
I know I have missed something but I just cannot see what.
 
Any pointers?
 
Many thanks
 
Alan
AnswerRe: Modeless dialog closing when 'Enter' key is pressed? PinmemberSpawn@Melmac9:17 13 Mar '10  
QuestionSOCKET_ERROR when calling send method from seperate class PinmemberOmar El Fata7:49 13 Mar '10  
QuestionRe: SOCKET_ERROR when calling send method from seperate class PinmvpCPallini7:56 13 Mar '10  
AnswerRe: SOCKET_ERROR when calling send method from seperate class PinmemberOmar El Fata8:08 13 Mar '10  
GeneralRe: SOCKET_ERROR when calling send method from seperate class PinmemberOmar El Fata8:45 13 Mar '10  
AnswerRe: SOCKET_ERROR when calling send method from seperate class Pinmemberkrmed11:26 13 Mar '10  
GeneralRe: SOCKET_ERROR when calling send method from seperate class PinmemberOmar El Fata12:01 13 Mar '10  
QuestionWindow class, caption Pinmembertrioum5:26 13 Mar '10  
AnswerRe: Window class, caption PinmemberEugen Podsypalnikov5:34 13 Mar '10  
GeneralRe: Window class, caption Pinmembertrioum5:43 13 Mar '10  
GeneralRe: Window class, caption PinmemberEugen Podsypalnikov13:58 13 Mar '10  
QuestionRe: Window class, caption PinmvpDavidCrow6:20 13 Mar '10  
AnswerRe: Window class, caption Pinmember ThatsAlok 20:21 14 Mar '10  
QuestionHow can use VB dll in VC++ code? PinmemberLe@rner2:45 13 Mar '10  
AnswerRe: How can use VB dll in VC++ code? PinmemberLunaticFringe3:33 13 Mar '10  
AnswerRe: How can use VB dll in VC++ code? Pinmember ThatsAlok 20:24 14 Mar '10  
AnswerRe: How can use VB dll in VC++ code? Pinmembershivanandgupta21:30 14 Mar '10  
QuestionCalling vb dll functions in my vc code Pinmemberlearningvisualc22:23 12 Mar '10  

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web04 | 2.5.120210.1 | Last Updated 14 Feb 2012
Copyright © CodeProject, 1999-2012
All Rights Reserved. Terms of Use
Layout: fixed | fluid