Find Jobs
Hire Freelancers

Correct cursor problem in C++ source code

$30-250 USD

Ukończony
Opublikowano ponad 8 lat temu

$30-250 USD

Płatne przy odbiorze
This is a minor task to do in C++ Version 6. Attention: 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.
Identyfikator projektu: 8749656

Informację o projekcie

5 ofert
Zdalny projekt
Aktywny 8 lat temu

Szukasz sposobu na zarobienie pieniędzy?

Korzyści ze składania ofert na Freelancer.com

Ustal budżet i ramy czasowe
Otrzymuj wynagrodzenie za swoją pracę
Przedstaw swoją propozycję
Rejestracja i składanie ofert jest bezpłatne
Przyznano:
Awatar Użytkownika
A proposal has not yet been provided
$50 USD w 3 dni
5,0 (3 opinii)
2,9
2,9
5 freelancerzy składają oferty o średniej wysokości $193 USD dla tej pracy
Awatar Użytkownika
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 for you continously. Thanks
$250 USD w 2 dni
4,9 (622 opinii)
8,8
8,8
Awatar Użytkownika
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... to handle the mouse move. Every time the mouse if over a control, it may receive the mousemove event... and you can set the cursor you want on every control, according to the current object state. Just some ideas. I have 22 years working in vc++... I started with vc++ 5.0, 6.0 ... then 2005, 2010, 2012, 2013, 2015. So, I like MFC and windows API. so much... also, I have master and PhD in computer science...all my develop has been done in vc++. Best regards!.
$250 USD w 5 dni
5,0 (110 opinii)
7,3
7,3
Awatar Użytkownika
I can do this task very well.
$195 USD w 30 dni
5,0 (4 opinii)
3,7
3,7

O kliencie

Flaga GERMANY
Dortmund, Germany
4,9
27
Zweryfikowana metoda płatności
Członek od lip 9, 2010

Weryfikacja Klienta

Dziękujemy! Przesłaliśmy Ci e-mailem link do odebrania darmowego bonusu.
Coś poszło nie tak podczas wysyłania wiadomości e-mail. Proszę spróbować ponownie.
Zarejestrowani Użytkownicy Całkowita Liczba Opublikowanych Projektów
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Wczytywanie podglądu
Udzielono pozwolenia na Geolokalizację.
Twoja sesja logowania wygasła i zostałeś wylogowany. Proszę, zalogować się ponownie.