Click here to Skip to main content
15,898,036 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionUnhandled exception in ntdll.dll access violation reading location 0xFFFFFFFFFFFFFFFF Pin
ForNow1-Aug-16 8:04
ForNow1-Aug-16 8:04 
AnswerRe: Unhandled exception in ntdll.dll access violation reading location 0xFFFFFFFFFFFFFFFF Pin
Victor Nijegorodov1-Aug-16 11:02
Victor Nijegorodov1-Aug-16 11:02 
GeneralRe: Unhandled exception in ntdll.dll access violation reading location 0xFFFFFFFFFFFFFFFF Pin
ForNow1-Aug-16 12:46
ForNow1-Aug-16 12:46 
GeneralRe: Unhandled exception in ntdll.dll access violation reading location 0xFFFFFFFFFFFFFFFF Pin
leon de boer1-Aug-16 16:09
leon de boer1-Aug-16 16:09 
AnswerRe: Unhandled exception in ntdll.dll access violation reading location 0xFFFFFFFFFFFFFFFF Pin
Richard MacCutchan1-Aug-16 22:05
mveRichard MacCutchan1-Aug-16 22:05 
GeneralRe: Unhandled exception in ntdll.dll access violation reading location 0xFFFFFFFFFFFFFFFF Pin
ForNow2-Aug-16 1:53
ForNow2-Aug-16 1:53 
GeneralRe: Unhandled exception in ntdll.dll access violation reading location 0xFFFFFFFFFFFFFFFF Pin
Richard MacCutchan2-Aug-16 2:01
mveRichard MacCutchan2-Aug-16 2:01 
QuestionThe messages used by mice and joysticks Pin
Anthony Appleyard30-Jul-16 12:37
Anthony Appleyard30-Jul-16 12:37 
If I put these two functions in a Windows program

/*-----*/
void SetTitle(HWND wn,char*S)
{SendMessage(wn,WM_SETTEXT,0,(long)S);}
/*-----*/
void GetTitle(HWND wn,char*S,long n)
{SendMessage(wn,WM_GETTEXT,n,(long)S);}
/*-----*/

these functions will set and read the window's title.

If I use these to catch the mouse interrupts:-

case WM_LBUTTONDOWN: case WM_LBUTTONUP: case WM_LBUTTONDBLCLK:
case WM_RBUTTONDOWN: case WM_RBUTTONUP: case WM_RBUTTONDBLCLK:
case WM_MBUTTONDOWN: case WM_MBUTTONUP:
case WM_MBUTTONDBLCLK: case WM_MOUSEMOVE:
{int x=short(L&0xffff),y=short(L>>16)&0xffff; char Z[64];
sprintf(Z,"{%d,%d,%2x}",x,y,S); SetTitle(wn,Z); goto DEF;}

the window's title will show the current mouse return values.

Please, what are the message names used to catch interrupts from a game-type joystick?, if I want to program for a joystick or similar.
AnswerRe: The messages used by mice and joysticks Pin
Richard MacCutchan30-Jul-16 21:35
mveRichard MacCutchan30-Jul-16 21:35 
QuestionMice with 3 buttons Pin
Anthony Appleyard30-Jul-16 10:22
Anthony Appleyard30-Jul-16 10:22 
AnswerRe: Mice with 3 buttons Pin
Richard MacCutchan30-Jul-16 21:33
mveRichard MacCutchan30-Jul-16 21:33 
AnswerRe: Mice with 3 buttons Pin
Jochen Arndt30-Jul-16 22:18
professionalJochen Arndt30-Jul-16 22:18 
Questionplease help me with this problem Pin
Member 1254719729-Jul-16 6:29
Member 1254719729-Jul-16 6:29 
AnswerRe: please help me with this problem Pin
Richard Deeming29-Jul-16 6:44
mveRichard Deeming29-Jul-16 6:44 
Questionplease help me with this problem Pin
Member 1254719729-Jul-16 6:16
Member 1254719729-Jul-16 6:16 
AnswerRe: please help me with this problem Pin
leon de boer29-Jul-16 17:32
leon de boer29-Jul-16 17:32 
QuestionRecursive directory search Pin
Anthony Appleyard29-Jul-16 4:44
Anthony Appleyard29-Jul-16 4:44 
QuestionRe: Recursive directory search Pin
Richard MacCutchan29-Jul-16 5:02
mveRichard MacCutchan29-Jul-16 5:02 
AnswerRe: Recursive directory search Pin
Anthony Appleyard29-Jul-16 10:57
Anthony Appleyard29-Jul-16 10:57 
GeneralRe: Recursive directory search Pin
Richard MacCutchan29-Jul-16 22:23
mveRichard MacCutchan29-Jul-16 22:23 
AnswerRe: Recursive directory search Pin
David Crow1-Aug-16 5:01
David Crow1-Aug-16 5:01 
Questionvariadic templates problem Pin
FriendOfAsherah28-Jul-16 23:49
FriendOfAsherah28-Jul-16 23:49 
QuestionTrying to understand my mistake... with pointers Pin
Blubbo28-Jul-16 8:04
Blubbo28-Jul-16 8:04 
AnswerRe: Trying to understand my mistake... with pointers Pin
jeron128-Jul-16 9:30
jeron128-Jul-16 9:30 
AnswerRe: Trying to understand my mistake... with pointers Pin
leon de boer29-Jul-16 17:53
leon de boer29-Jul-16 17:53 

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.