Click here to Skip to main content
15,921,169 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralSet cursor problem Pin
eli150219799-Feb-05 0:20
eli150219799-Feb-05 0:20 
GeneralRe: Set cursor problem Pin
namaskaaram9-Feb-05 1:05
namaskaaram9-Feb-05 1:05 
GeneralBitmap to jpeg conversion Pin
TheCult9-Feb-05 0:15
TheCult9-Feb-05 0:15 
GeneralRe: Bitmap to jpeg conversion Pin
One Stone9-Feb-05 2:23
One Stone9-Feb-05 2:23 
GeneralRe: Bitmap to jpeg conversion Pin
TheCult9-Feb-05 6:18
TheCult9-Feb-05 6:18 
QuestionHow do I add a new item to the New Shell menu Pin
Anonymous8-Feb-05 23:17
Anonymous8-Feb-05 23:17 
QuestionHow to receive Events from VB OCX ? Pin
Ro_land8-Feb-05 23:14
Ro_land8-Feb-05 23:14 
GeneralSendInput Pin
mcsherry8-Feb-05 22:04
mcsherry8-Feb-05 22:04 
I currently trying to create mouse input using the SendInput method. I've currently got it so that I can change the mouse location however my program will in future take the new co-ordinates from a seperate program, does anyone know if there are any system methods to convert the users input (say in DP) to the 'display surface map'(i.e. 65535,65535)) used by the SendInput method?

Just in case I haven't explain clearly I paste what it says in MSDN about this:
"If MOUSEEVENTF_ABSOLUTE value is specified, dx and dy contain normalized absolute coordinates between 0 and 65,535. The event procedure maps these coordinates onto the display surface. Coordinate (0,0) maps onto the upper-left corner of the display surface, (65535,65535) maps onto the lower-right corner. "

The full article on MSDN is at:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/userinput/mouseinput/mouseinputreference/mouseinputfunctions/mouse_event.asp[^]
GeneralFocus issues Pin
greekgoddj8-Feb-05 21:57
greekgoddj8-Feb-05 21:57 
Questionhow to change printers without PrintDialog? Pin
george ivanov8-Feb-05 21:19
george ivanov8-Feb-05 21:19 
AnswerRe: how to change printers without PrintDialog? Pin
Anonymous8-Feb-05 21:58
Anonymous8-Feb-05 21:58 
AnswerRe: how to change printers without PrintDialog? Pin
g3e8-Feb-05 23:02
g3e8-Feb-05 23:02 
Questionhow to disable close button of CPropertySheet? Pin
includeh108-Feb-05 20:59
includeh108-Feb-05 20:59 
Generalwindows error help Pin
Tariq8788-Feb-05 20:40
Tariq8788-Feb-05 20:40 
GeneralRe: windows error help Pin
includeh108-Feb-05 21:04
includeh108-Feb-05 21:04 
GeneralRe: windows error help Pin
2249178-Feb-05 21:55
2249178-Feb-05 21:55 
QuestionHow do you capture a run on C++? Pin
Atptour8-Feb-05 20:34
Atptour8-Feb-05 20:34 
AnswerRe: How do you capture a run on C++? Pin
David Crow9-Feb-05 2:28
David Crow9-Feb-05 2:28 
AnswerRe: How do you capture a run on C++? Pin
pc_dev9-Feb-05 21:12
pc_dev9-Feb-05 21:12 
Generalclose process Pin
includeh108-Feb-05 20:10
includeh108-Feb-05 20:10 
GeneralRe: close process Pin
toxcct8-Feb-05 21:30
toxcct8-Feb-05 21:30 
Generalmessage of CPropertySheet Pin
includeh108-Feb-05 19:54
includeh108-Feb-05 19:54 
GeneralRe: message of CPropertySheet Pin
2249178-Feb-05 21:46
2249178-Feb-05 21:46 
Generalhelp on display modes Pin
uday__m8-Feb-05 19:53
uday__m8-Feb-05 19:53 
GeneralProblem in Printing a Page? using VC++ Pin
zahid_ash8-Feb-05 19:52
zahid_ash8-Feb-05 19:52 

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.