473,837 Members | 1,796 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

MousePointer

I am having trouble getting the MousePointer method working.
I am using
frmMain.MousePo inter = vbHourglass
..
..
..
..
..frmMain.Mouse Pointer = vbNormal

The pointer does not change. If I put a msgbox before the call it works
fine. Is my code going to fast? Does windows need to be Paused?

Help Please
G
Jul 17 '05 #1
2 4261
"Grant from GD Technologies" <gr***@gdtech.c a> wrote
I am having trouble getting the MousePointer method working.
I am using
frmMain.MousePo inter = vbHourglass
...
frmMain.MousePo inter = vbNormal

The pointer does not change. If I put a msgbox before the call it works
fine. Is my code going to fast? Does windows need to be Paused?

Yes, changing the mouse pointer is a very low priority task. Issue several
DoEvents right after changing it, or issue a few (sparingly) in your code.

Either, and sometimes both are needed. Try it and see....

LFS


-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
Jul 17 '05 #2
On Tue, 18 Nov 2003 11:42:27 -0600, "Larry Serflaten"
<Fi******@RiskO fBeingSpam.med> wrote:
"Grant from GD Technologies" <gr***@gdtech.c a> wrote
I am having trouble getting the MousePointer method working.
I am using
frmMain.MousePo inter = vbHourglass
...
frmMain.MousePo inter = vbNormal

The pointer does not change. If I put a msgbox before the call it works
fine. Is my code going to fast? Does windows need to be Paused?

Yes, changing the mouse pointer is a very low priority task. Issue several
DoEvents right after changing it, or issue a few (sparingly) in your code.

Either, and sometimes both are needed. Try it and see....


.... and forcing an update of the mouse by moving it by a pixel ...
Jul 17 '05 #3

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

Similar topics

4
25034
by: Andras Gilicz | last post by:
Hi VB fans I'm working on a relatively large project in VB6 with about a dozen forms, including graphs, labels, text boxes, etc. The software itself is actually a flow simulator with more or less complex technical calculations, several input variables. I would like to equipp the starting panel with the usual New, Open, Save, Save As, Close etc. menus (like in Excel, or Word, etc.) What is the best way to accomplish Save, or Save As?...
1
1458
by: Harald Weiser | last post by:
Good morning everybody. I would like to know if it is possible to move the mousepointer to another location with Javascript? For example Mouse.jumpTo(x,y) THX Harry
7
2341
by: lauren quantrell | last post by:
A while back I got a requirement for the client to be able to adjust the relative heights of two subforms by click-dragging the mouse and I came up with a kludge solution using a border control between the two subforms. But I put my mind to this again recently and came up with a solution (code below) that works well with multiple subforms to size both the heights and widths of the sunforms relative to each other, and it uses no additional...
2
1048
by: Imran | last post by:
Hi I am using an aspx page and on a button click, i want to access mousepointer. Any ideas on how to do it ? I can't access System.Windows as its a webform Thanks
6
4743
by: Stefan Mueller | last post by:
With document.body.style.cursor = "wait"; I can set the hourglass and with document.body.style.cursor = "default"; I can set the MousePointer back. That works great. But if I do document.body.style.cursor = "wait"; <sort the table> document.body.style.cursor = "default";
0
1188
Mauro
by: Mauro | last post by:
Hi! Could someone help me? Where can I find Hyperlink mouse pointer (hand)?
10
3128
by: Esmael | last post by:
Hi to all, /*****************************/ OS-WIn XP SP2 VB6 SP6 /*****************************/ Is their anyone who can help me with this: Source code written on VB6.
1
1008
by: Aniket Singh | last post by:
hi, I am doing a project in asp with vb script in my project i am using a dll which has basic functionality like zoom in, zoom out, panning, scrolling etc and now i want to give information of the particular part of map in a separate window on mouse move event. Main thing is that i am taking geo file from dll and i m converting this geo image in jpg format and now i want to display the information of particular area in separate window in...
1
1336
by: Ellie | last post by:
Hi, I'm trying to have the mousepointer change to the link pointer when the Div onmouseover event is fired. Is there a way to do this? Thanks Ellie
0
9846
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
10891
Oralloy
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...
1
10638
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
9418
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
7821
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
7009
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();...
0
5859
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4480
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
3
3128
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.