Centering Form Caption

The code that R_Rajesh suggests works. It centers the form caption.
 
But the problem is that when I change (by right click) the windows theme in  screen properties from classical windows to Windows Xp, then the Caption of the Form moves a little more right and it is not centered any more.
(Otherwise I have no problem to type spaces)
giannAsked:
Who is Participating?
 
Thandava VallepalliCommented:
Hello,

Go through the links below you can get the functionality by combining all the procedures....


http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/dnarvbtips/html/msdn_msdn52.asp

http://www.applecore99.com/api/api017.asp

http://www.ostrosoft.com/vb/projects/center.asp

All the best,
V.Thandava Krishna.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.