all groups > vb.net controls > february 2004 >
Hi, I am using borderless forms thrughout my project and becouse of that I have to manage on my own moving, closing etc of each borderless form. Since the forms don't have title bar anymore, I have to provide my own title and also application icon which I do. My quistion is how can I make the icon show in the status bar for my borderless form?
* Dino Buljubasic <dino@noplacelikehome.com> scripsit: [quoted text, click to view] > My quistion is how can I make the icon show in the status bar for my > borderless form?
Status bar? Are you talking about the title bar? -- Herfried K. Wagner [MVP]
Sorry, I ment task bar. I'd like when I minimize my form, that its title and the form icon be displayed in the minimized form in the task bar like it is when the form has its border. On 15 Feb 2004 22:14:21 +0100, hirf-spam-me-here@gmx.at (Herfried K. [quoted text, click to view] Wagner [MVP]) wrote: >* Dino Buljubasic <dino@noplacelikehome.com> scripsit: >> My quistion is how can I make the icon show in the status bar for my >> borderless form? > >Status bar? Are you talking about the title bar?
* Dino Buljubasic <dino@noplacelikehome.com> scripsit: [quoted text, click to view] > Sorry, I ment task bar. I'd like when I minimize my form, that its > title and the form icon be displayed in the minimized form in the task > bar like it is when the form has its border.
That works for me when the form's 'ShowInTaskbar' property is set to 'True'. -- Herfried K. Wagner [MVP]
Is your form borderless? Do you have a title bar in your form? For me, it works fine when I have normal form with borders and title bar, but when I remove border (FormBorderStyle = None), then it does not work anymore. the form title is still displayed but the icon is not. I'd like to know how to display the icon in the minimized form on the task bar when the form does not have borders. Thanks On 17 Feb 2004 01:26:43 +0100, hirf-spam-me-here@gmx.at (Herfried K. [quoted text, click to view] Wagner [MVP]) wrote: >* Dino Buljubasic <dino@noplacelikehome.com> scripsit: >> Sorry, I ment task bar. I'd like when I minimize my form, that its >> title and the form icon be displayed in the minimized form in the task >> bar like it is when the form has its border. > >That works for me when the form's 'ShowInTaskbar' property is set to >'True'.
ok,maybe some of my form's properties are not set properly :) here are the properties of my form FormBorderStyle = None Icon = (location of icon) Maximaze Box = False Minimize Box = False ShowInTaskbar = True Text = "blah-blah" WindowsState = Normal I don't think any other property affects the form border or style but please suggest. As you can see, my Icon and Text properties are set but I can see only Text property when my form is minimized. Any ideas why? Regards, Dino On 17 Feb 2004 19:03:27 +0100, hirf-spam-me-here@gmx.at (Herfried K. [quoted text, click to view] Wagner [MVP]) wrote: >* Dino Buljubasic <dino@noplacelikehome.com> scripsit: >> Is your form borderless? Do you have a title bar in your form? > >My form is borderless and I do not have a titlebar on the form. > >> For me, it works fine when I have normal form with borders and title >> bar, but when I remove border (FormBorderStyle = None), then it does >> not work anymore. the form title is still displayed but the icon is >> not. I'd like to know how to display the icon in the minimized form > >Mhm... I am still not able to repro that.
Yes, but not the icon On 17 Feb 2004 19:29:18 +0100, hirf-spam-me-here@gmx.at (Herfried K. [quoted text, click to view] Wagner [MVP]) wrote: >Dino, > >* Dino Buljubasic <dino@noplacelikehome.com> scripsit: >> ok,maybe some of my form's properties are not set properly :) > >;-) > >> here are the properties of my form >> >> FormBorderStyle = None >> Icon = (location of icon) >> Maximaze Box = False >> Minimize Box = False >> ShowInTaskbar = True >> Text = "blah-blah" >> WindowsState = Normal >> >> I don't think any other property affects the form border or style but >> please suggest. > >I have set the same property values and it still works as expected. > >> As you can see, my Icon and Text properties are set but I can see only >> Text property when my form is minimized. Any ideas why? > >What do you mean by "see"? The text is shown in the taskbar button even >if the form is not minimized.
Yes, it shows only text (form's title) but not the icon even though the icon is set On 17 Feb 2004 19:54:28 +0100, hirf-spam-me-here@gmx.at (Herfried K. [quoted text, click to view] Wagner [MVP]) wrote: >* Dino Buljubasic <dino@noplacelikehome.com> scripsit: >> Yes, but not the icon > >My form is showing the icon (on the taskbar button). Did you test it >with a blank project?
* Dino Buljubasic <dino@noplacelikehome.com> scripsit: [quoted text, click to view] > Is your form borderless? Do you have a title bar in your form?
My form is borderless and I do not have a titlebar on the form. [quoted text, click to view] > For me, it works fine when I have normal form with borders and title > bar, but when I remove border (FormBorderStyle = None), then it does > not work anymore. the form title is still displayed but the icon is > not. I'd like to know how to display the icon in the minimized form
Mhm... I am still not able to repro that. -- Herfried K. Wagner [MVP]
Dino, * Dino Buljubasic <dino@noplacelikehome.com> scripsit: [quoted text, click to view] > ok,maybe some of my form's properties are not set properly :)
;-) [quoted text, click to view] > here are the properties of my form > > FormBorderStyle = None > Icon = (location of icon) > Maximaze Box = False > Minimize Box = False > ShowInTaskbar = True > Text = "blah-blah" > WindowsState = Normal > > I don't think any other property affects the form border or style but > please suggest.
I have set the same property values and it still works as expected. [quoted text, click to view] > As you can see, my Icon and Text properties are set but I can see only > Text property when my form is minimized. Any ideas why?
What do you mean by "see"? The text is shown in the taskbar button even if the form is not minimized. -- Herfried K. Wagner [MVP]
Thanks anyways :) Strange isn't it. I don't understand why is the icon not displayed. Anyways, thanks for the effort. Dino :) On 17 Feb 2004 20:06:39 +0100, hirf-spam-me-here@gmx.at (Herfried K. [quoted text, click to view] Wagner [MVP]) wrote: >* Dino Buljubasic <dino@noplacelikehome.com> scripsit: >> Yes, it shows only text (form's title) but not the icon even though >> the icon is set > >Mhm... I feel sorry, but I don't have any idea.
* Dino Buljubasic <dino@noplacelikehome.com> scripsit: [quoted text, click to view] > Yes, but not the icon
My form is showing the icon (on the taskbar button). Did you test it with a blank project? -- Herfried K. Wagner [MVP]
* Dino Buljubasic <dino@noplacelikehome.com> scripsit: [quoted text, click to view] > Yes, it shows only text (form's title) but not the icon even though > the icon is set
Mhm... I feel sorry, but I don't have any idea. -- Herfried K. Wagner [MVP]
I had to design a borderless AND titlebar-less form - there was no way the form would minimize to the taskbar and not lose it's window handle without some text showing in the titlebar. Our solution was to pop up a very small modal window and hide the main form - maybe something along those lines would work for you. Arth [quoted text, click to view] "Dino Buljubasic" <dino@noplacelikehome.com> wrote in message news:6vr430tjl58lpub7oto6oeburkbo7g5v86@4ax.com... > Thanks anyways :) > > Strange isn't it. I don't understand why is the icon not displayed. > Anyways, thanks for the effort. > > Dino :) > > > On 17 Feb 2004 20:06:39 +0100, hirf-spam-me-here@gmx.at (Herfried K. > Wagner [MVP]) wrote: > > >* Dino Buljubasic <dino@noplacelikehome.com> scripsit: > >> Yes, it shows only text (form's title) but not the icon even though > >> the icon is set > > > >Mhm... I feel sorry, but I don't have any idea. >
Don't see what you're looking for? Try a search.
|
|
|