On Tue, Aug 05, 2003 at 04:21:23PM +0200, Markus Schorer wrote:
> hi all (anybody?),
> 
> inspite of my latest try to make a fool of myself (and letting averybody
> know),
> i have another question:
> 
> i have several listitems, there are two ways to activate them:
> - clicking on them
> - having code setting PG_WP_ON
> 
> how do i need to setup and code the event handler for these listitems to
> be able to tell if they were clicked on or activated by code?

you can set up a handler for PNTR_UP instead of ACTIVATE.  It
will only get called when clicked, not if it is activated by any
other means.  Then again if you plan to use hotkeys that would
be a problem - but if I understood your application correctly,
you don't.

[]s,
                                               |alo
                                               +----
--
            Those who trade freedom for security
               lose both and deserve neither.
--
http://www.laranja.org/                mailto:[EMAIL PROTECTED]
         pgp key: http://www.laranja.org/pessoal/pgp

Eu jogo RPG! (I play RPG)         http://www.eujogorpg.com.br/
GNU: never give up freedom                 http://www.gnu.org/


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Pgui-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/pgui-devel

Reply via email to