I am trying to enable right aligned tabs for the RICHEDIT50W window class, in fact any rich edit class which may handle this.
I am the dll via: LoadLibrary( "MSFTEDIT.DLL" )
I have verified that my home-brewed app is using the correct class but shows the text left aligned.
This is under XP.
The same app shows the same result under windows 7 however, windows 7's wordpad does support the right aligned parts.
In the following zip i have the test rtf text and two images to show XP and Windows 7.
Wordpad under XP also doesn't support right aligned.
Any idea for an instruction or so?
See:
www.hellobasic.com/trials/rtf-right.zip
Duh!
SendDlgItemMessage( hWnd, %ID_FORM1_RICHEDIT1, %EM_SETTYPOGRAPHYOPTIONS, %TO_ADVANCEDTYPOGRAPHY, %TO_ADVANCEDTYPOGRAPHY )