Click here to Skip to main content
15,919,567 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Need help with restaring a thread Pin
Gary R. Wheeler22-Feb-04 15:43
Gary R. Wheeler22-Feb-04 15:43 
Generalrotate function Pin
Cuu21-Feb-04 7:55
Cuu21-Feb-04 7:55 
GeneralRe: rotate function Pin
alex.barylski21-Feb-04 11:16
alex.barylski21-Feb-04 11:16 
GeneralRe: rotate function Pin
Cuu21-Feb-04 19:32
Cuu21-Feb-04 19:32 
GeneralRe: rotate function Pin
Cuu22-Feb-04 4:23
Cuu22-Feb-04 4:23 
GeneralVisual C++ 6 Syntax Highlighting Pin
Archer28221-Feb-04 7:11
Archer28221-Feb-04 7:11 
GeneralRe: Visual C++ 6 Syntax Highlighting Pin
Ravi Bhavnani21-Feb-04 8:07
professionalRavi Bhavnani21-Feb-04 8:07 
GeneralRe: Visual C++ 6 Syntax Highlighting Pin
Archer28221-Feb-04 8:13
Archer28221-Feb-04 8:13 
GeneralRe: Visual C++ 6 Syntax Highlighting Pin
Ravi Bhavnani21-Feb-04 8:22
professionalRavi Bhavnani21-Feb-04 8:22 
GeneralRe: Visual C++ 6 Syntax Highlighting Pin
Archer28221-Feb-04 8:26
Archer28221-Feb-04 8:26 
GeneralRe: Visual C++ 6 Syntax Highlighting Pin
Ravi Bhavnani21-Feb-04 8:41
professionalRavi Bhavnani21-Feb-04 8:41 
GeneralRe: Visual C++ 6 Syntax Highlighting Pin
Archer28221-Feb-04 8:44
Archer28221-Feb-04 8:44 
GeneralRe: Visual C++ 6 Syntax Highlighting Pin
Ravi Bhavnani21-Feb-04 8:49
professionalRavi Bhavnani21-Feb-04 8:49 
Generalwindows program in background and simulate keyboard Pin
Ylis21-Feb-04 5:41
Ylis21-Feb-04 5:41 
GeneralRe: windows program in background and simulate keyboard Pin
Prakash Nadar21-Feb-04 5:46
Prakash Nadar21-Feb-04 5:46 
GeneralRe: windows program in background and simulate keyboard Pin
Ylis21-Feb-04 6:43
Ylis21-Feb-04 6:43 
GeneralRe: windows program in background and simulate keyboard Pin
Nirav Doshi21-Feb-04 12:23
Nirav Doshi21-Feb-04 12:23 
GeneralIDirectSound8::SetCooperativeLevel Pin
Alexander M.,21-Feb-04 5:11
Alexander M.,21-Feb-04 5:11 
GeneralRe: IDirectSound8::SetCooperativeLevel Pin
Prakash Nadar21-Feb-04 5:42
Prakash Nadar21-Feb-04 5:42 
GeneralAnother problem. Pin
Alexander M.,21-Feb-04 7:30
Alexander M.,21-Feb-04 7:30 
GeneralTracking the mouse like Autocad (big cross) Pin
Tim Schuhmacher21-Feb-04 4:17
Tim Schuhmacher21-Feb-04 4:17 
I am studying for software engineer, but I am not (yet) very skilled. A relative asked me if I could help him. He has an eyeproblem and has trouble locating the mousecursor in Windows. He works with Autocad where the position of the mousecurosr is shown by a big cross. So a horizontal line covering the whole width of the monitor at the y position of the cursor and a vertical line covering the whole height of the monitor at the x position of the mousecursor. So where the 2 lines intersect there is the mousecursor.

I want to make a program that runs on top of every other program in windows and shows that cross. I searched 'The code project' and found some interresting articles. Here http://www.codeproject.com/bitmap/DeskShoot.asp abhinaba describes a way to shoot hole at your windows desktop and all the running application. The trouble with this is that 1 time a copy of the desktop is taken and the holes are painted on that copy and shown on top of everything else, so the programs that are running can be accessed until you close the shooting program.

My program should show the cross and the mouseposition on top of everything, but other programs must be able to get focus.

I already tried something with getDC. I am able to get a copy of the desktop, can draw on ii and also show it, but than the problem is that when I get the desktop for the second time the old cross pointing at the old position of the mousecursor I also visible. So eventually the screen will be filled with multiple crosses.

Is it actually possible to draw dynamically over the whole desktop with keeping the functionality to acces all the running programs? Am I looking in the right direction and can somebody help me further?

Oh by the way using a bigger mousecursor is not an option. Or maybe somebody knows a program that give this functionality?

English ins't my native language, so sorry for that Smile | :)
GeneralRe: Tracking the mouse like Autocad (big cross) Pin
Prakash Nadar21-Feb-04 5:52
Prakash Nadar21-Feb-04 5:52 
GeneralRe: Tracking the mouse like Autocad (big cross) Pin
Tim Schuhmacher21-Feb-04 5:59
Tim Schuhmacher21-Feb-04 5:59 
GeneralRe: Tracking the mouse like Autocad (big cross) Pin
Prakash Nadar21-Feb-04 6:12
Prakash Nadar21-Feb-04 6:12 
GeneralRe: Tracking the mouse like Autocad (big cross) Pin
Tim Schuhmacher21-Feb-04 11:51
Tim Schuhmacher21-Feb-04 11:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.