|
-
Jun 15th, 2000, 02:48 AM
#1
Thread Starter
Frenzied Member
Is there a way to get a form's caption to appear in the taskbar without having the big blue Title Bar at the top of the screen? If you know the answer please respond, if you're not a regestered user, please e-mail it to [email protected]
-
Jun 15th, 2000, 03:14 AM
#2
Make Caption blank and set the ControlBox to False.
-
Jun 15th, 2000, 03:25 AM
#3
Thread Starter
Frenzied Member
yea but If I do that then the thing in the taskbar will be blank
-
Jun 15th, 2000, 05:28 AM
#4
You can set the BorderStyle to None. If you want your 3-D borders, then just draw them with the Line method.
-
Jun 15th, 2000, 05:41 AM
#5
Thread Starter
Frenzied Member
OK... I guess I didn't explain what I need clearly... I need to hide the big blue bar at the top of the screen do i did the folowing:
From the properys box, I set the value of Control Box to false
and caption to (nothing)
So that the Title Bar won't show.
The Problem I have is, that when I do that in the TASK BAR area, my program's area has an icon and the caption is blank. Now is there a way to set the caption with out having the blue thing at the top of the screen?
-
Jun 15th, 2000, 05:49 AM
#6
_______
this works...
'Aaron gave this to me some time ago...works fine
'show the icon of a titleless form in taskbar tray
Private Declare Function SetWindowLong Lib "user32" _
Alias "SetWindowLongA" (ByVal hwnd As Long, _
ByVal nIndex As Long, ByVal dwNewLong As Long) _
As Long
Private Const GWL_STYLE = (-16)
Private Const WS_SYSMENU = &H80000
'<<<<<< Form load >>>>>>
Private Sub Form_Load()
Call SetWindowLong(Me.hwnd, GWL_STYLE, WS_SYSMENU)
End Sub
"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 15th, 2000, 05:52 AM
#7
Thread Starter
Frenzied Member
Re: this works...
Do you know how to get the caption to appear in the Task Bar Area, and still not have the Title Bar?
-
Jun 15th, 2000, 06:10 AM
#8
_______
Nope
Sorry...some people text as images...can you use text as an icon...
"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 15th, 2000, 06:11 AM
#9
Thread Starter
Frenzied Member
-
Jun 15th, 2000, 06:16 AM
#10
_______
try this....
in the Resize event add this :
If Me.WindowState = vbMinimized Then
Me.Caption = "Your Caption"
Else
Me.Caption = ""
End If
"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 15th, 2000, 06:19 AM
#11
Okay, the method I told you before works! Try it. Set the BorderStyle to False and set the ShowInTaskBar property to True.
Now you have a blank grey box with NO Title Bar and it shows the text in the TaskBar.
-
Jun 15th, 2000, 06:49 AM
#12
Thread Starter
Frenzied Member
WOW Thanks MegaTron, it works, and to HeSaidJoe:
I tried that before and when the user was using the form, there was no words in the task bar
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
|