News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

richedit get width and height???

Started by daydreamer, March 01, 2020, 08:26:56 PM

Previous topic - Next topic

daydreamer

Hi
how do I get standard typesize, width and height of richedit control,so I know x*y characters in richedit control, x= maybe 80x characters, y maybe 50x characters ?
any way to test which unicode character sets are installed on users computer,so I dont make use of chinese for example,but user only see boxes?

also want to know how to get it,when going from example 800x600 windows program,after it gets maximized maybe you get 2*x,2*y more space for characters
also want to know how to send right message in program so it maximizes itself

if I cant make it work I have to try GDI drawtext alot,but I think that can become much workload for system draw so much unicode text
my none asm creations
https://masm32.com/board/index.php?topic=6937.msg74303#msg74303
I am an Invoker
"An Invoker is a mage who specializes in the manipulation of raw and elemental energies."
Like SIMD coding

hutch--

What about writing yourself a test piece ?

daydreamer

have tested with fill with hex numbers and maximize when having medium(1366x768) resolution=180chars wide and max(1920x1080) resolution=224 characters wide
my none asm creations
https://masm32.com/board/index.php?topic=6937.msg74303#msg74303
I am an Invoker
"An Invoker is a mage who specializes in the manipulation of raw and elemental energies."
Like SIMD coding

hutch--

These things get done by writing code, not talking about it. Write some working code and post it if you need any help, the endless empty gas bag is just noise.