Is it posible to create a window (not guiwindow) without a windowborder?
I have searched the documentation and I found nothing. I have also tried to search windows.h to find a function that hides the border (to which you can pass the HWND of the window (driver->GetExposedVideoData().HWnd)). But I didn't find anything. Do you know how this can be done? (at least working on windows)
Can you create a window (not guiwindow) without a border?
-
Brainstorm
- Posts: 5
- Joined: Wed May 23, 2007 1:30 pm
-
Brainstorm
- Posts: 5
- Joined: Wed May 23, 2007 1:30 pm
testing now...
Edit: it works!
Edit2: But the window is always as big as I want it to be + the size of the border which is painted over with beginScene(). I can't paint on the area that was supposed to be border with any drawing function except the beginScene() function. And it responds to click events in the whole window. I'll upload a screenshot on request.
Edit3: Fixed it... I resized the window with SetWindowPos function.