Re[2]: ignore spacebar to select/unselect messages?

Vadim Zeitlin <[email protected]>
Newsgroups gmane.mail.mahogany.devel
Message-ID <[email protected]>
On Mon, 6 Mar 2006 02:35:12 +0200 Nerijus Baliunas <[email protected]> wrote:

NB> On Mon, 6 Mar 2006 01:26:44 +0100 Vadim Zeitlin <[email protected]> wrote:
NB> 
NB> VZ> NB>          case WXK_SPACE:
NB> VZ> NB> #if !defined DEBUG_nerijus 
NB> VZ> NB>             m_MessagePreview->PageDown();
NB> VZ> NB>             return true;
NB> VZ> NB> #endif 
NB> VZ> NB>          case WXK_RETURN:
NB> VZ> NB>             m_MessagePreview->LineDown();
NB> VZ> NB>             return true;
NB> VZ> NB>       }
NB> VZ> 
NB> VZ>  If you want space act as enter why didn't you call LineDown() above?
NB> 
NB> I did. If DEBUG_nerijus is defined (as in my case), WXK_SPACE is the same
NB> as WXK_RETURN.

 Oops, sorry, I misread the code.

NB> And this part works, what doesn't work is it doesn't scroll when focus
NB> is not in the message preview window.

 Hmm, weird, I don't see LineDown() being called from anywhere else, it
should happen from here. Where is exactly the focus when it doesn't work
and what happens, i.e. does it still select/unselect the list control items
or not?

VZ



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.