|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
task bar?Hi All,
I am using a custom program that is written is VB6, SP5. The author currently has the code open for changes (yippee!!!). Problem: the program does not show on the task bar (XP-Pro, sp2). Is there some WinAPI or other code addition I can tell him that would cause the program to show on the task bar? Many thanks, --Tony
Show quote
Hide quote
"Tony" <T***@invalid.com> wrote in message Give him a hint and let him figure it out <g> Here's the hint. Modal forms news:dj3idr$t5t$4@domitilla.aioe.org... > Hi All, > > I am using a custom program that is written is > VB6, SP5. The author currently has the code > open for changes (yippee!!!). > > Problem: the program does not show on the task > bar (XP-Pro, sp2). Is there some WinAPI or > other code addition I can tell him that would > cause the program to show on the task bar? > > Many thanks, > --Tony do not show in the taskbar. If you're starting the app in Sub Main and showing the form modally, that's the problem. If you find that this isn't what's going on, VB forms do have a ShowInTaskbar property (my money's on the modal form) -- Ken Halter - MS-MVP-VB - http://www.vbsight.com DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm Please keep all discussions in the groups.. Ken Halter wrote:
Show quoteHide quote > "Tony" <T***@invalid.com> wrote in message Thank you!> news:dj3idr$t5t$4@domitilla.aioe.org... > >>Hi All, >> >> I am using a custom program that is written is >>VB6, SP5. The author currently has the code >>open for changes (yippee!!!). >> >> Problem: the program does not show on the task >>bar (XP-Pro, sp2). Is there some WinAPI or >>other code addition I can tell him that would >>cause the program to show on the task bar? >> >>Many thanks, >>--Tony > > > Give him a hint and let him figure it out <g> Here's the hint. Modal forms > do not show in the taskbar. If you're starting the app in Sub Main and > showing the form modally, that's the problem. If you find that this isn't > what's going on, VB forms do have a ShowInTaskbar property (my money's on > the modal form) > Hmmmm. When you minimize the form, it goes to a little block (with the underline, square and "x") on the lower left, above the taskbar. Does that tell us anything? --Tony "Tony" <T***@invalid.com> wrote in message To me that implies that the borderstyle of the form may be the problem.news:4355526C.50003@invalid.com > Hmmmm. When you minimize the form, it goes to a little > block (with the underline, square and "x") on the lower left, > above the taskbar. Does that tell us anything? -- Reply to the group so all can participate VB.Net: "Fool me once..." "Bob Butler" <tiredofit@nospam.com> wrote in message That could be also. I didn't try that. I DID try showing the form modally news:OtaOn5B1FHA.3924@TK2MSFTNGP14.phx.gbl... > "Tony" <T***@invalid.com> wrote in message > news:4355526C.50003@invalid.com >> Hmmmm. When you minimize the form, it goes to a little >> block (with the underline, square and "x") on the lower left, >> above the taskbar. Does that tell us anything? > > To me that implies that the borderstyle of the form may be the problem. from Sub Main and it behaves exactly as described. -- Mike Microsoft MVP Visual Basic
Show quote
Hide quote
"MikeD" <nob***@nowhere.edu> wrote in message OK. I've tried playing around with various BorderStyle settings (as well as news:e$SEi%23B1FHA.2072@TK2MSFTNGP12.phx.gbl... > > "Bob Butler" <tiredofit@nospam.com> wrote in message > news:OtaOn5B1FHA.3924@TK2MSFTNGP14.phx.gbl... >> "Tony" <T***@invalid.com> wrote in message >> news:4355526C.50003@invalid.com >>> Hmmmm. When you minimize the form, it goes to a little >>> block (with the underline, square and "x") on the lower left, >>> above the taskbar. Does that tell us anything? >> >> To me that implies that the borderstyle of the form may be the problem. > > > That could be also. I didn't try that. I DID try showing the form > modally from Sub Main and it behaves exactly as described. MinButton and MaxButton). I couldn't reproduce that behavior. -- Mike Microsoft MVP Visual Basic "MikeD" <nob***@nowhere.edu> wrote in message I can't either now but I'm sure I've seen it happen. It may be the modalnews:%230KljBC1FHA.560@TK2MSFTNGP12.phx.gbl > OK. I've tried playing around with various BorderStyle settings (as > well as MinButton and MaxButton). I couldn't reproduce that > behavior. setting also. -- Reply to the group so all can participate VB.Net: "Fool me once..."
Show quote
Hide quote
"Tony" <T***@invalid.com> wrote in message Yes, it tells us that BorderStyle plays a part along with modality.news:4355526C.50003@invalid.com... >> Give him a hint and let him figure it out <g> Here's the hint. Modal >> forms do not show in the taskbar. If you're starting the app in Sub Main >> and showing the form modally, that's the problem. If you find that this >> isn't what's going on, VB forms do have a ShowInTaskbar property (my >> money's on the modal form) >> > > Thank you! > > Hmmmm. When you minimize the form, it goes to a little > block (with the underline, square and "x") on the lower left, > above the taskbar. Does that tell us anything?
Show quote
Hide quote
"Tony" <T***@invalid.com> wrote in message Yep. The form's being shown modally just as Ken surmised, probably from Sub news:4355526C.50003@invalid.com... > Ken Halter wrote: >> "Tony" <T***@invalid.com> wrote in message >> news:dj3idr$t5t$4@domitilla.aioe.org... >> >>>Hi All, >>> >>> I am using a custom program that is written is >>>VB6, SP5. The author currently has the code >>>open for changes (yippee!!!). >>> >>> Problem: the program does not show on the task >>>bar (XP-Pro, sp2). Is there some WinAPI or >>>other code addition I can tell him that would >>>cause the program to show on the task bar? >>> >>>Many thanks, >>>--Tony >> >> >> Give him a hint and let him figure it out <g> Here's the hint. Modal >> forms do not show in the taskbar. If you're starting the app in Sub Main >> and showing the form modally, that's the problem. If you find that this >> isn't what's going on, VB forms do have a ShowInTaskbar property (my >> money's on the modal form) >> > > Thank you! > > Hmmmm. When you minimize the form, it goes to a little > block (with the underline, square and "x") on the lower left, > above the taskbar. Does that tell us anything? Main but it wouldn't have to be from Sub Main. For example, the start-up object could be a splash screen which is showing the "main" form modally. Since you apparently have the source code for this, you can fix it yourself, but you could "do the right thing" and also notify the author so he/she can fix it too. -- Mike Microsoft MVP Visual Basic "Tony" <T***@invalid.com> wrote in message For reference, those are "minimize," "maximize," and "close" buttons.news:4355526C.50003@invalid.com... > Hmmmm. When you minimize the form, it goes to a little > block (with the underline, square and "x")
Efficient way to parse large files
Subclass Help WM_NOTIFY array loop alignment Finding files and/or folders Problem executing a DTS from a VB6 application after installing th BAS Module! Controlling location of form within form "_files" folders and related folders How to monopolize Windows in vb6 Page designer in VB |
|||||||||||||||||||||||