If your main window does not have decorations, then the user cannot drag anything so can't move or resize window.
For moving window, you could provide a widget to move window, simplest case is handle mouse click event on that widget transitions the window to "moving", in this case the window's mouse move handler moves the window according to location of mouse. On release, transition back to "non-moving". Alternately, you could interpret a mouse click on background of your app as a "window drag" then you would derive and handle mouse events to move window.
To resize, you'll have to create some item in your window that user can drag to resize (unless you want to use scrollwheel but that would not follow standard interface design). You would again handle mouse events when that item is clicked and interpret them as "window resize".