-
Ok, he's the problem. Loading forms up modally with ShowInTaskbar = false will kill the main form's icon in the taskbar. But using ShowInTaskbar = True will make the Tasbar Icon's name the current form oppened. Basically, what I want to do if possible is keep all captions as the form's caption, but for the taskbar icon, I want it to state the Application Name and then the current form that is oppened.
IE:
Form name: "Application Setup"
App Name: "My Program"
Taskbar name when "Application Setup" form is opened:
"My Program (Application Setup)"
Titlebar name when "Application Setup" form is opened:
"Application Setup"
I'm sure there is a way to do this, but I'm fairly new to VB, but learning quickly. ;)
I looked at SetWindowText, but I think that will change the caption of the titlebar (not what I want), I could use frmName.caption = <blah> if I wanted to do that. ;) Any help would be appreciated.
Benjamin Hannon
Williamsport, PA
-
Hmmm
I didn't really catch your question. Are you trying to USE a systray icon or just not showintaskbar BUT keep the icon? Or are you working with MDI forms?
-
Well...
Well,
I want to keep the ICON in the ALT-TAB Taskbar, System Tray, Task Manger when I show a form modally (not an MDIChild, but me.show vbModal) and that form will keep it's caption name. However, In the ALT-TAB taskbar, System Tray, Task Manger, I want it to have the Application Name followed by the current open form's name:
My Program (Application Settings)
You cann't use vbModal with MDIChild forms...
basically with ShowInTaskBar = false, it kills the main form's icon. With ShowInTaskBar = true, the new form's caption takes over in the taskbar...
I hope this is more descriptive of the problem.
Benjamin Hannon
Williamsport, PA