Popup windows are always modal-- they are created in a new 'layer' so you can
only access the widgets in the popup. Normal dialogs (without the ATCURSOR
positioning) are usually modal, but there's a hack so that toolbars are still
usable if the dialog accepts keyboard input. This is so virtual keyboards work
correctly in dialog boxes. My suggestion would be to create a normal dialog box
with an invisible (PG_WP_SIZE = 0) field widget in it, or to use an application
panel.

Quoting [EMAIL PROTECTED]:

> Hi everyone,
> 
> I have a problem about focusing. For instance, i have a toolbar at the
> bottom of
> page with buttons in it, one of buttons causes the creation of a new
> popup
> window via pgNewPopupAt function. After this point, i had no longer
> access to
> the buttons in the toolbar, as long as the popup exists, but i need to
> use the
> buttons in the toolbar, while th popup window exists.
> 
> I tried to manipulate the source code of pgNewPopupAt function, to give
> a parent
> pghandle reference, but i couldn't achieved.
> 
> If anyone can help me, i would really appreciate.
> 
> 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