Correct cursor problem in C++ source code

This is a minor task to do in C++ Version 6.


I'm not allowed to give the whole source to someone.

A solution could be to do the work in here, via skype, teamviewer or alike.

The project itself is an ActiveX control.

It provides an OpenGL window and has a lot of sophisticated functionality.

It complies with no errors, and it runs well - since years.

The nature of the problem to be solved is trivial.

It has nothing to do with the OpenGL and other stuff.

It is about the cursor handling.

From the container side I can set a cursor to show, and this works well.

There is a property to set the cursor for the control (SetCustomCursor).

It uses SetClassLong(m_hWnd, GCL_HCURSOR, (LONG) nNewValue);.

And exactly this is the problem, as it sets the cursor for the whole class.

Means, every instance of the control uses the same cursor then.

This is not wanted, it must be possible to set the cursor different for every instance of the control.

So correct way is to write an own handler to WM_SETCURSOR message in windows message handling routine.

This is what needs to be done.

There is also another cursor system in the control, which reacts on different mouse actions.

This one simply uses SetCursor and works as expected.

The cursor data is in the control itself as a ressource.

This system may not be touched or altered.

Kemahiran: Pengaturcaraan C++

Lihat lagi: what is in programming, what is in c programming, what is a class in programming, source code programming, set in c, project handler, programming what is a class, or in c programming, c source code, c programming code, cplusplus set, container programming, container in c, puzzle problem java source code, math problem alarm source code, traveling salesman problem source code, stable marriage problem java source code, source code prolog missionaries cannibals problem, cannibals missionaries problem source code, source code barber shop problem java

Tentang Majikan:
( 26 ulasan ) Dortmund, Germany

ID Projek: #8749656

Dianugerahkan kepada:


A proposal has not yet been provided

$50 USD dalam 3 hari
(3 Ulasan)

6 pekerja bebas membida secara purata $206 untuk pekerjaan ini


Hello I'm interesting your project very well I'm a Good C++, OpenGL, Math, Algorithm expert. I understand your req exactly. I m quite well experienced in these jobs. Let's go ahead with me I want to service f Lagi

$250 USD dalam 2 hari
(535 Ulasan)

Hello ... well ..."From the container side I can set a cursor to show, and this works well". So, it seems like all controls receives the same message?. Is it a static method or something like?. Another solution is... t Lagi

$250 USD dalam 5 hari
(103 Ulasan)

A proposal has not yet been provided

$266 USD dalam 3 hari
(97 Ulasan)

Hi there, I am a software engineer. I can do your work with great accuracy and with complete [login to view URL] free to ask me anything.

$222 USD dalam 3 hari
(30 Ulasan)

I can do this task very well.

$195 USD dalam 30 hari
(4 Ulasan)