.net - Remove Another Program's Frame/window/border (the Aero Bit)?
Feb 15, 2010Is there a way to remove the border/frame (the Aero bit) of another application's window (say notepad) from a VB.NET program?
View 1 RepliesIs there a way to remove the border/frame (the Aero bit) of another application's window (say notepad) from a VB.NET program?
View 1 RepliesI made a small program which just is one window(frame) i want to put this prog. in my PC when i restart my computer this window display.
View 11 RepliesImitate Vista or 7 Window Border in program?
View 9 RepliesCan a form be Created that has Aero Glass when in Vista/Win7 and when running in XP or 98 use a regular border? If so can I have a link to the infromation or a code sample?
View 8 RepliesI am trying to change every form title bar and border to green in my project. How do you change the all the forms title bar and border to green without changing other window applications title bar and border?
View 1 RepliesI want to make a Presentation CD. I created a setup project, and autorun.inf. But, when the setup starts, I want the installer to check if the program is already installed on the host computer. If it is, it shoul be run. How to change installer to behave like this?
View 2 RepliesWhen I insert CD, if program is already installed it should be run, instead of dialog box asking to remove/repair program. How to change bootstrapper, or maybe launch conditions, to run program instead of installing it over and over again?
View 14 RepliesPrivate Sub Form1_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles Me.Paint
' Create a GraphicsPath.
Dim graphics_path As New Drawing2D.GraphicsPath
' Add some text to the path.
[code].....
Is what I tried after researching how to get clean text on an aero window, but it is still not nice looking.
I have been working on an image capturing tool for a long time now & I was wondering how some of those programs are able to make an aero capture of a form.I know you can capture a window if you have it's handle by using the BitBlt, but that doesn't keep the transparancy of the aero form.Let me give you an example:I did a lot of research on google but I never found anything close to something that explains how to do it.
View 4 RepliesI stumbled upon an excellent article about taking screenshots of specific windows in .NET, and doing something with black and white color rectangles behind those windows in order to preserve the aero effect when saving a screenshot to a PNG.Well, I can't find that article anymore, mainly because crap sites and other stuff not at all associated with taking screenshots SEO'd their way into Google's results.Does anyone know how I can take a screenshot of a specific window while preserving the aero effect?
View 1 RepliesI want to remove MDIForm without border .You can move the MDIForm with click its border,however when u select the border as none, u will not be able to move the MDIForm.
View 3 RepliesIs it possible to remove the 3d border of a webbrowser?
View 2 RepliesI have an inherited tabcontrol, and i custom draw my tabs and background. I would like there to be no border around the tabcontrol, how would i accomplish this?
View 3 RepliesIt was working fine with Visual Studio 6.0 but its not working in Visual Studio .net 2008.
To reproduce this issue please follow below steps,
Step 1: From Start --> Programs --> Microsoft Visual Studio 2008 --> Microsoft Visual Studio 2008
Step 2: Create a new Visual Basic .Net project. (Please Select Framework 2.0 or 3.0 or 3.5 only)
Step 3: From References add "Microsoft HTML Object Library" and "Microsoft Internet Controls".
Step 4: Insert one button control in your form1.
Step 5: Copy and paste below code in your form1.
Imports SHDocVw<br/>
Imports mshtml<br/>
<br/>
Public Class Form1<br/>
[Code]...
Can I make my toolstrip backcolor match my window frames color automatically? Since frames are controlled by themes, can I set the toolstrip color in the IDE using the System tab and selecting one of the options, say Inactive Border color?
For example, if my theme uses a blue frame color, can I tell the toolstrip backcolor to match it somehow?
In my project I've got a MainWindow that opens up a second Window. Inside the second Window there is a Frame and I start a navigationservice inside the Frame. Also in the second Window I've got a KeyDown method that calls Me.Close when the user presses the Escape key. Anyway, when the second Window closes a System.Windows.Threading.DispatcherTimer() inside one of the pages in the navigation service doesn't end. Any ideas on how can I close the second Window and terminate the DispatcherTimer inside the navigationservice?
View 2 RepliesI'm having trouble getting an naero glass code which works properly. I hav ecome across many in which anything black becomes aero aswell. Is it possible to have the black text unaffected by the aero like, change it so that another colour becomes aero instead?Also this is just an extra but can you change the colour of the aero you have? Like default is blue change you change it to like yellow, or black or another colour?
View 4 RepliesI have several buttons, all of which use flat appearance. I made them look just how I liked,but once you focus one, the 2px border (from 1px) ruins everything.
View 4 RepliesI noticed that when some of my buttons are clicked, this ugly black rectangle appears in it, around the central text. It only happens to the buttons with a "Flat" style applied to them.
View 1 RepliesI am using datarepeater to display rows of information from database. When i click a 'save' button and i would like to loop through the rows of data in repeater. The code i am using is able to do all these. The only problem i encountered is at the Interface side. When i am looping the data-repeater. The selection 'frame' (refer to the picture point as 'A') is moving from record to the next record and scrollbar is auto moving as well to scroll to further down until the last row where looping finish.Is there anything can be done to remove the selection 'frame' and stop datarepeater from scrolling while looping the datarepeater.
View 8 RepliesI am setting my Winforms Button control properties to appear as a hyperlink would on a web page. I've formatted everything fine, except the border in the FlatAppearance object. I have code to act as pseudo-CSS (FormBackColor is a string constant.):
b.FlatStyle = FlatStyle.Flat
b.BackColor = ColorTranslator.FromHtml(FormBackColor)
b.ForeColor = Color.Blue
[code]....
The code removes the border from the flat Button control except on MouseOver, where I add a 1 pixel border. On MouseLeave, I remove the border. This is to show some visual feedback. This works fine when the button does not have the focus. However, if I click on the button, giving the button focus, mousing out and over again now shows a greater than 1 pixel border around the button. I'm imagining it's combining my button's explicit 1 pixel border with the traditional "Winform Button has the focus, so add a border" border around the Button.How can I disable/remove the "Winform Button has the focus, so add a border" border? Or, should I just do a check in ButtonMouseOver to check if the control has the focus, being a condition of adding the border, and just be done with it?
I am currently working on a program that needs to execute an outside program and then remove the border from the program (The border that includes the minimize, maximize, and close buttons) and then embed it into my form. I have everything working except for removing the border. Anyone have some code to do that? I am using vb.net in VS2008.
View 5 RepliesI am using the ListView, and I have a few questions regarding it...
- How do you remove the dotted border around the selected item?
- How do you style the column titles?
On Form Load:
ToolStripMenu.Renderer = New CustomRenderer
Another Class:
Public Class CustomRenderer
Inherits ToolStripSystemRenderer
Protected Overrides Sub OnRenderToolStripBorder(ByVal e As System.Windows.Forms.ToolStripRenderEventArgs)
End Sub
End Class
Obviously nothing is changed:
Changes that has to be made:
1. Remove the border at the bottom
2. Change the style From this:
To This:
Definitely data repeater is a very nice control. I can't remove the border of the data repeater control.It appears black by default. how to remove the border of the data repeater? I am using data repeater in my c# windows based application.
View 1 RepliesI'm trying to figure out how to remove a border from a tab control. The closest thing I can find is the following link but I don't know how to add this to my vb.net form.[URl]..
View 1 RepliesI'm making a datagridview, and I want to remove de cell selection border.
I tried to put these:vb
Private Sub dgvL_CellClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles dgvL.CellClick
dgvL.DefaultCellStyle.SelectionBackColor = dgvL.DefaultCellStyle.BackColor
dgvL.DefaultCellStyle.SelectionForeColor = dgvL.DefaultCellStyle.ForeColor
i'm having a few small problems concerning my MDI child forms.
1). I have a panel that is docked to the parent form so i can change the background colour of the parent form. (the background property doesn't seem to work on MDI parents).But my childforms appear underneath this panel, is there a way to make them appear on top of the panel? (i've tried using .topmost = true).
2). Is there a way to remove the 3d border style of a MDI parent form?
Text (filename) In Window Border?
View 13 RepliesI am trying to get the thick borders you get from Windows Vista when you have resizable windows, but I want my window to be fixed. I am using Visual Basic .Net by the way.
View 14 Replies