473,406 Members | 2,220 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Cursor Disappears on Windows Forms (.Net 1.1)

I posted this in dotnet.framework.windowsforms and haven't received a reply.
Hopefully someone here can help.

I have a windows form (.Net 1.1) with a text box and some combo boxes on it.
The comboboxes auto drop down when they receive focus. Here's the problem:
When you start typing in the text box the cursor disappears (this appears to
be standard windows behavior). When you hit tab and the first combo box
receives focus the cursor will not show on the windows form. You can move
your mouse outside the bounds of the form and your mouse cursor will show but
not on top of the windows form. You can even move it up and down on the combo
box that is open (because of the auto drop down) and you'll see the blue
focus bar move up and down. You just can't see the cursor. Once you click or
something the cursor comes back. Does anyone know how to force the cursor to
show back up? I've tried a show cursor windows API without success. Any help
would be appreciated.

I created a demo project to show what I'm talking about. You can download it
at http://www.HedgesTechnologies.com/Do...CursorTest.zip.

Thanks!
Jason Hedges
ja***@hedgestechnologies.com

Jan 24 '06 #1
1 2453
I am having the same problem. Have you found a solution yet?

Thanks,
Randy Hammond

"Jason J. Hedges" wrote:
I posted this in dotnet.framework.windowsforms and haven't received a reply.
Hopefully someone here can help.

I have a windows form (.Net 1.1) with a text box and some combo boxes on it.
The comboboxes auto drop down when they receive focus. Here's the problem:
When you start typing in the text box the cursor disappears (this appears to
be standard windows behavior). When you hit tab and the first combo box
receives focus the cursor will not show on the windows form. You can move
your mouse outside the bounds of the form and your mouse cursor will show but
not on top of the windows form. You can even move it up and down on the combo
box that is open (because of the auto drop down) and you'll see the blue
focus bar move up and down. You just can't see the cursor. Once you click or
something the cursor comes back. Does anyone know how to force the cursor to
show back up? I've tried a show cursor windows API without success. Any help
would be appreciated.

I created a demo project to show what I'm talking about. You can download it
at http://www.HedgesTechnologies.com/Do...CursorTest.zip.

Thanks!
Jason Hedges
ja***@hedgestechnologies.com

Mar 13 '06 #2

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

Similar topics

9
by: jkarp2 | last post by:
Ok. I just switched to VB.net, and well, everything seemed find. .NET took care of buffering, and some nice DirectX features. The code formating is usless, just a pain to get it way I like it. ...
4
by: mphanke | last post by:
Hi, I have a snippet which makes me go mad! The clip region of the Cursor is set correctly, but I can't reset it anymore afterwards! This really drives me nuts, because I don't understand...
39
by: jcrouse | last post by:
I am using the following code to get a background image for my form Private Sub mnuBgroundImage_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles mnuBgroundImage.Clic If...
1
by: Marc Robitaille | last post by:
Hello I build a usercontrol. On this new control, I added two controls, a TextBox and a ComboBox. My ComboBox is filled with a DataTable. When the user types something in the TextBox, I apply a...
6
by: Peter Oliphant | last post by:
I've now asked how three times in this forum with no answers. So I went to the 'windowsforms' newsgroup, and found this post, also unanswered, with the same problem: "Hello, I've tried to...
7
by: Academic | last post by:
What are the different effects of the following two statements: C1.Cursor = Cursors.WaitCursor C1.Cursor.Current = Cursors.WaitCursor I believe the first replaces the entire C1.Cursor...
1
by: Martijn Mulder | last post by:
I load my custom cursor with the constructor call System.Windows.Forms.Cursor mycursor=new System.Windows.Forms(GetType(),"MyCursor.Cur"); and the appropriate command line csc...
10
by: Franky | last post by:
I think I misread a post and understood that if I do: System.Windows.Forms.Cursor.Current = Cursors.WaitCursor there is no need to reset the cursor to Default. So I made all the reset...
1
by: sCryptKeeper | last post by:
I'm trying to change the cursor while a drag and drop occurs between two lists in a winforms. I tried several ways (several tutorial and solutions) found over the web. I even tried to simply...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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,...
0
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,...
0
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...

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.