I'm writing a visualisation for f2k, and I was asked for a feature: to change my window to titlebar-less on doubleclick. It causes me no problems to catch the doubleclick message, but I don't know which window style to set, I can only create toolbar-styled and normal styled windows, but not one without titlebar.
BTW, I'm not sure if I'm doing the window style changing the right way, now I'm destroying the window and create a new one a the same place & size but with different properties, everytime e.g. "stay on top" is changed in the config.
It would be easier to use CWnd->ModifyStyle, I think, why does the SDK use HWND instead?
Thanks for help!