I cannot seem to get the form's height to be less than 34 pixels via runtime... is there any way to overcome this issue?
Printable View
I cannot seem to get the form's height to be less than 34 pixels via runtime... is there any way to overcome this issue?
use a borderless form
though my intent is to use a toolwindow style form for the title bar size... is this not possible?
I don't think so.. not without it resizing to 34 on ya...
You may be better off creating your own title bar on a borderless form..
isn't this for your notification thing near the system tray? I would imagine it would be better if you can't drag and move this window correct? if you make it a borderless form, it will automatically have that.. if you use a titlebar, you will have to use additional handling to prevent it..
Quote:
Originally Posted by kleinma
indeed this is for the network status application.. when calling setwindowpos and passing the nomove flag, the form becomes unmovable.
I wanted the title bar for display purposes (matches window's gui gradients and so forth as well as is the primary method of notification to the user... Title changes) the borderless/titleless route requires me to create a border and title bar myself.