23383

To create another mouse cursor in VC++ MFC

Question:

Am struck up with a problem.. Basically in my project am having two windows. when certain condition is satisfied, i need to do operation on two windows simultaneously at the same time. Initially, I used to do like this First do operation on first window once finished then perform operation on second window & the result is there is delay between these two operations since it has to happen at the same time same movement without delay..

So i thought to create another mouse cursor.. I mean one original mouse cursor & another Programmatically created cursor, So when condition satisfied Original cursor can operate on first window & programmatically created can operate on second window.. with this both operation can happen simultaneously at the same time.. Please can anyone guide/suggest me Is it possible to create another cursor ? If so, please suggest me... If not, Give me any ideas how to accomplish this task..

Thank you all..

Answer1:

No, you can't have two cursors.

If you're just moving the windows, try <a href="http://msdn.microsoft.com/en-us/library/windows/desktop/ms632681%28v=vs.85%29.aspx" rel="nofollow">DeferWindowPos</a>; otherwise you could try using <a href="http://msdn.microsoft.com/en-us/library/btaacw58%28v=vs.80%29.aspx" rel="nofollow">SetRedraw</a>. Then at least they will <em>look</em> as if they are moving / changing at the same time...

Recommend

  • how to do mono to stereo conversion?
  • Change paused animation's play state to running on click of a link
  • D3 v4 force layout disable animation on drag
  • Can someone please explain how this implementation of bucket sort works?
  • Recycler View Inside Recycler View not Scrolling
  • Modify a Google App Engine entity id?
  • Where to put clearQueue in jQuery code
  • UITableView takes much longer to load when numberOfRows returns a large number
  • Java Garbage collection, setting reference to null
  • Wait for .each() .getJSON request to finish before executing a callback
  • Jquery UI Sortable, move item automatically
  • countdown bar android example
  • Using MouseListener to select a range of cells in a grid
  • Python cosine function precision [duplicate]
  • How to pass nginx proxy url for socket
  • vectorized indexing/slicing in numpy/scipy?
  • Rest Services conventions
  • Do query loads all the data in memory
  • How to make R's read_csv2() recognise the text characters properly
  • Jenkins: FATAL: Could not initialize class hudson.util.ProcessTree$UnixReflection
  • Unable to get column index with table.getColumn method using custom table Model
  • Transactional Create with Validation in ServiceStack Redis Client
  • Hardware Accelerated Image Scaling in windows using C++
  • Alert pop up with LWUIT
  • Disabling Alt-F4 on a Win Forms NotifyIcon
  • CSS Linear-gradient formatting issue accross different browsers
  • Update CALayer sublayers immediately
  • Convert array of 8 bytes to signed long in C++
  • Rearranging Cells in UITableView Bug & Saving Changes
  • Numpy divide by zero. Why?
  • php design question - will a Helper help here?
  • Circular dependency while pushing http interceptor
  • Linker errors when using intrinsic function via function pointer
  • AngularJs get employee from factory
  • Suggestions to manage Login/Logout transitions
  • -fvisibility=hidden not passed by compiler for Debug builds
  • FormattedException instead of throw new Exception(string.Format(…)) in .NET
  • How to CLICK on IE download dialog box i.e.(Open, Save, Save As…)
  • IndexOutOfRangeException on multidimensional array despite using GetLength check
  • Authorize attributes not working in MVC 4