473,549 Members | 2,921 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Snap lines

For a bespoke control, how can I implement my own designer snap lines in
VS2005? I remember finding an MS article once, but I now can't re-locate it.

Basically, I have a custom-control that comprises e.g. a TextBox and some
other things; I don't want to do anything too clever - I just want to
forward the snap-lines on my control to inherit those from the TextBox,
mainly for the "bottom of the text" snap line (for want of a better term) -
"the pink one" (how's that for uber-technical ;-p).

Cheers in advance;

Marc
Dec 2 '05 #1
1 3817
You can get information on snap lines at the link below. It may be helpful.
http://www.windowsforms.net/Default....dex=5&tabid=60

--
Tim Wilson
..NET Compact Framework MVP

"Marc Gravell" <mg******@rm.co m> wrote in message
news:Oy******** *****@TK2MSFTNG P10.phx.gbl...
For a bespoke control, how can I implement my own designer snap lines in
VS2005? I remember finding an MS article once, but I now can't re-locate it.
Basically, I have a custom-control that comprises e.g. a TextBox and some
other things; I don't want to do anything too clever - I just want to
forward the snap-lines on my control to inherit those from the TextBox,
mainly for the "bottom of the text" snap line (for want of a better term) - "the pink one" (how's that for uber-technical ;-p).

Cheers in advance;

Marc

Dec 2 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
6814
by: Rhonda | last post by:
Using AccessXP I have lost snap to grid on my system. New or existing databases do not snap to grid for forms and reports in design view. Anyone have an idea on how to get it back?? Thanks. Rhonda
2
4977
by: SStory | last post by:
I have a picture that I allow the user to move around and would like to offer grid support like VB and other apps so that it will snap to the nearest point. How can I offer grid support so that the image will snap in place on grid points like a commerical app? I am not sure how to implement that. Anyone have any code? Thanks,
6
4523
by: Jim Hubbard | last post by:
Anybody seen an example of a snap-in GUI done in VB.Net?
1
1712
by: Sam | last post by:
Hi guys I'm writing a small drawing program which has "snap to grid" mode and I want to display something (some kind of shapes for example a small square or circle which indicate the current snap point of my mouse) but I have no success so far. I tried controlpain.drawreversibleframe method to draw a tiny square to indicate my current snap...
1
1566
by: Driez | last post by:
I recently installed .Net Framework 2.0 on my computer. I have developed a snap in c# using a library from sourceforge (http://sourceforge.net/projects/mmclibrary/) on Visual Studio 2003 When I run my MMC project in debug mode from Visual Studio 2003 the mmc starts up but crahes immediately. An hourglass appears and then the MMC crashes. I...
0
1897
by: Brian Henry | last post by:
Ok I've never implemented a snap location before so I dont really know what im doing wrong here... anyways, I am making a custom slider control that takes dates as its values instead of integers... then taking that date range and finding dates specifiec between them (in a list of dates) and putting snap marks, so if you slide it near one of...
1
3101
by: =?Utf-8?B?Q29lbg==?= | last post by:
When I right click on My Computer, manage, I get a pop-up with the title "SQL Server Configuration Manager" In the pop up appears the following message: "MMC has detected an error in a snap-in. It is recommended that you shut down and testart MMC" What should I do to avoid and solve this problem. (Server 2003 R2 with SQL Server 2005 with or...
3
1848
by: Simon | last post by:
Dear reader, I have a Snap Shot file located in a folder. Now I like to view the Snap Shot file. First I created a string with the full pathname and Snap Shot file.
4
2194
by: MangroveRoot | last post by:
A few years ago, I worked on a project in which I designed some tables, queries, forms, and reports. I'm reasonably certain that when I was designing the forms for that project, I set the snap-to grid to something like 1/16", or 1/10", or 1/8" -- enough so that it was obvious that the form elements were nicely lined up (and nicely spaced),...
0
7560
marktang
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...
0
7487
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...
0
7998
jinu1996
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7517
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...
0
7844
tracyyun
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5126
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...
0
3530
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...
1
1978
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1093
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.