How to make Tool Strip have a glass effect?

How to make Tool Strip have a glass effect? Please Help Me As Fast As Possible . Thx .
Note : Please write as details as Possible because I am new to vb.

Another possibility extending the Aero Glass effect.
ToolStrip backcolor has to be transparent.
Option Strict On
Imports System.Runtime.InteropServices
Public Class Form1
<StructLayout(LayoutKind.Sequential)> _
Public Structure MARGINS
Public cxLeftWidth As Integer
' width of left border that retains its size
Public cxRightWidth As Integer
' width of right border that retains its size
Public cyTopHeight As Integer
' height of top border that retains its size
Public cyBottomHeight As Integer
' height of bottom border that retains its size
End Structure
<DllImport("DwmApi.dll")> _
Public Shared Function DwmExtendFrameIntoClientArea(hwnd As IntPtr, ByRef pMarInset As MARGINS) As Integer
End Function
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Me.Location = New Point(CInt((Screen.PrimaryScreen.WorkingArea.Width / 2) - (Me.Width / 2)), CInt((Screen.PrimaryScreen.WorkingArea.Height / 2) - (Me.Height / 2)))
Me.TransparencyKey = Color.Silver
Me.BackColor = Color.Silver
Dim BordersWidth As Integer = CInt((Me.Width - Me.ClientRectangle.Width) / 2)
ToolStrip1.BackColor = Color.Transparent
Try
Dim margins As New MARGINS()
margins.cxLeftWidth = BordersWidth
margins.cxRightWidth = BordersWidth
margins.cyTopHeight = ToolStrip1.Height
margins.cyBottomHeight = BordersWidth
DwmExtendFrameIntoClientArea(Me.Handle, margins)
Catch ex As Exception
End Try
End Sub
Private Sub Form1_Resize(sender As Object, e As EventArgs) Handles Me.Resize
Me.Refresh()
End Sub
Private Sub Form1_Paint(sender As Object, e As PaintEventArgs) Handles Me.Paint
Using Brush1 As New SolidBrush(SystemColors.Control)
e.Graphics.FillRectangle(Brush1, Me.ClientRectangle.Left, Me.ClientRectangle.Top + ToolStrip1.Height, Me.ClientRectangle.Width, Me.ClientRectangle.Height)
End Using
End Sub
End Class
La vida loca

Similar Messages

  • Slide duration - How to make one slide have a different duration to another slide?

    Slide duration - How to make one slide have a different duration to another slide?
    EG So one slide has 2 seconds, another 4 another 6
    All I can see is how to make all slides have the same duration
    Any help very much appreciated!
    Brian

    Slide durations are not changeable on a slide-by-slide basis.

  • How to make table cell have certain width

    Hi
    i have 3 cells when i write text in any cell it effects the
    width of other cells !!!
    how to make every cell have certain? i mean i want to wrap
    the text not to effect the cell width
    thanks in advance.

    Hi Mac,
    Try this
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
    Transitional//EN">
    <HTML><HEAD><TITLE>Home</TITLE>
    <META http-equiv=Content-Type content="text/html;
    charset=iso-8859-1">
    <style>
    .text-content-green {
    FONT-SIZE: 11px;
    COLOR: #a5a834;
    LINE-HEIGHT: 20px;
    FONT-STYLE: normal;
    FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif;
    TEXT-DECORATION: none;
    .text-content-green:hover {
    FONT-SIZE: 11px;
    COLOR: #AE0B0B;
    LINE-HEIGHT: 20px;
    FONT-STYLE: normal;
    FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif;
    TEXT-DECORATION:underline;
    .margin {
    margin: 1px 1px 1px 1px;
    border-style: solid;
    border-top-width: 1px;
    border-left-width: 1px;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-color: gainsboro;
    </style
    </HEAD>
    <BODY topmargin="10px" leftmargin="0" rightmargin="0"
    class="body-style">
    <TABLE width="729" border="0" cellpadding="0"
    cellspacing="0" cellsadding="0" align="center" class="margin">
    <TBODY>
    <TR>
    <TD width="125" valign="top" bgcolor="#f0f0c1">
    <table width="125" border="0" cellspacing="0"
    cellpadding="0">
    <tr>
    <td width="25" height="25" align="middle"></td>
    <td width="108" class="text-content-green"><A
    class="text-content-green" href="default.html">LEFT
    NAV</A></td>
    </tr>
    <tr>
    <td colspan="2" align="middle"></td>
    </tr>
    <tr>
    <td width="25" height="25" align="middle"></td>
    <td width="108" class="text-content-green"></td>
    </tr>
    <tr>
    <td colspan="2"></td>
    </tr>
    </table>
    </TD>
    <TD vAlign=top width=539 bgColor="white" height=471>
    <P class="text-content-green" align=left
    style="padding-left:5px">Lorem ipsum dolor sit amet, consectetur
    adipisicing elit.Duis aute irure dolor in reprehenderit in
    voluptate velit esse cillum .
    </P>
    </TD>
    </TR>
    </TBODY>
    </TABLE>
    </TD>
    </TR>
    </TBODY>
    </TABLE>
    </BODY>
    </HTML>
    HTH
    Shanthi

  • How to make tab strip invisible?

    hi Gurus,
    i had used a tabstrip in my screen 100. now i want make my strip invisible initailly.
    if certail condition is satisfied than i want to show my tabstrip.
    can anybody help me this,
    thanks in advance.

    Hi vipul,
    Tabstrip Controls
    Tabstrip controls are made up of pushbuttons (the tabs) and several subscreens. Each tab has its own subscreen. These tabs are part of the main screen and are therefore displayed in the field list of the dialog box for the main screen. Subscreen fields are displayed in other dialog boxes.
    According to how a tabstrip has been constructed internally:
    ●      Either a sole dialog box is displayed for the subscreen that belongs to the tab that is currently active, or
    ●      Dialog boxes are displayed for all subscreens that belong to the tabstrip control.
    If an invisible tab is set to active by the application transaction, different subscreens are selected for those tabs remaining that actually belong to other tabs. If the subscreens are invisible, it is also possible that an empty screen will be displayed.
    Technical Background:
    The transaction variant sets another tab (the remaining tab furthest left) to active. This additional active tab is, however, unknown in the application transaction, which assumes that its tab is active and selects the corresponding subscreen. If this subscreen has been faded out using the transaction variant, then an empty screen is displayed.
    CXTAB_CONTROL in SAP ABAP and TABLE CONTROL ... This field is used to make a particular column invisible or visible
    thanks
    karthik

  • Boris 3D: How to make the alphabets have thickness ?

    QUESTION 1:
    In Boris 3D, how to make the alphabets to have thickness ?
    QUESTION 2:
    I have done some opening title animation using Boris 3D. But I think I will use the same animation opening title in other projects file. How do I copy this animation of the Boris 3D title in from one project to the other project ?
    Thanks

    In Boris 3D, how to make the alphabets to have thickness ?
    I believe the only way to do what you want would be to either choose a thicker font or push up the font size (which would also affect the font height).
    How do I copy this animation of the Boris 3D title in from one project to the other project ?
    The easiest way, would either be to:
    a) if it is all one clip, simply copy it from the timeline of the first project, then paste it into the timeline or browser of the second project
    b) if it is more than one clip, export only that part of the sequence as described here to a Quicktime Movie:
    http://fcpbook.com/Misc8.html
    And then import that Quicktime Movie into your new project.

  • How to make FileChooser only  have a Folder to choose?PLs help

    Dear Java expert!!Anyone know how to make user to choose it content from a single folder only...Pls advice
    this is my program..
    `````````````````````````
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.beans.*;
    import java.io.*;
    import java.util.*;
    import java.net.*;
    public class Test2 extends JFrame {
         JFileChooser chooser = new JFileChooser();
         TextPreviewer previewer = new TextPreviewer();
         JPanel previewPanel = new PreviewPanel();
         class PreviewPanel extends JPanel {
              public PreviewPanel() {
                   JLabel label = new JLabel("Text Previewer",
                                                 SwingConstants.CENTER);
                   setPreferredSize(new Dimension(250,0));
                   setBorder(BorderFactory.createEtchedBorder());
                   setLayout(new BorderLayout());
                   label.setBorder(BorderFactory.createEtchedBorder());
                   add(label, BorderLayout.NORTH);
                   add(previewer, BorderLayout.CENTER);
         public Test2() {
              super("Accessory Components");
              Container contentPane = getContentPane();
              JButton     button = new JButton("Select A File");
              contentPane.setLayout(new FlowLayout());
              contentPane.add(button);          
              chooser.setAccessory(previewPanel);
              chooser.addPropertyChangeListener(
                                                 new PropertyChangeListener() {
                   public void propertyChange(PropertyChangeEvent e) {
                        if(e.getPropertyName().equals(
                             JFileChooser.SELECTED_FILE_CHANGED_PROPERTY))
                             previewer.update((File)e.getNewValue());
              button.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e) {
                        chooser.showOpenDialog(null);
         public static void main(String a[]) {
              JFrame f = new Test2();
              f.setBounds(300, 300, 300, 75);
              f.setVisible(true);
              f.setDefaultCloseOperation(
                                            WindowConstants.DISPOSE_ON_CLOSE);
              f.addWindowListener(new WindowAdapter() {
                   public void windowClosed(WindowEvent e) {
                        System.exit(0);
    class TextPreviewer extends JComponent {
         private ImageIcon icon;
         private JTextArea textArea = new JTextArea();
         public TextPreviewer() {
              setBorder(BorderFactory.createEtchedBorder());
              setLayout(new BorderLayout());
              add(new JScrollPane(textArea), BorderLayout.CENTER);
         public void update(File file) {
              textArea.setText(contentsOfFile(file));
              if(isShowing()) {
                   textArea.revalidate();
         static String contentsOfFile(File file) {
              String s = new String();
              char[] buff = new char[50000];
              InputStream is;
              InputStreamReader reader;
              URL url;
              try {
                   reader = new FileReader(file);
                   int nch;
                   while ((
                        nch = reader.read(buff, 0, buff.length)) != -1) {
                        s = s + new String(buff, 0, nch);
              catch (java.io.IOException ex) {
                   s = "Could not load file";
              return s;

    If you need to use a JFileChooser to select a folder, not a file, use:
    JFileChooser jf = new JFileChooser();
    jf.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
    Now, your file chooser is a directory chooser....

  • How to make disable/enable single item recovery effectively Immediately?

    for the following command , "it may take up to one hour to disable single item recovery",my question is how to make the disable/enable  single item recovery
    effectively Immediately by some command?
    SingleItemRecoveryEnabled $false/true
    http://technet.microsoft.com/en-us/library/ff678798(v=exchg.141).aspx
    Please click the Mark as Answer button if a post solves your problem!

    other options:
    Move the mailbox to another DB or if in a DAG, activate the DB on another server. ( the activating seems to work as far as I have seen at least).
    Twitter!: Please Note: My Posts are provided “AS IS” without warranty of any kind, either expressed or implied.

  • How to make a blimp in Adobe After Effects?

    I'm making a video with a blimp in it soon, is it possible to make a blimp in Adobe After Effects? If you can't could you please name some free softwares that could make a blimp? Thanks so much if you can (A Moving Blimp Shown from bottom)

    This completely depends on your shot. You could simply cut out a shot of a blimp using Photoshop and animate that moving across the screen, or you could do camera projection in a 3D app and model a 3D blimp. Blender is a very powerful open source (free) 3D program that I use all the time. It will take you a couple of weeks to learn enough to set up the kind of a scene I just described.
    It sounds like you're just starting out so I'd go for the first solution. Find the shot of the blimp first, then, based on the angle of the shot, shoot the shot you want to use as the background plate.
    Blimp, cut out in Photoshop, layered with background plate =
    Notice how the light is coming fromthe same direction and has about the same quality.

  • How to make Turnable PDF-Pages with flip effect

    Hi,
    can any one help me?
    How to make flipping the pages in a PDF file using Acrobat professional? And how to save as a PDF file and is it possible?
    Please advise me how to process this.
    Thanks & Regards,
    Sudhakar

    Some related information that may help.
    http://forums.adobe.com/thread/719674?tstart=0
    http://acrobatusers.com/content/page-turner-0
    Be well...

  • How to make all users have the same working environment?

    Hi guys,
    thanks for helping out on this issue.
    Is there a way to set all users on your system to have the same working environment? I believe, as root you can edit the /etc/profile. But when I looked at the file, I was confused. I had no idea where to add stuff because it was a script.
    Please if anyone can help me explain how to customize system wide working environments, I will be very grateful .
    Thank you
    Arrey

    Hi.
    It's not clear what you understand under system wide working environments ?
    /etc/profile it's one possible solution.
    Another way - put custimozed .profile to all users and use customezed */etc/skel* for new users.
    Regards.

  • I was wondering how to make Movies I have created in iMovie show up on my apple TV?

    I just bought apple TV and have been able to use music from two computers ,got photos to show up,but have not been able to play iMovies I have made. When I go to the Apple TV and open the imovies, it tells me, no movies. I have tried to drag the imovies over into itunes ,but still no luck. Any suggestions
    Thanks

    Movies cannot be organised into folders on the Apple TV, the article linked to above works only with the Apple TV 1. You can use genres and playlists to a certain extent but it doesn't get anywhere near the organisation available on the Apple TV 1.
    If you have any suggestions that you think might enhance the Apple TV you can send Apple your feedback here.

  • How to make movies that have the same format as WS DVDs?

    What screen format do you use when creating a new project to have it look like store bought Wide Screen DVDs? Is it DV-NTSC Anamrophmoric 720x480, or should you go up to HDV 720/30? The final output will be to DVD and shown on a wide screen (16:9) monitor.
    It seems that the Anamrophic it not wide enought to look like wide screen and what is the deal with the project format and then the output format. I tried several variations and found a circle wipe that looks round on the FCP screen and exported using "Current Settings" it comes out oval?
    I found settings that look like they will work but would like to hear from someone who knows more than I.
    Thanks,

    All the footage is 4:3 DV which I will have to blow it up to fit 16:9.
    As I stated before the anamorphic format did not seem to be as wide as I had hoped for. When I tried anamorphic it looked like it was just doing letterbox with black on top and bottom not real wide screen.
    I guess I will just have to try out some short clips to see for myself.
    So when you choose DV Anamorphic for the project format then do you choose Current Settings when you export the file or custom?
    Thanks

  • How to make status strip to be always at the bottom of screen in Theme 2?

    Hi,
    I am using Builder Blue theme (theme 2) in APEX 4.1. It has a gray strip on a single tab page template. Could some body please help what kind of CSS style attribute should I apply to maket APEX place it at the bottom of the page even if there is not enough content to fill in the gap between tabs and this strip.
    Regards, Tamas

    Tamas Szecsy wrote:
    I am using Builder Blue theme (theme 2) in APEX 4.1. It has a gray strip on a single tab page template. Could some body please help what kind of CSS style attribute should I apply to maket APEX place it at the bottom of the page even if there is not enough content to fill in the gap between tabs and this strip.See +{message:id=3716643}+

  • How to make a gif have a transparent background which is ready for use within premier pro cc ?

    hi
    guys
    could you please explain the process of creating gif with a transparent background ?

    Just create the document with transparency and save a gif (»Save As« or »Safe for Web« depending on your needs).
    Are you talking about an animated gif?

  • How to make flash play movieclip for rollout effect on button

    I am using AS2 and I'm trying to figure out how to do a RollOut effect using buttons and getting nowhere. You'd think it would be easy!
    I have a movieclip within the "over" section of my button, which contains both an roll over and a roll out animation. My problem is that I cant seem to get flash to play the rollOut animation.
    I placed the following code in the button itself
    on (rollOut) {
        this.start_mc.gotoAndPlay("mouseOut");
    Does anyone have any suggestions? I tried setting up a function to find when the user rolls off the button but it didn't work either. Any help would be very much appreciated.
    Thanks!
    Eileen

    Code inside a button will not work.  The code you show would have to be attached to the button, but a button only has the properties that Flash defines for it (unlike movieclips where you can assign all the properties you like).  So you wouldn't be able to target a movieclip inside a button symbol because the button does not have such a property.
    Buttons are self animating objects.   You do not need to code to make them perform rollover/rollout animations.  But a button does not have a rollout frame, just the Up frame.  So you would need to have your rollout animation be in the up frame, where it settles to be the button as you see it without interacting with it.
    What you might try instead of using a button is to use a movieclip as a button,  Then you can control which frame it is in as you wisdh as well as command things within it to function.

Maybe you are looking for

  • How can I delete off my computer but not apple TV

    We use Apple TV on a daily basis and buy movies regularly. I have filled up my hard drive on my laptop. I would like to be able to delete the movies off my laptop but still have them on my AppleTV. The itunes account is tied to both Apple TV and my l

  • IMessage STILL not working?!

    I still don't have iMessage on my iPhone 4.  I have tried resetting/restarting my phone, turning iMessage off then back on, etc.  It will work with my email address, but not my phone number. My MacBook Pro, however, is sending iMessages with my phone

  • Itunes loads main page but will not open anything else

    the main page for itunes opens but if i click on something like a song that is under the most downladed category or a movie under the rental category it says it loads but never goes to it no matter how long i leave it.

  • Can you Customize Order Confirm Workflow ?

    My client wants me to  use html to make the complex order form more readable if it is possible. This would be modifying the workflow announcement...    I can't find a system page that controls the output. Is this possible? Am I looking in the wrong p

  • Linksys SRW 2048 constant blinking and slow

    Hi all. I tried to search but was not very successful with finding my answer but my problem is that all of the ports are constantly blinking fast. Is this normal? I have the 2048 switch connected to a linksys wrvs440n router on port 48. Even the non