Re: ignore spacebar to select/unselect messages?

Nerijus Baliunas <[email protected]>
Newsgroups gmane.mail.mahogany.devel
Message-ID <[email protected]>
On Mon, 6 Mar 2006 01:26:44 +0100 Vadim Zeitlin <[email protected]> wrote:

VZ> NB>          case WXK_SPACE:
VZ> NB> #if !defined DEBUG_nerijus 
VZ> NB>             m_MessagePreview->PageDown();
VZ> NB>             return true;
VZ> NB> #endif 
VZ> NB>          case WXK_RETURN:
VZ> NB>             m_MessagePreview->LineDown();
VZ> NB>             return true;
VZ> NB>       }
VZ> 
VZ>  If you want space act as enter why didn't you call LineDown() above?

I did. If DEBUG_nerijus is defined (as in my case), WXK_SPACE is the same
as WXK_RETURN. And this part works, what doesn't work is it doesn't scroll
when focus is not in the message preview window.

Regards,
Nerijus


-------------------------------------------------------
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.