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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top