|
-
Jul 21st, 2006, 08:22 AM
#1
Thread Starter
Fanatic Member
Min height for form?
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?
-
Jul 21st, 2006, 08:24 AM
#2
-
Jul 21st, 2006, 08:25 AM
#3
Thread Starter
Fanatic Member
Re: Min height for form?
though my intent is to use a toolwindow style form for the title bar size... is this not possible?
-
Jul 21st, 2006, 08:33 AM
#4
Re: Min height for form?
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..
-
Jul 21st, 2006, 08:38 AM
#5
Thread Starter
Fanatic Member
Re: Min height for form?
 Originally Posted by kleinma
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..
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|