Hi All,
I just want to change the mouse cursor during a process. I want a
hourglass...
How may I do it ?
Thx 8 16995
me.cursors = cursors.waitcur sor
"Eddie" <ma************ *@videotron.ca> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. .. Hi All,
I just want to change the mouse cursor during a process. I want a hourglass...
How may I do it ?
Thx
sorry...
me.cursor = cursors.waitcur sor
"Morgan" <ab**@senditon. com> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. .. me.cursors = cursors.waitcur sor
"Eddie" <ma************ *@videotron.ca> wrote in message news:%2******** ********@tk2msf tngp13.phx.gbl. .. Hi All,
I just want to change the mouse cursor during a process. I want a hourglass...
How may I do it ?
Thx
Hi,
Me.Cursor = Cursors.WaitCur sor ' hourglass
Me.Cursor = Cursors.Default ' default
Ken
--------------
"Eddie" <ma************ *@videotron.ca> wrote in message
news:#V******** ******@tk2msftn gp13.phx.gbl: Hi All,
I just want to change the mouse cursor during a process. I want a hourglass...
How may I do it ?
Thx
--
Outgoing mail is certified Virus Free.
Checked by AVG Anti-Virus ( http://www.grisoft.com).
Version: 7.0.230 / Virus Database: 263.3.0 - Release Date: 6/12/2004
* "Eddie" <ma************ *@videotron.ca> scripsit: I just want to change the mouse cursor during a process. I want a hourglass...
\\\
Cursor.Current = Cursors.WaitCur sor
///
--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Not sure where I read about this (MSDN magazine article?), but it explicity
said NOT to use Cursor.Current = Cursors.WaitCur sor, but to instead use
Me.Cursor = Cursors.WaitCur sor. I was having all kinds of problems with the
mouse not changing correctly until I switched to using Me.Cursor.
I will try and find the link to back this up. :)
Greg
"Herfried K. Wagner [MVP]" <hi************ ***@gmx.at> wrote in message
news:2j******** ****@uni-berlin.de... * "Eddie" <ma************ *@videotron.ca> scripsit: I just want to change the mouse cursor during a process. I want a hourglass...
\\\ Cursor.Current = Cursors.WaitCur sor ///
-- Herfried K. Wagner [MVP] <URL:http://dotnet.mvps.org/>
Hi Eddie,
Controlname.cur sor = cursors.WaitCur sor
I hope this helps?
Cor I just want to change the mouse cursor during a process. I want a hourglass...
How may I do it ?
"Greg Burns" <greg_burns@DON T_SPAM_ME_hotma il.com> schrieb Not sure where I read about this (MSDN magazine article?), but it explicity said NOT to use Cursor.Current = Cursors.WaitCur sor, but to instead use Me.Cursor = Cursors.WaitCur sor. I was having all kinds of problems with the mouse not changing correctly until I switched to using Me.Cursor.
I will try and find the link to back this up. :)
If the UI is not idle (and does not use doevents), one should use
cursor.current because it affects the whole application. Otherwise you'd
have to set the cursor for each single control (including forms).
--
Armin
How to quote and why: http://www.plig.net/nnq/nquote.html http://www.netmeister.org/news/learn2quote.html This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Tee |
last post by:
Hi,
From my main form, I am executing another application using
System.Diagnostics.Process.Start.
The application has its own window displaying when the applicaiton is run.
I want to change the cursor to a hourglass. But I only can change my own
form's cursor using Cursor.Current, whenever I move my mouse cursor into the
window, the mouse cursor back to default cursor.
I want to change the cursor in the process's window too. Can...
|
by: KarenP |
last post by:
In my Windows Forms application, while executing a process that takes some
time, I am changing the cursor to the hourglass by setting Cursor.Current =
Cursors.WaitCursor.
This is working just fine, except that any mouse events generated during
this wait period (such as clicking on a button, etc.), get processed once the
processing is complete. For example, while waiting for my task to complete,
I click on a button (even though the...
|
by: larry mckay |
last post by:
does anyone have a code sample that changes the mouse cursor to an
hourglass or waitcursor ?
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
|
by: DotNetShadow |
last post by:
Hi Guys,
I have been having this problem recently where I have a form with a
textbox and button, if in the button event I have the following:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Me.Cursor = Cursors.WaitCursor
Textbox1.text = Now.Tostring
System.Threading.Thread.Sleep(2000) ' 2 second wait
|
by: Stefan Mueller |
last post by:
With the following code I can change the mouse pointer. However, if you
click in Mozilla (with IE it works perfect) on 'Show hourglass' the mouse
pointer changes only if you move the mouse at least on pixel.
<html>
<body>
<script type = 'text/javascript'>
function show_hourglass() {
document.getElementById("my_href1").style.cursor = "wait";
document.getElementById("my_href2").style.cursor = "wait";
| |
by: diatom |
last post by:
Hello,
I have a custom dialog. When the user hits the 'Ok' button, I want my mouse
to turn into an hourglass while its performing work - and then I want it to
go back to normal afer the work is finished.
In C# and Windows projects, how I can I control the look of the mouse?
Thanks
|
by: mcraven.2 |
last post by:
I know this works on all objects except drop down boxes.
doc = document.all
for (i=0;i<doc.length;i++)
{
doc(i).style.cursor = 'wait';
}
Is it possible to make a cursor into an hourglass over a drop down?
|
by: Jan Heppen |
last post by:
Is it posible to set something so that when my vb.net (visual studio 2005,
framework 2.0) application is busy that the mouse pointer change into a
hourglass ?
Or do i have to set everywhere where my application do something
Windows.Forms.Cursor.Current = Cursors.WaitCursor ??
something is for example calling the sql-server database to get/set data
please help me
|
by: alanpike |
last post by:
When a vbscript runs, is it possible to change the cursor to an hourglass until the script has completed running? Please reference the following simple script:
(change cursor to hourglass here)
For I = 0 to 1000000
I = I + 1
Next
(change cursor back to default here)
|
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: 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: 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...
|
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...
|
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: 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: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
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
| |