Any suggestions as to why its not showing? For some reason the hEdit control decides to hide. - All my edit controls are stored in a vector named vect. - Status bar updates great with the date and time it was last saved.

Yes, I've commented line by line testing it after i commented each part of the code and the error appears in the ShowWindow( hEdit, SW_SHOW ) line. Its weird too because before I had ShowWindow( vect[ curTab - 1 ], SW_SHOW ) and it worked great then I tried implementing something else into the code and now I cant seem to get it to work the way I had it. I deleted everything that I tried to implement.

Corection: It does stay visible, but the tab isnt updated with the new filename when commenting that one line: TabCtrl_SetItem( hTabs, curTab, &titem ); It also will show up when changing tabs, but for some strange reason it stays hidden once I save the file.

Well I've figured out a solution. Right after I set the tab control item text, I hid the edit control before I showed it. For some reason that works, but I'm confused as to why, so if anybody knows why that would happen, let me know please!!!