The MASM Forum

General => The Campus => Topic started by: daydreamer on March 01, 2020, 08:26:56 PM

Title: richedit get width and height???
Post by: daydreamer on March 01, 2020, 08:26:56 PM
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
Title: Re: richedit get width and height???
Post by: hutch-- on March 01, 2020, 08:37:21 PM
What about writing yourself a test piece ?
Title: Re: richedit get width and height???
Post by: daydreamer on March 02, 2020, 12:28:37 AM
have tested with fill with hex numbers and maximize when having medium(1366x768) resolution=180chars wide and max(1920x1080) resolution=224 characters wide
Title: Re: richedit get width and height???
Post by: hutch-- on March 02, 2020, 01:05:45 AM
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.