CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Bugger cursor

  1. #1
    Join Date
    Oct 2010
    Posts
    46

    Bugger cursor

    Hi. I've already created thread about this in Graphics programing ( http://www.codeguru.com/forum/showthread.php?t=520054 ) but then i figured out that this might be not only OpenGL problem. So after i create window (like this http://nehe.gamedev.net/tutorial/cre...in32%29/13001/ ) cursor turns into beam (blue circle wich appears when cpu is busy) and it only turns into arrow if i move cursor off window and then move it back to the window. Moving it programically didn't solve the problem, cursor still turns into beam when i return it to window. I tried everything i could to make cursor become arrow as soon as window starts, but nothing helped so i hope you can help me
    Thanks in advance,
    Fire_

    P.S i'm modified NeHe code a little bit and put window creation into class, wich i put into .dll. I don't know if that changes anythig but i thought i should write that.
    Last edited by fire_; January 13th, 2012 at 01:20 AM.

  2. #2
    Join Date
    Nov 2003
    Location
    Belgium
    Posts
    8,150

    Re: Bugger cursor

    Without code, or compilable project attached, it's hard to know what is going on.

    Take a look at SetCursor and see if it might help.
    Marc Gregoire - NuonSoft (http://www.nuonsoft.com)
    My Blog
    Wallpaper Cycler 3.5.0.97

    Author of Professional C++, 4th Edition by Wiley/Wrox (includes C++17 features)
    ISBN: 978-1-119-42130-6
    [ http://www.facebook.com/professionalcpp ]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured