Showing window with and without title bar
-
Hi, I recently discovered the CTabCtrlSSL demo on this site (http://www.codeproject.com/tabctrl/ctabctrlssl.asp) and this was exactly what I needed for my problem... but still not completely. In my program I had the situation in which I have one dialog showing up on 2 places: once as a stand alone modal dialog and once within a tab control as a sheet of the tab control. In situation 1 I need to show the title bar, in the second case I need to hide it. (I created the dialog in the resource as a title-bar-less dialog) The problem is that I don't know how to do this in an easy way. I figured out it's got something to do with the CreateEx function, but how do I fit all this inside the dlg-framework?? Thanx, Dave Structured programming vs. chaotic mind boggling