News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Size and Coordinated of the Text Editor

Started by samidha, February 19, 2016, 07:21:44 PM

Previous topic - Next topic

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?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

CHAOS-THEORY

Quote from: oBFusCATed on February 19, 2016, 08:26:19 PM
@CHAOS-THEORY: Can you please stop using this ugly font?
Nope, i like this font, and am allowed to use it.