tags:

views:

20

answers:

1

how to make title bar less window in mfc by code?

A: 

Use:

ModifyStyle (WS_CAPTION, 0); // to hide
ModifyStyle (0, WS_CAPTION); // to show

To remove it earlier Override PreCreateWindow() and remove WS_SYSMENU

mmonem
thanks it worked :)