❔ draggable window

Hello i started making winform apps today and dont know how to make the app draggable. how do i make it dragable
6 Replies
sibber
sibber2y ago
how is it not draggarable
InternetTruffle
InternetTruffleOP2y ago
i have a form that doesnt have a titlebar and i want to make it dragable when i click anywhere on the form
sibber
sibber2y ago
oh i think youll have to hande the window message yourself
sibber
sibber2y ago
WM_NCHITTEST message (Winuser.h) - Win32 apps
Sent to a window in order to determine what part of the window corresponds to a particular screen coordinate.
Anchy
Anchy2y ago
correct, or you can use WPF which handles this for you nicely using the Window.DragMove method
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server