Minimize Button Vb Net

Minimize Button Vb Net

A set of built-in controls is provided as part of WPF, containing items such as button, menu, grids, and list box. Its Work Area tool can help you minimize or hide the Ribbons and maximize the working areas immediately. Fixed3D , or. Aside from the 7 border styles you can select from the windows form properties which can be described as overused and classic because of its limited number of styles, you might try to experiment a new style and apply this simple trick on how to create a customized Windows form on VB. Windows Form Properties in Visual Basic. Net using VB. EventArgs) Handles Me. Welcome to the WPF Tutorial. The default icon does not display along with Minimize, Maximize or Cancel button although the Properties are set true. Nested list collapsing script. Not showing Icon and Close button: Unfortunately, this feature is not available in WPF. A powerful concept in the WPF is the logical separation of a control from its appearance. FacebookTwitterLinkedInBelow is an example of how to create a system tray icon in a Windows Application (WinForms) using c# and vb. Things just work out cleaner that way. How to hide Ribbon Control System Buttons (Minimize. You may have to register or Login before you can post: click the register link above to proceed. Minimize, Maximize / Restore, and Close buttons can be found on the right side of the Title Bar. Sizable , FormBorderStyle. Without using the maximize button, drag the corners of the window until it completely fills the screen or it's the size you prefer. NET doesn't seem to include a dropdown calendar. Net, Displaying More than One Month in the Windows Forms MonthCalendar Control Using C#. by Mary Richardson in Software on June 14, 2005, 6:48 AM PST If the Close button on a Microsoft Access form is disabled, you can add a button. Not showing Icon and Close button: Unfortunately, this feature is not available in WPF. Control Box(minimize, maximize, close) does not appear if Menubar is there. These are totally unsemantic class names, but you'd fix that in your own implementation by just knowing your own markup and applying appropriate selectors. But the real issue is while I am minimized and maximized the window the close button is getting enabled to the end user. 19, a new form would open every time you click the button, which is likely not the desired result. Is there a way to minimize the window to the taskbar? I'm using Q1 2010, this didn't occur in Q3 2009. Welcome to my website about the Windows Presentation Foundation. vbCity is a community of VB and. I know the coding as for resize it with the four different direction but unknown with the Corners. This grays out the button. Run through the setup to add the utility to Windows and launch it. How to Lock And Unlock a Folder through Code in VB. FixedSingle , FormBorderStyle. You have to set both Minimize and Maximize to False and both buttons will disappear. Public Class CloseButton. I have an application that starts notepad. CC, an award winning daily updated Tech Blog with basic and advanced computer tips, unbiased software reviews, giveaways and more!. It's awesome and has helped our business grow and that growth is less painful than before. My reply is a VB. I suspect. You can set this either by using the "Window Style" dropdown in the Properties pane or dynamically by adding the following code to the form. Form Properties In VB. I tried that, it maximized the file I wanted to minimize. NET C# VB Classic ASP Classic Snippets Popular: Resources Submit Code Forums Articles Tips Links Books Contest Link to us MINIMIZED APP TO SYSTEM TRAY. net 2003 win form minimize & maximize enabled close disabled Hello all, I would like to disable use of the windows form ControlBox "X" or close button with out losing the minimize or maximize buttons. vbCity is a community of VB and. After clicking the ‘Stop’ button, the recorded script can be saved by choosing ‘File’->’Save’. One way to display Help on Windows Forms is through the Help button, located on the right side of the title bar, accessible through the HelpButton property. New() 'This call is required by the Windows Form. Create Functions to load Wallpaper or Monitor Profiles, move windows around, change window opacity, toggle DisplayFusion features and much more. 6m developers to have your questions answered on Disable the "Maximize" and "Minimize" buttons of UI for ASP. How can I remove minimize,maximize,close button of MDI child form. Here we will show you some tips to turn on or off the scroll bars in the Microsoft Excel worksheets. The following code opens a window with a status bar and no extra features. This short article shows you how to easily implement a 'Minimize to Tray' button to the caption bar of the form. The following two main topics are covered: Security best practices for PayPal integrations; Information security guidelines for developers. I would like to maximize the file with the macro button. Remove Outlook icon from taskbar. NET using Visual studio 2012 I have been playing around with creating a multiple choice quiz for some time. MAXIMIZE, MINIMIZE AND CLOSE BUTTONS ARE NOT WORKING IN WINDOWS 7 FIXED Programming in Visual Basic. Show function in Windows Forms to display a dialog box with OK and Cancel buttons. If I delete menubar, ControlBox of MDI Child form start appearing. Is there code that I can write to minimize all open WIndows? Am I asking the impossible? Excel vba to minimize all windows Feedback Buttons provided by. However, you can add new buttons to the window title bars in Windows 10 with the eXtra Buttons software. Developers from all over the world come together to share knowledge, source code, and tutorials for free to help their fellow programmers - Professional Developers, Hobbyists and Students alike. Create a new VB. If you used the code shown in Listing 3. Steps:Create the object of Internet Explorer. Disabling Minimize, Maximize buttons: This can be achieved by setting Window. Learn how to close or minimize Outlook 2013/2010 to System Tray or Notification area, in Windows 10/8/7 easily. It does glitch out sometimes, so I added kill program button. When you want to terminate it, simply click the End Process button. NET image resizer control SDK lie in two aspects: image enlarging and image shrinking. NET Forums on Bytes. It is exactly like what we see in Skype. For instance, Markdown is designed to be easier to write and read for text documents and you could write a loop in Pug. Developers from all over the world come together to share knowledge, source code, and tutorials for free to help their fellow programmers - Professional Developers, Hobbyists and Students alike. In a Windows Forms application there are the MinimizeBox and MaximizeBox boolean properties that lets you disable the minimize and maximize button…. Send Key list. The string returned will not exceed 254 characters and if input contains carriage returns or linefeeds, the result will be truncated at the first occurrence of those characters. WM_SYSCOMMAND message. PrimaryScreen. The Project code is included as a download, and I'll walk you through the logic with screenshots below. The Start screen displays, but the app is still running in the background. Windows 10 includes a touch keyboard for PCs. Net Forms Properties. When the minimize button is clicked, the RadWindow hides the content within it (See attachment). Click on Tools in the I. Developers from all over the world come together to share knowledge, source code, and tutorials for free to help their fellow programmers - Professional Developers, Hobbyists and Students alike. If you used the code shown in Listing 3. 0 (which includes every form I built except for the simplest of dialog boxes), I had to write code into the form's Resize event. Doing some winforms dev for a change - and had a need to hide a form, instead of closing it, when the user clicked the standard windows close form button (little cross [x] icon on the top right corner of the form). Microsoft Access Performance Tips to Speed up Your Access Databases by Dan Haught, Executive Vice President, and Luke Chung, President of FMS. You can choose from a variety of source and destination data source types, select tables to copy or specify your own query to extract data, and save your work as an. These samples show you how features work and help you jumpstart your own Universal Windows Platform (UWP) and classic Windows applications. Re: Help, in modifying VBA to maximize my active window using button. NET This code can be used to lock and unlock a selected folder. NET Application. To prevent the MDI child form from being closed, handle the form's FormClosing event and set the e. By default, when you freshly create a form, this property is set to True and the form would display a Minimize button. The following vb. This is a visual basic tutorial that will show you how to minimize, maximize or exit your application. Hi, In the below code i am passing a variable to JS on load which calls a JS function and passes it a parameter of "from page load". WM_SYSCOMMAND message. Control Box(minimize, maximize, close) does not appear if Menubar is there. Close and Maximize Buttons. Does anyone have a vba code that might accomplish this so that my current full screen can be minimized with a button. If you have installed Classic Menu for Office, you can go back the familiar classic menus and toolbar interface of Excel 2003/XP(2002)/2000 on the ribbon of Excel 2007/2010/2013. The ControlBox property determines whether the upper-right corner of the caption bar contains controls such as a maximize button, a minimize button, a help button, and a close button. /* JavaScript Bible, Fourth Edition by Danny Goodman John Wiley & Sons CopyRight 2001 */. It displays the title of the window and typically includes the close, minimize, and maximize buttons. Windows 10 On-Screen Keyboard minimize. Now, double-click the button to enter its event procedure for the Click event. Download Maxthon Browser for Free. I understand that Alt + Tab, Win + TAB and Win + D will all minimize the window but for the sake of the computer illiterate persons that will use this presentation, I think a macro button is the best option. I really didn't want to reinstall office. How to Create Custom Button in VB. The Maximize buttons is controlled by the Boolean MaximizeBox property, which also is set to True by default. Net framework contains a title bar, which displays the caption of the form, and three buttons to maximize, minimize and to close the window. NET | VISUAL BASIC LANGUAGE on November 06, 2012. Question overheard at a recent user group meeting … The Windows key is so important with Windows 8 and Windows Server 2012 … how do I pass the Windows key to a remote RDP session running Windows Server 2012 in a window?. Show function in Windows Forms to display a dialog box with OK and Cancel buttons. NET project. The Minimize button is on the left and looks like a minus sign. net_basic_controls. How to auto-size comment box to fit its content in Excel? When you insert comments to cells, the size of the comment box is the default. I suspect. You see a lot of old SaveAs code that does not specify the FileFormat parameter. This makes. Search more than 600,000 icons for Web & Desktop here. NET C# VB Classic ASP Classic Snippets Popular: Resources Submit Code Forums Articles Tips Links Books Contest Link to us MINIMIZED APP TO SYSTEM TRAY. A Form's Minimize, Maximize and Close Buttons?. The ControlBox property determines whether the upper-right corner of the caption bar contains controls such as a maximize button, a minimize button, a help button, and a close button. Com is a code repository for free Visual Basic code and samples. NET kiosk application that runs on Windows and displays modern Web content using WPF or WinForms and the browser control based on the Chromium engine—DotNetBrowser. Minimize, Maximize / Restore, and Close buttons can be found on the right side of the Title Bar. However like any other type of document there are things that might go wrong when printing a PDF. Notes: Before using a command line switch, you need to close Outlook and verify it's closed in Task Manager's Processes tab. Configuring Your Form for Resizing. Net, Displaying More than One Month in the Windows Forms MonthCalendar Control Using C#. Sizable , FormBorderStyle. detect when in a child custom control when the parent form is minimized/maximized. Hash functions rely on generating favorable probability distributions for their effectiveness, reducing access time to nearly constant. In my application I want to disable the close button in all my windows. See how to make a form's background fade from a light color to darker one and how to make it transparent. Minimize button Icons - Download 388 Free Minimize button icons @ IconArchive. Doing some winforms dev for a change - and had a need to hide a form, instead of closing it, when the user clicked the standard windows close form button (little cross [x] icon on the top right corner of the form). Join a community of over 2. ResizeMode property to ResizeMode. How to Create Custom Button in VB. Thanks, Svetlana. WindowState = FormWindowState. See Use a System Tray icon in VB. These buttons include your Minimize, Maximize, Close and Restore buttons. Hide the Maximize and Minimize buttons. 2- From your event that you wish to minimize the external (Outlook) application, call subroutine 'window_action'. With a few simple tricks, the Appearance Panel and the Shape Builder Tool, you will be creating professional looking icons in no time, it's easy! First create a New Document in the scale of your icon, common sizes are 96px, 48px. The Auto-hide Ribbon State will also maximize your Outlook window and hide the Status Bar. You have to set both Minimize and Maximize to False and both buttons will disappear. It does glitch out sometimes, so I added kill program button. Nov 21 '05 Is there a way I can get into a form's close. GIF files are ideal for displaying large areas of flat colors, such as navigation bars, buttons, icons, logos, or other images with uniform colors and tones. Its basically the equivalent of the SetWindowPos API, which is used for setting various properties of a window. Let's start Every form will have title bar on which the form's caption is displayed and there will be buttons to close, maximize and minimize the. In this tutorial I will teach you how to minimize and maximize the form programmatically in vb. :o) Thanks!!! M O J O. Let us look at some properties we need to use to solve this problem and enable relative positioning on windows. 3 convention) and Long File Names. Every time I bring it out of sleep mode or most times when I boot it up from a shutdown state, the programs that I open randomly minimize seconds later. net You can easily change the default icon (left side in title bar) of your any windows form with your own icon image file. CC, an award winning daily updated Tech Blog with basic and advanced computer tips, unbiased software reviews, giveaways and more!. If I minimize all forms using the "Show Dekstop" button (in the quick menu/quick start dunno what it's called in the english version of XP. Step 1 Create a windows form application Step 2 Add a NotifyIcon to the main form Step 3 Add an icon to the NotifyIcon » read more. Minimize Those Annoying Interruptions It outlined several reasons why. UltraMon is a utility for multi-monitor systems, designed to increase productivity and unlock the full potential of multiple monitors. NET and C# Share a custom region between forms and add-ins; make regions docked, hidden and minimized. We'll create a new programme now, and explore checkboxes, radio buttons and. It also optimizes multi-register packets to minimize transactions, supports data change events, has a simple, well documented API, and includes many example applications and associated C# and VB. After clicking the ‘Stop’ button, the recorded script can be saved by choosing ‘File’->’Save’. 03/30/2017; 2 minutes to read +7; In this article. In addition, you must also set the form's FormBorderStyle property to FormBorderStyle. Public Class CloseButton. Discussion: You have a UserForm and you want to allow the user to be able to minimize like they can with most applications. It only works if I minimize the form itself. Now my second button when I click on it, the form opens up, but the switchboard stays right there on the screen with the form behind it. I have menu bar, toolbar in MDI form. what function should i use in maximize and minimize?. But dont forget to give the user an option to get back from a form. Remove the X Close button from a form's system menu in Visual Basic. Welcome to Microsoft Support Welcome to Microsoft Support What do you need help with? Windows. b0b wrote: Corrective teaching with a big stick? "You close this again, I beat the pulp out of you" Short of running it as a service (if the software supports it) or making sure that it's either running under a different login or on a secure machine that's only used for this software and is locked when not being used for clockin/clockout, I'm not aware of anything that will prevent them from. For instance, Markdown is designed to be easier to write and read for text documents and you could write a loop in Pug. These are totally unsemantic class names, but you'd fix that in your own implementation by just knowing your own markup and applying appropriate selectors. NET application to system tray using NotifyIcon - http://extreme-coding. I'm not using a Mac, but I suspect you've inadvertently engaged one of the Full Screen modes. Visual Basic - Trapping Minimize/Maximize/Close Events (from the window's buttons) 3. FixedSingle , FormBorderStyle. What i need help on is that, I need to know how to re-enable the button after i exit out of the form that opens when i click the button. If possible could someone please give me a code to move the form around by click and holding the mouse button. ResizeMode property to ResizeMode. When the minimize button is clicked, the RadWindow hides the content within it (See attachment). 2- From your event that you wish to minimize the external (Outlook) application, call subroutine 'window_action'. 19 Simple Code for Displaying a Form. Form minimized. open method. You may have to register before you can post: click the register link above to proceed. You can add it directly with the icon property. Features include: Lock the TaskBar; AutoHide the TaskBar. The icon should be obvious enough for users so that they could easily recognise what that button does without even reading the text. Minimizing A Program to the System Tray In this Tutorial, we are going to minimize a program to the System Tray using three different events: Form Close (Someone presses the 'X'), Form Minimize (Someone presses the '_'), and on a Button Click. net standard edition and my problem is this: I used Form1 as a start up form and I put a logo on it to fill the screen I also put three buttons on it, ENTER, MINIMIZE,and EXIT they all work. net, i used codes given below, could not find the errors. SetWindowLong hWnd, GWL_STYLE, x End Sub 'Set the attribute of a window: the module has a public enum type that contains 'all the constants to define a window style (used by others Subs) Public Sub SetWindowStyle(hWnd As Long, mAttribute As T_WindowStyle, Enable As Boolean) Dim x As Long x = GetWindowLong(hWnd, GWL_STYLE) If Enable Then. The following picture shows its position as clear as possible. 0 Unported License. is there any way to broke the Dialog popup as diamond shape or any other shape?and how to provide minimize and maximize buttons on the dialog? View 5 Replies How To Set Table Not To Collapse When I Minimize The Browser In Vb. Code on form1:. access options (lower right), then current database, you see a choice for tabbed, or overlapping windows. You can choose from a variety of source and destination data source types, select tables to copy or specify your own query to extract data, and save your work as an. box like minimize, maximize, and close button. Paths that include spaces between words must be enclosed in quotation marks (") and are case sensitive. So, the form sizing is rather loose in this regards. NET program, so I decided to create this sample application for her. This template consist of Border and ContentPresenter. This program also shows how add bitmaps to your menus and disable the Close ("X"), Minimize and Maximize buttons as well as the Move and Size menu options in the caption bar. Layouts are useful in any database because they let you quickly align and position groups of controls at the same time, without first having to select each control. Posted Date: 13 Aug 2009 Then I made a Button which will minimize all windows the code to Minimise all is. The Auto-hide Ribbon State will also maximize your Outlook window and hide the Status Bar. Net using VB. Please feel free to contact us in the future. How to Create Mobile-friendly Responsive Menu. Please note that pixel perfect column width is virtually impossible to achieve in tables with dynamic content, so do not be surprised if the width of the column if off by a few pixels from what you assign using this property. Use of Timer Control. The tutorials will show you how to create the next generation user experience. net 2003 win form minimize & maximize enabled close disabled Hello all, I would like to disable use of the windows form ControlBox "X" or close button with out losing the minimize or maximize buttons. This is also important for controls with moving parts. Restore or Minimize One or All Windows Spy on the Window Under the Cursor Decode Passwords. Here Mudassar Ahmed Khan has explained with an example and attached sample code how to minimize Windows Application to System Tray using VB. Microsoft Access Performance Tips to Speed up Your Access Databases by Dan Haught, Executive Vice President, and Luke Chung, President of FMS. 6m developers to have your questions answered on Add Window close/minimize button of UI for WPF RibbonView and RibbonWindow. x format) to specific controls on Windows Forms you need to use the HelpProvider component. Display Calendar Control as Dropdown or Button - Visual Studio 2010 [Answered] RSS 32 replies Last post May 21, 2013 01:44 PM by Rajneesh Verma. # pls_advise_a_compiler_also_ (except- visual studio) ===== Public Class Form1 Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase. 1- Check subroutine 'window_action' - make sure the Outlook window caption is specified here. What is needed is a hash function H(z,n) – where z is the key being hashed and n is the number of allowed hash values – such that H(z,n + 1) = H(z,n) with probability close to n/(n + 1). It doesn't have to be the entire caption, but enough to uniquely identify the Outlook window. NET "keydown" event handler to detect that a key was pressed by a user, and create your. The full version has Royalty Free Distribution. When the form is about to close, the Closing event handler checks this value to see whether it should allow the close. NET a Save button’s. Configuring Your Form for Resizing. Minimized If you any questions regarding this. Hide Close, Minimize and Maximize at top of access window. WebBrowser control does not load javascript Company. Codes I used to resize the Form from four different direction (up,down,right,left): Private Sub UpR_MouseMove(ByVal sender. What I wanted to do is when the enter button is clicked I wanted to open Form2 and close Form1. So, icons shouldn't just be cosmetic enhancement when used in buttons. If you have Kutools for Excel installed, you can easily switch between different Excel's screens. One advantage to using absolute positioning is that we can position the elements in any order on the page, regardless of the. captcha generator, generate captcha, random captcha, using captcha in visual basic, read captcha, cara menggunakan captcha vbnet, source code, simple captcha function, how to make captcha, c#, captcha writer, example captcha project. Autrement dit, les Button, Label, TextBox sont des 'Control'. NET on FreeVBCode. How to change form Icon using vb. Net, How to get the selected date of a MonthCalendar control in C#, Open For MDI Parent Using C#. You can't. Hey, Scripting Guy! I would like to display a message box for a set amount of time and then have it disappear. The MsgBox function displays a message box and waits for the user to click a button and then an action is performed based on the button clicked by the user. The default icon does not display along with Minimize, Maximize or Cancel button although the Properties are set true. Neighboring cards are visually delimited by splitters that allow end-users to resize these cards (in Card View only). Let's start Every form will have title bar on which the form's caption is displayed and there will be buttons to close, maximize and minimize the. Keywords: system, forms, remove close button, remove system button, remove X button, example example, program, Windows Forms programming, Visual Basic. Here are some code samples to demonstrate using the Google Visualization API. net version of this? when you press the resize,close or minimize button and move the mouse while holding the button it causes the window to. Net Windows 10 Minimize and Restore fix for. Minimize to Tray: Now you can minimize to the system tray icon any program (Outlook Express, Notepad, Word, Internet Explorer etc. For beginners, crisp icons can be hard to make in Adobe Illustrator. Control Box (Minimize/Maximize Only) 2. The FreeVBCode site provides free Visual Basic code, examples, snippets, and articles on a variety of other topics as well. See how to make a form's background fade from a light color to darker one and how to make it transparent. Microsoft Store. This is a smart way of disabling the "X" button of a window. It shows how to: minimize, maximize or restore one or all windows, and how to obtain basic information about the window under the cursor. Here we will show you some tips to turn on or off the scroll bars in the Microsoft Excel worksheets. ) Open a new Internet Explorer window. Hi bro, How to do minimize application into system tray by clicking button?,,, tq. The best way to convert an XLSM file is to open it in one of the XLSM editors above, and then save the open file to another format. Dabei ist es egal, ob Sie 1 oder 10. net Nov 8, 2010. The Windows dialog box locks the parent window which can hide other windows the user may need to refer to while interacting with the dialog, though this may be mitigated since other windows are available through the task bar. NET MVC 3 features: In today’s post I’m going to go into more details about how Layout pages work with Razor. Net project, then you will get a default form Form1. You can't. To prevent the MDI child form from being closed, handle the form's FormClosing event and set the e. In my application I want to disable the close button in all my windows. A simple auto clicker in vb. In this tutorial I will teach you how to minimize and maximize the form programmatically in vb. The work of minimize button is to make Modern apps visible on the taskbar. Dependency Properties can be added to Behaviours or Attached Properties to add custom binding properties. In addition, you must also set the form's FormBorderStyle property to FormBorderStyle. Posted Date: 13 Aug 2009 Then I made a Button which will minimize all windows the code to Minimise all is. This tutorial is geared to the beginner and introduces the basic construction of a GUI with functionality. net program shows a MDI form with two child forms. I've tested Ctrl+Enter, It doesn't work on it! I also tested Alt+Space, It doesn't work too. NET developers use code behind for the logic of their C# or VB. Visual Basic. NET "keydown" event handler to detect that a key was pressed by a user, and create your. In this article we will show you how to set height and width of window dynamically in wpf. Now, they just sit on the screen when AutoCAD is minimized like they are two separate programs. Join a community of over 2. The best way to convert an XLSM file is to open it in one of the XLSM editors above, and then save the open file to another format. I suspect. Learn CSS Positioning in Ten Steps. Net, without destroying or losing the Quality of the image. Center the Form. I tried to use events of the 'Console' form like SizeChanged or KeyUp and control when the minimize button is pressed. Paths that include spaces between words must be enclosed in quotation marks (") and are case sensitive. (Another one in the missed schedule list: this post was scheduled for this morning 06:00) When you run a Windows 8. New() 'This call is required by the Windows Form. Here are some code samples to demonstrate using the Google Visualization API. In this tutorial I will teach you how to minimize and maximize the form programmatically in vb. In cases where cards do not fit a current View height, end-users can scroll them. Bonjour groupe, dans mes forms je n'ai pas de minimize button et on on retrouve pas vbminimize dans les librairies. Send Key list. is there a way to hide the minimize button or to disable it, or to manipulate the code , i mean to implement something like. You see a lot of old SaveAs code that does not specify the FileFormat parameter. Gets/Sets a value indicating if the minimize button is displayed in the caption bar of the form. Add a Close Form command button to your Access form. If not, you can use the button to quickly set up an account. SetFocus DoCmd. Scripts can also be encoded into standalone executables with the built-in script compiler Aut2Exe. Program Memory - Minimized/Maximized. Please feel free to contact us in the future. net winforms minimize or ask your own question. It's a Windows Form Visual Studio- Hiding the Maximize Button in a Form. You can change the graph axis display range manually using the From and To settings on the Scale tab of Axis dialog box (General 2D and 3D graphs). 2- From your event that you wish to minimize the external (Outlook) application, call subroutine 'window_action'. 0 is to change the position of the forms at runtime or to maximize/minimize the form. Unlike my collapsible list script (note the subtle name difference), this script takes an existing nested HTML UL or OL list and collapses it. So, the form sizing is rather loose in this regards. If you enter a lot of contents into it, some of the content will not be visible directly. I have it so that when i click the button it gets disabled. A window receives this message when the user chooses a command from the Window menu (formerly known as the system or control menu) or when the user chooses the maximize button, minimize button, restore button, or close button. NET 2005) for MS Office 2007 and have some Exercises for Users. It doesn't have to be the entire caption, but enough to uniquely identify the Outlook window. Panel 1 is our sliding panel, pictureBox1 is the logo (that we need to show / hide depending on the sliding direction) and pictureBox2 is our sliding button (the button that we press to slide the menu). \\ code to execute after Minimize button has been clicked } } In VB: Private Sub form1_Resize(ByVal sender As Object, ByVal e As System.