473,769 Members | 1,730 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Always focused ToolBox...

pnp
How can I make a Toolbox form always stay focused without making it a
topmost form?
Nov 16 '05 #1
3 1825
"pnp" <pnp.at.softlab .ece.ntua.gr> wrote:
How can I make a Toolbox form always stay
focused without making it a topmost form?


Topmost forms aren't always focused. What exactly do you mean?

P.
Nov 16 '05 #2
pnp
Hi Paul, thanks for your reply.

What I'm trying to do is not let a user click somewhere outside the form or
even another window (and perhaps place the form behind others forms). The
only way that he could click somewhere else (or something else) would be if
he closed this form.

Have you got any ideas?
I tried a few things but nothing seemed to give focus back to the form if i
clicked away from it...

Peter
"Paul E Collins" <fi************ ******@CL4.org> wrote in message
news:c5******** **@sparta.btint ernet.com...
"pnp" <pnp.at.softlab .ece.ntua.gr> wrote:
How can I make a Toolbox form always stay
focused without making it a topmost form?


Topmost forms aren't always focused. What exactly do you mean?

P.

Nov 16 '05 #3
I don't know if you want to trap the mouse from EVERYTHING or just that
program, but what I use is Form2.ShowDialo g(this).
This won't let anything be done to the owner of that dialog until the dialog
closes.

On 16/04/2004 "pnp" <pnp.at.softlab .ece.ntua.gr> wrote:
Hi Paul, thanks for your reply.

What I'm trying to do is not let a user click somewhere outside the form or
even another window (and perhaps place the form behind others forms). The
only way that he could click somewhere else (or something else) would be if
he closed this form.

Have you got any ideas?
I tried a few things but nothing seemed to give focus back to the form if i
clicked away from it...

Peter
"Paul E Collins" <fi************ ******@CL4.org> wrote in message
news:c5******* ***@sparta.btin ternet.com...
"pnp" <pnp.at.softlab .ece.ntua.gr> wrote:
> How can I make a Toolbox form always stay
> focused without making it a topmost form?


Topmost forms aren't always focused. What exactly do you mean?

P.


Nov 16 '05 #4

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

Similar topics

3
1903
by: Adam Nowotny | last post by:
I've created library with some "user controls" and they all showed up in the toolbox, so it is easy to drag them to a form in Forms Designer. Now we want to use the controls in our main project which is located on another computer. The problem is they don't show up in the toolbox. What's wrong ? -- Adam
4
5854
by: Rudolf Ball | last post by:
Hi NG, how can I programmatically add items to the toolbox? Any links? Thank you Rudi
4
3138
by: Justin | last post by:
I am having trouble adding some of my existing controls to my toolbox in VS.NET. Here's what is going on: 1). I have an existing project that is a Windows Control Library with a bunch of controls. 2). I start a new solution and create an Application 3). I add the existing project with my controls to the solution, then create the reference.
1
1565
by: Michael A. Covington | last post by:
Why is it that, if there is a combo box on the main form, it gets the focus initially, regardless of which other element we have set the focus to?
3
4354
by: Kevin Mellor | last post by:
Hello all, I hope someone can help me. I am not new to developing but am new to C# (assemblies etc) and V Studio 2003, although familiar with terminology from VS6. I am in the nightmare scenario of picking up half written code without comments. This is what I have done.
2
6806
by: Chien Lau | last post by:
I frequently define internal UserControl-derived classes in my WinForms apps: internal class MyUserControl:UserControl{ ... } I'll often need to embed these controls in a Form, whose class is contained in the same assembly as the control. As far as I know, the only way to do this using the designer is to add the UserControl-derived object
10
1537
by: Nak | last post by:
Hi there, I'm having problems with the Toolbox in VB.NET 2002 Standard. I have 2 class libraries, 1 contains licensing classes and references nothing but standard namespaces and the other references my first library in order to protect the exposed components. To make things easier I'll refer to my licensing library as licensinglibrary.dll and my control library as controllibrary.dll. When I try to add mycontrollibrary to the toolbox...
1
1411
by: Siv | last post by:
Hi, All of a sudden half of my VS.NET 2005 toolbox icons have got what looks like a chart icon instead of their usual one. What gives and why does it happen?? More importantly, how do I get the usual icons back. It feels a bit like the old ShellIconCache problem Windows used to suffer from?? Siv
7
4616
by: gtrDayve | last post by:
Recently I ran all my Windows Updates which included many for Visual Studio 2005, & now when I open VS05 (using ASP.NET, VB.NET), all my toolbox options are grayed out except for the Data options; which include: DataSet, DataGridView, BindingSource, etc. This means that Label, Textbox, button, etc are all unavailable. My "General" option in Toolbox states "There are no useable controls in this group." I can run apps ok, & if I copy a...
0
9589
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9423
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,...
1
9994
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,...
0
9863
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8870
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7408
isladogs
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...
0
5298
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...
2
3561
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2815
bsmnconsultancy
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...

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.