Hi,
I am trying to create a form with the following
attributes:
1. A sizable border
2. Min, Max, and Close buttons
3. No icon in the upper left hand corner
All of this can be accomplished using the Sizable
FormBorderStyle, but the icon remains. I read something
about needing to overload CreateParams to disable the
icon. Does anyone know how to do this?
Thanks,
Tim 2 1372
Hi,
Try this.
Dim bm As New Bitmap(16, 16)
Me.Icon = Icon.FromHandle(bm.GetHicon)
Ken
-------------------
"Tim" <ar********@discussions.microsoft.com> wrote in message
news:08****************************@phx.gbl... Hi, I am trying to create a form with the following attributes: 1. A sizable border 2. Min, Max, and Close buttons 3. No icon in the upper left hand corner All of this can be accomplished using the Sizable FormBorderStyle, but the icon remains. I read something about needing to overload CreateParams to disable the icon. Does anyone know how to do this?
Thanks, Tim
Hi,
While the space the icon is in does remain,
I believe it will suit my purposes, thank you.
-Tim -----Original Message----- Hi,
Try this. Dim bm As New Bitmap(16, 16)
Me.Icon = Icon.FromHandle(bm.GetHicon)
Ken
-------------------
"Tim" <ar********@discussions.microsoft.com> wrote in
messagenews:08****************************@phx.gbl... Hi, I am trying to create a form with the following attributes: 1. A sizable border 2. Min, Max, and Close buttons 3. No icon in the upper left hand corner All of this can be accomplished using the Sizable FormBorderStyle, but the icon remains. I read something about needing to overload CreateParams to disable the icon. Does anyone know how to do this?
Thanks, Tim
. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Danielb |
last post by:
I want my application to run most of the time as just an notify icon
visible in the system tray, with some dialogs windows that open if the user
selects an option from the context menu on the tray...
|
by: Tony Vitonis |
last post by:
Hello. I've written an app that I want to "live" in the system tray.
I want it to start up with just a tray icon showing, and if the user
selects "Settings..." from the icon's context menu, to...
|
by: Lance |
last post by:
Is there a "best" technique for hiding a form's Close ControlBox button (i.e., the button with an "X" in the top-right corner of a form) but still show the minimize and maximize buttons? I've found...
|
by: Sylo |
last post by:
Hi,
I'm french and I don't find the answer at my question. You are my last
chance and sorry for my english...
I'm in VB .NET 2002
I have a MDI form with the property ControlBox at FALSE. When...
|
by: Saso Zagoranski |
last post by:
Hi,
In .NET 2.0 I have a MDI (parent) form with a menu and a toolbar. I also
have a MDI child form
displayed in the mdi parent form.
The problem is, that when I maximize the child form it's...
|
by: Mrozu |
last post by:
Hi
I need to add to my form ControlBox(this three buttons in right top
corner), one button with "."(dot), which will minimize my App to
SysTray. This button I sow e.g. in eMule;) How I can do...
|
by: UJ |
last post by:
How can I hide the task bar through code? I essentially want to change the
option to hide automatically so I can use the full screen.
TIA - Jeff.
|
by: Joe Cool |
last post by:
You know how when you minimize an application, and you then right
click on the application's task bar icon, a popup menu appears that
has by default the items Restore, Move, Size, Minimize,...
|
by: Franck FJ. Jobard |
last post by:
Hello,
I Would like to add a new icon near the close/minimiez/maximize button in a
winfor
Did someone know how to do it ?
Thanks in advance
Franck
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |