CDialog close, if i press Enter - Why???
-
Hi again, my CDialog close if i press Enter. I have removed the standard buttons and the current focus is on a CEdit Control. If i press enter i want to validate the CEdit Content. But i can't catch the "close" message. Can anybody help me ? Marco
Override OnOK() and do not call the base class Nish
Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]
-
Override OnOK() and do not call the base class Nish
Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]
-
It doesnt matter at all whether you have or havent removed the OK button. If you press the ENTER key, OnOK will get called. Override it and dont call the base class. Nish
Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]
-
Hi again, my CDialog close if i press Enter. I have removed the standard buttons and the current focus is on a CEdit Control. If i press enter i want to validate the CEdit Content. But i can't catch the "close" message. Can anybody help me ? Marco
See the VC forum FAQ --Mike-- Just released - RightClick-Encrypt v1.3 - Adds fast & easy file encryption to Explorer My really out-of-date homepage Sonork-100.19012 Acid_Helm
-
See the VC forum FAQ --Mike-- Just released - RightClick-Encrypt v1.3 - Adds fast & easy file encryption to Explorer My really out-of-date homepage Sonork-100.19012 Acid_Helm
-
It doesnt matter at all whether you have or havent removed the OK button. If you press the ENTER key, OnOK will get called. Override it and dont call the base class. Nish
Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]
-
Koep wrote: Why? There's nothing about that! I would not be that sure. Click here and enjoy ... :-D ~RaGE();