how to display text on right side of window in caption bar (titlebar) .Is there any function available to do this ? plz help.
Probably not and you have to do it by drawing manually on the right side. Yes you can do the RTL layout if you want to.