Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Debugger branch: Placement of Windows
ollydbg:
There is another issue, see the screen shot:
Is it possible to show at least the "OK" button. (move the dialog a little UP)
ollydbg:
--- Quote from: oBFusCATed on January 17, 2012, 05:16:56 pm ---ollydbg: I don't get what is your problem? As far as I know the newly shown windows are not placed by C::B, but by your Explorer.exe.
--- End quote ---
I mean that when the debugger setting dialog is shown, can you make it centered on the screen?
I just test the compiler setting dialog, it shows centered which looks fine to me.
oBFusCATed:
ollydbg: you'll have to debug it yourself, because here it works as intended, but I'm running bigger screens than yours (1600x1200 and 1920x1080). The code for compiler settings and debugger settings is pretty much the same. The only difference is that the Compiler settings are created from xrc resource, but debugger settings are created with wxSmith.
Morten: I wouldn't be surprised if the wx guys have messed the API, once again. But I'll be happy if you take some time and try to find the real cause for the problem.
ollydbg:
--- Quote from: oBFusCATed on January 18, 2012, 08:40:56 am ---ollydbg: you'll have to debug it yourself, because here it works as intended, but I'm running bigger screens than yours (1600x1200 and 1920x1080). The code for compiler settings and debugger settings is pretty much the same. The only difference is that the Compiler settings are created from xrc resource, but debugger settings are created with wxSmith.
--- End quote ---
I just debug it myself, and please add one line statement to fix this issue.
--- Code: ---Center();
--- End code ---
In the end of function body, in file: src\debuggersettingsdlg.cpp around line 108.
--- Code: ---DebuggerSettingsDlg::DebuggerSettingsDlg(wxWindow* parent)
--- End code ---
oBFusCATed:
In fact looking at the code of Compiler settings the correct function should be CenterOnParent(). I will add it...
Navigation
[0] Message Index
[#] Next page
Go to full version