tags:

views:

4

answers:

0

I have a legacy MFC app. I want to modify its look & feel by removing some standard Windows UI elements (caption (aka title) bar, resizable window borders) & replacing them with my own versions.

I tried adding:

cs.style &= ~WS_CAPTION;

to the existing CMainframe::PreCreateWindow() method, which is "supposed to" remove the caption, but it had no effect that I could see.