asmwarrior
2014-07-29 02:44:16 UTC
Hi, in WinXP, I just found that a wxFrame created from a hidden process does not have WS_VISIBLE style set, this means the frame is always hidden.
I have Code::Blocks as GDB's from end, and GDB is a hidden process created by wxExecute when debugging.
If I run such python script in the hidden GDB process (I can run GDB command from Code::Blocks, through redirected pipes of stdin, stdout, stderr).
import wx
app = wx.App()
frame = wx.Frame(None, -1, 'simple.py')
frame.Show()
app.MainLoop()
The Frame never show up, but if I run such python script in a normal GDB command line(through Windows command line window), the frame shows correctly.
Using the SPY++ tool, I see that WS_VISIBLE is missing from the hidden window.
Question: is the WS_VISIBLE disabled when I create a frame from a hidden process?
Details can be found here in wxPython's maillist:
What is the reason that frame.Show() does not show up any window? - Google Groups - https://groups.google.com/forum/#!topic/wxpython-users/zmPzeprFKf0
To have a nice GDB python pretty printer, I would like the hidden window to becomes active, especially through python script, any ideas about this issue?
Thanks.
asmwarrior(ollydbg)
I have Code::Blocks as GDB's from end, and GDB is a hidden process created by wxExecute when debugging.
If I run such python script in the hidden GDB process (I can run GDB command from Code::Blocks, through redirected pipes of stdin, stdout, stderr).
import wx
app = wx.App()
frame = wx.Frame(None, -1, 'simple.py')
frame.Show()
app.MainLoop()
The Frame never show up, but if I run such python script in a normal GDB command line(through Windows command line window), the frame shows correctly.
Using the SPY++ tool, I see that WS_VISIBLE is missing from the hidden window.
Question: is the WS_VISIBLE disabled when I create a frame from a hidden process?
Details can be found here in wxPython's maillist:
What is the reason that frame.Show() does not show up any window? - Google Groups - https://groups.google.com/forum/#!topic/wxpython-users/zmPzeprFKf0
To have a nice GDB python pretty printer, I would like the hidden window to becomes active, especially through python script, any ideas about this issue?
Thanks.
asmwarrior(ollydbg)
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users