>> Eeeee, no. Four bytes - four bytes, two bytes - tow bytes.
>> Byte aligment is unnecessary for CTOBIN() function in your case.
The alignment that I'm referring is the current text alignment in Rich TextBox that is returned in lqPFM starting at position 25. : )))
>Just one more thing... why to set the alignment is necessary to stuff 4 positions in the string if the structure element require just 2?
My question was about the stuff command (in the following code, why stuff 4 positions instead of 2?) to set the justified alignment:
lqPFM = Stuff(lqPFM, 25,
4, BinToC(PFA_JUSTIFY,"2rs")) && alignment value
** Set alignment
apiSendMessageString(This.HWnd,EM_SETPARAFORMAT,0,@lqPFM)
Emerson Santon Reed
"One Developer CAN Make a Difference. A community CAN make a future." - Craig Boyd