I'm developing an application and it looks as if my Form object doesn't have anything for me to specify its exact coordinates.
I have a label at the top acting as a titlebar, in c# I could use a combination of my mouse coordinates and window coordinates to make the window move with the mouse when the user clicks and drags. However, in c++ (along side RAD studio) there doesn't appear to be anything online I can use as reference to pull this off.
I've tried windows api with:
SetWindowPos(this->GetOwnerWindow(), HWND_TOPMOST, 5,5,5,5, SWP_NOMOVE | SWP_NOSIZE | SWP_SHOWWINDOW);
There's things like window position, but that only accepts integers or vars like "poScreenCenter".
Any insight on how this could be possible would be great.