Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I am creating a form that I want the user to be able to resize. However I don't want the normal Windows Title bar displayed at the top. If I set the Borderstyle to none to get rid of the title bar I of course loose the size grip control.

 

I suppose I have two options:

Find a way of not displaying the Windows title bar on a sizeable form.

or

Add my own size grip control to a borderless form ( my preferred option ).

 

I have tried the latter but I think the form is refusing to be resized manually because it is set to borderless.

 

Can any one offer some advice please?

Posted

Thanks both of you. I was developing a solution using the WM_NCITTEST which was fine until you started docking panels to the bottom fo the form.

However with donnacha's information I think I have it sorted - thanks again.

Posted

I just want to add a way of thinking of a Windows App...

 

Unless you're really doing some king of app that will overlap all windows UI you shouldn't change the way the users interact with the SO windows... It should be a standard that all apps should implement so every single user that knows how to work with windows, also know how to work with your app.

 

I think every one should read the speifications Microsoft advises developers to use (controls positions, sizes ...)

Software bugs are impossible to detect by anybody except the end user.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...