Dialog form with WS_EX_NODRAG style?

  • Thread starter Thread starter darren
  • Start date Start date
D

darren

Hi,
Is there any way to create a form that has the WS_EX_NODRAG style bit set?
I'd also like to be able to remove the taskbar control for dialogs.

Thanks for any help.
 
There is no managed way to do this without using P/Invoke. I suggest you get
the hwnd for your dialog form and use it in a call to the SetWindowLong API
and set the style bit that way.

HTH
Neil
 
Back
Top