Hi:
How would I place a divider on the form where it looks chiseled and thin
line - they are everywhere in Windows Apps, but cannot find the control to
put on the form.
Thanks 11 8404
Hi,
Take a look at the Splitterbar
Ken
---------------
"Tarren" <noemailplease@ thankyou> wrote in message
news:eV******** *****@TK2MSFTNG P11.phx.gbl... Hi:
How would I place a divider on the form where it looks chiseled and thin line - they are everywhere in Windows Apps, but cannot find the control to put on the form.
Thanks
* "Tarren" <noemailplease@ thankyou> scripsit: How would I place a divider on the form where it looks chiseled and thin line - they are everywhere in Windows Apps, but cannot find the control to put on the form.
Have a look at the toolbox, there is a Splitter control available. You
will have to dock the other containers to this control.
--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Tarren,
Do you want a visible divider, like the VB6 line control?
Or do you want a movable divider like the divider between the Folder Tree &
File List on Windows Explorer?
For the later see the Splitter control the others suggested.
For the former see the following articles: http://msdn.microsoft.com/msdnmag/is...s/default.aspx
I remember an article on using the Windows "STATIC" control to draw the
line, however I am not finding a link right now.
Hope this helps
Jay
"Tarren" <noemailplease@ thankyou> wrote in message
news:eV******** *****@TK2MSFTNG P11.phx.gbl... Hi:
How would I place a divider on the form where it looks chiseled and thin line - they are everywhere in Windows Apps, but cannot find the control to put on the form.
Thanks
Have a look at http://www.codeproject.com/cs/miscct...lesplitter.asp
--
HTH
Éric Moreau, MCSD
Conseiller Principal / Senior Consultant
Concept S2i inc.( www.s2i.com)
"Tarren" <noemailplease@ thankyou> wrote in message
news:eV******** *****@TK2MSFTNG P11.phx.gbl... Hi:
How would I place a divider on the form where it looks chiseled and thin line - they are everywhere in Windows Apps, but cannot find the control to put on the form.
Thanks
Hi Tarren,
Because you say that you see that you see them everywhere in windows, I have
an other answer than the others.
Do you mean the groupbox?
You can drag it on a form and than just drag your other controls in it.
Keep in mind that the groupbox is than the parent of the controls you have
dragged in it.
Cor How would I place a divider on the form where it looks chiseled and thin line - they are everywhere in Windows Apps, but cannot find the control to put on the form.
* "Jay B. Harlow [MVP - Outlook]" <Ja************ @msn.com> scripsit: I remember an article on using the Windows "STATIC" control to draw the line, however I am not finding a link right now.
You can use a label control with width or height set to 2, and
'BorderStyle' set to 'Fixed3D' to create an inset line.
--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Herfried,
The article I'm thinking of actually created a Win32 Line (it did not rely
on the width & height trick).
Basically they applied with Win32 style of SS_ETCHEDHORZ to the Win32 Window
Handle to get a horizontal etched line.
Basically using one of the following: http://msdn.microsoft.com/library/de...trolstyles.asp
I thought it was an MSDN Magazine article, however I'm not finding it right
now. I'll see if I can find the link...
Thanks
Jay
"Herfried K. Wagner [MVP]" <hi************ ***@gmx.at> wrote in message
news:c7******** ***@ID-208219.news.uni-berlin.de... * "Jay B. Harlow [MVP - Outlook]" <Ja************ @msn.com> scripsit: I remember an article on using the Windows "STATIC" control to draw the line, however I am not finding a link right now.
You can use a label control with width or height set to 2, and 'BorderStyle' set to 'Fixed3D' to create an inset line.
-- Herfried K. Wagner [MVP] <URL:http://dotnet.mvps.org/>
Herfried,
Found it, check out the following article: http://www.codeproject.com/cs/miscctrl/hvrules1.asp
Hope this helps
Jay
"Herfried K. Wagner [MVP]" <hi************ ***@gmx.at> wrote in message
news:c7******** ***@ID-208219.news.uni-berlin.de... * "Jay B. Harlow [MVP - Outlook]" <Ja************ @msn.com> scripsit: I remember an article on using the Windows "STATIC" control to draw the line, however I am not finding a link right now.
You can use a label control with width or height set to 2, and 'BorderStyle' set to 'Fixed3D' to create an inset line.
-- Herfried K. Wagner [MVP] <URL:http://dotnet.mvps.org/>
Jay,
* "Jay B. Harlow [MVP - Outlook]" <Ja************ @msn.com> scripsit: Found it, check out the following article:
http://www.codeproject.com/cs/miscctrl/hvrules1.asp
Interesting, but a lot of work for a little line ;-).
--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/> This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: RAJ |
last post by:
hi
plz tell me how to know "how window is going to close"...
i have to right code for X button of forms...
plz telll me
thanks
bye
|
by: Ayende Rahien |
last post by:
Excetremely annoying problem, I've an application with a long startup time.
So I created another form with my logo in it to as a splash screen.
The splash screen is run from another thread and is communicated solely
through static method and Invoke()'s
However, when I close my second form, the first one (main window) is hiding
under all the windows on the desktop.
If I don't close the splash screen, then everything is fine.
I tried...
|
by: Bilo |
last post by:
I have a Windows Forms Class MainGUI
I have declared
MainGUI maingui;
public System.ComponentModel.Container components = new Container();
in the Class
I call another class MediaDriver with the Constructor
class MediaDriver
{
|
by: Rajat Tandon |
last post by:
Hello there,
I am relatively new to the newsgroups and C#. I have never been disappointed
with the groups and always got the prompt replies to my queries.This is yet
another strange issue, I am facing. Please please help me to solve this as
soon as possible.
So here we go ...
I am not able to take the screen shot of the windows form based "Smart
|
by: Lucas Tam |
last post by:
Is there a divider control in VB.NET similar to a Horizontal Line in HTML?
In the About Box of VS.NET, there is a divider line at the bottom of the
page.
--
Lucas Tam (REMOVEnntp@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
| |
by: Rod Gill |
last post by:
Hi,
I have a form that when opened in the designer appears of the screen. The
form selector can't be dragged (or resized) and if I scroll right and down
to centralise it the form simply jumps further away, completely leaving the
selector box area.
Any ideas? VS 2003 and VB.Net
This is a simple application at the moment but the form is inherited from a
|
by: Jim Lewis |
last post by:
Anyone know how to create a draggable divider between two Tkinter
windows?
|
by: Lord Zoltar |
last post by:
Hi,
I've got a list view that displays a series of images. I'd like to be
able to draw a divider across the list view to divide the images into
groups. Ideally, I'd have a group name, with a line underneath it that
spans the ListView. How could this be done? I tried using an image as
the divider, but it forced the divider image to be the same size as
the image size used for the ImageList that stores the images for the
ListView.
|
by: Dan Tallent |
last post by:
In my application I have a form (Customer) that I want to be able to open
multiple copies at once. Within this form I have other forms that can be
opened. Example: ZipCode. When the user enters a zipcode that is unknown
this form will open. I don't want users to modify any of this customers
data until they close the zipcode form. Normally this can accomplished
using a modal form, however this prevents me from opening a new copy of...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |