Use something like this to turn on the PG_EXEV_FOCUS flag:

  pgSetWidget(button,
              PG_WP_EXTDEVENTS, PG_EXEV_FOCUS,
              0);


On Sat, Mar 09, 2002 at 04:18:01PM +0200, Okan wrote:
>       Hi,
>       I want to get PW_WE_FOCUS event when I focus on a 
> button,it works on fields as it says in the header 
> (
>       
>       #define PG_WE_FOCUS        0x004 /* Sent when a button is       
>       focused, only if it has 
>                                 * PG_EXEV_FOCUS. The field widget always sends this. 
> 
> */
> )..But it says button creates focus event if it has 
> PG_EXEV_FOCUS ,,,,what does this mean ??? Or how can I get 
> focus event while focusing on a button ???
>       Thanks...
> 
> _______________________________________________
> Pgui-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/pgui-devel

-- 
Only you can prevent creeping featurism!

_______________________________________________
Pgui-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/pgui-devel

Reply via email to