|
-
Jun 8th, 2000, 06:03 PM
#1
Thread Starter
Lively Member
I've created myself a login form using the standard "Add...Form...Login Dialog" and set the ShowInTaskBar property to "True" because I want it to be the first form (called from Sub Main) that gets displayed - if login fails I don't want to be continuing to show the next form, etc.
However, even though I thought I should see it in the taskbar, it isn't there...anyone know why and what I can do about it? I'm using VB6 (Enterprise) on NT4 (SP4).
Thanks,
Toot
Some cause happiness wherever they go; others, whenever they go.
-
Jun 8th, 2000, 06:12 PM
#2
_______
?
Are you using a a borderless,captionless, form?
If you are you need this.
'show the icon of a titleless form in system tray
'bas module code
'show the icon of a titleless form in systray
Public Declare Function SetWindowLong Lib "user32" _
Alias "SetWindowLongA" (ByVal hwnd As Long, _
ByVal nIndex As Long, ByVal dwNewLong As Long) _
As Long
Public Const GWL_STYLE = (-16)
Public Const WS_SYSMENU = &H80000
'form load event
'show the icon of a titleless form in systray
Call SetWindowLong(frmPicDisplay.hwnd, GWL_STYLE, WS_SYSMENU)
"A myth is not the succession of individual images,
but an integerated meaningful entity,
reflecting a distinct aspect of the real world."
___ Adolf Jensen
-
Jun 8th, 2000, 07:47 PM
#3
transcendental analytic
Put the form showintaskbar property to true in design time
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
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
|