CFileDialog derived problem with CK_RETURN : 2
Posted on 1998-04-22
I have created a class derived from CFileDialog with the OFN_EXPLORER style. This class help me to organise some url shortcut like IE does.
My template has some buttons like "&Move", "&Delete", ...
All works fine but when one of these buttons has the focus
the enter key doesn't call the message handler of the button. However the space key works and the message handler is called.
I don't think that it's due to a default button problem... I already tried. I also tried to handle the WM_GETDLGCODE message in my buttons and return DLGC_UNDEFPUSHBUTTON but this doesn't work.
Can someone help me !
Thanks a lot.