Yes, when i minimzie the form that have a borderstyle=none, i want to restore the form again by clicking on task bar box that identify my prog
Main Topics
Browse All TopicsHow to make a form with BorderStyle=none and Restore funcion is still active.
elzohry
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
I checked this one out - mostly from curiosity.
Unfortunately you dont get the right click menu for the taskbar icon - because there's no control box for the app (in turn because borderstyle = none)
Bummer !.
But note the icon still restores after minimize if you click the taskbar icon.
Its still worth an A as far as i'm concerned.
Fancy trying for the A+ to see if you can get that right click menu back ?
Create two forms.
Form1 is your form, with BorderStyle set to None; this time, don't bother setting the ShowInTaskbar property to True.
Form2 is an empty form, but don't change its borderstyle. However, *do* set the MaxButton property to False. On this form, put a timer with interval 1, set its Enabled property to False.
On Form1, there's a button, and if you click on it, the form is supposed to be "minimised".
This is the code behind that button:
Me.Hide
Load Form2
Form2.Left = -Form2.Width
Form2.WindowState = vbMinimized
Form2.Show
On Form2 then:
Private Sub Form_Resize()
Timer1.Enabled = (Me.WindowState = vbNormal)
End Sub
Private Sub Timer1_Timer()
Timer1.Enabled = False
Unload Me
Form1.WindowState = vbNormal
Form1.Show
End Sub
Et voilá. Bit kludgy, but it does the job.
Sorry for lating
My quez as follow:
I make a form that has a
borderStyle=0 none
PicBox like a caption bar
when the form minimized, it can be maximized or restore on click over the task bar button that represent the prog.
I want to minimze the program by clicking over the buttom that represent prog on task bar.
sorry
elsharouny
Hello question-asker!
this question has been open for a very long time! please provide closure to this question by accepting an experts comment, or by deleting it... If you have a problem doing this, please post a 0-point question in Community Support (http://www.experts-exchan
Thanks!
This question appears to have been abandoned. A question regarding will be left in the Community Support area regarding its disposition; if you have any comment about the question, please leave it there.
A moderator will be asked to resolve the question. The recommendation will be to accept the comment of caraf_q.
The link to the Community Support area is:
http://www.experts-exchang
DO NOT ACCEPT THIS COMMENT AS AN ANSWER.
Regards,
ep
Business Accounts
Answer for Membership
by: sombellPosted on 2001-02-05 at 06:20:59ID: 5813030
what "restore" function ?
or do you mean the little box at top right to restore a window after minimising it ?
Off the top of my head its not possible. By setting the border to non you have implicitly stated you dont want this capability.