hi,
 
> I need to hide default application windows title bar and create
> my own title bar with custom icons (minimize,maximize and close)
> i.e:Title bar dragging function too.
why you want to change these 3 Icon ?
they are part of visual Style depend on Theme which you use.
 
i use Codejock Skinframework ActiveX for my Xbase++ App to assign own Theme like iTunes
 

you only need to add some line in Main and it work 99% stable.
only XbpMenu() Ownerdraw make some Problem
 
---
 
using XbpDialog() with o:Titlebar := .F. will show a Window without Titlebar.
you can set a XbpStatic on Top to simulate Titlebar ... but you also must add Action o:LbDown e.g. to move Window
 

so it depend what you want to do

Virenfrei. www.avg.com