Developer forums (C::B DEVELOPMENT STRICTLY!) > Contributions to C::B

Size and Coordinated of the Text Editor

(1/1)

samidha:
Hello all !

I am working on a project on Code Blocks where I need to retrieve the size and the coordinates of the text editor window in the IDE. I am not able to find the required documentation or help for the same. If anyone could direct me towards a useful documentation, it would be a huge help !

Thanks

CHAOS-THEORY:
I don't know almost anything about wxWidgets, but the editor must be a wxWidgets window.
I have checked the source and found cbeditor.h in the includes, and cbeditorprintout.h might help you, check the wxRect structures they prolly hold the size of the text editing window
There's also editorbase.h

oBFusCATed:
@samidha: Why do you need to do this?

@CHAOS-THEORY: Can you please stop using this ugly font?

CHAOS-THEORY:

--- Quote from: oBFusCATed on February 19, 2016, 08:26:19 pm ---@CHAOS-THEORY: Can you please stop using this ugly font?

--- End quote ---
Nope, i like this font, and am allowed to use it.

Navigation

[0] Message Index

Go to full version