Looks like you are building a RTB editor.
You might want to download my RTB editor (not perfect, but lots
of bells and whistles to look at.)
It's code shows how to do most of the questions you have posted.
(See, I even have a typo in the project name I gave it.
should have been 'PrintRTBnow'. But I left the name alone
because changing the top level folder name in a project
sometimes messes things up.)