Show a Frame without acivating it

Hello Les,

Is it possible to show a frame without activating it?

Mhm... do you mean opening a new frame from another frame and then set the
focus back to the father frame? Something along the lines:

newframe = wx.Frame(parentframe, -1, whatever)
newframe.Show()

parentframe.Raise()
parentframe.SetFocus()

If this is not what you want, could you please state your question in a
different way? Or explain better what are your needs?

HTH.

Andrea.

···

_______________________________________________
Andrea Gavana
Reservoir Engineer
MOGI ? Reservoir Characterization and Modeling Dept.
ENI S.p.A. ? Exploration & Production Division
Via Emilia, 1 ? 20097 San Donato Milanese (MI) ? Italy
Phone: +39 02 520 62972
Fax: +39 02 520 61824
E-mail: andrea.gavana@agip.it
Restyled Internet Site: http://xoomer.virgilio.it/infinity77/
____________________________________________________

Eni S.p.A.
Sede legale in Roma,
Piazzale Enrico Mattei 1, 00144 Roma
Tel. centralino: +39 06598.21
www.eni.it
Capitale sociale € 4.002.934.326 i.v.
Registro Imprese di Roma,
Codice Fiscale 00484960588
Part. IVA 00905811006
R.E.A. Roma n. 756453

newframe = wx.Frame(parentframe, -1, whatever)
newframe.Show()

parentframe.Raise()
parentframe.SetFocus()

If this is not what you want, could you please state your question in a
different way? Or explain better what are your needs?

  Hello Andrea,

This is almost perfect, except that parentframe gets deactivated and then activated again.
I do not want 'parentframe' deactivated at all. Just show newframe without changing the active window.

   Les

László Nagy wrote:

newframe = wx.Frame(parentframe, -1, whatever)
newframe.Show()

parentframe.Raise()
parentframe.SetFocus()

If this is not what you want, could you please state your question in a
different way? Or explain better what are your needs?

Hello Andrea,

This is almost perfect, except that parentframe gets deactivated and then activated again.
I do not want 'parentframe' deactivated at all. Just show newframe without changing the active window.

After a day, I think there is no solution.
I would like to create a new feature request for this (and another to implement wx.ListBox.HitTest).
How can I submit a feture request? (Could not do here: http://sourceforge.net/tracker/?atid=359863&group_id=9863)

  Les