Click here to Skip to main content
15,500,453 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionUnhandled exception in ntdll.dll access violation reading location 0xFFFFFFFFFFFFFFFF Pin
ForNow1-Aug-16 9:04
MemberForNow1-Aug-16 9:04 
AnswerRe: Unhandled exception in ntdll.dll access violation reading location 0xFFFFFFFFFFFFFFFF Pin
Victor Nijegorodov1-Aug-16 12:02
MemberVictor Nijegorodov1-Aug-16 12:02 
GeneralRe: Unhandled exception in ntdll.dll access violation reading location 0xFFFFFFFFFFFFFFFF Pin
ForNow1-Aug-16 13:46
MemberForNow1-Aug-16 13:46 
GeneralRe: Unhandled exception in ntdll.dll access violation reading location 0xFFFFFFFFFFFFFFFF Pin
leon de boer1-Aug-16 17:09
Memberleon de boer1-Aug-16 17:09 
AnswerRe: Unhandled exception in ntdll.dll access violation reading location 0xFFFFFFFFFFFFFFFF Pin
Richard MacCutchan1-Aug-16 23:05
mveRichard MacCutchan1-Aug-16 23:05 
GeneralRe: Unhandled exception in ntdll.dll access violation reading location 0xFFFFFFFFFFFFFFFF Pin
ForNow2-Aug-16 2:53
MemberForNow2-Aug-16 2:53 
GeneralRe: Unhandled exception in ntdll.dll access violation reading location 0xFFFFFFFFFFFFFFFF Pin
Richard MacCutchan2-Aug-16 3:01
mveRichard MacCutchan2-Aug-16 3:01 
QuestionThe messages used by mice and joysticks Pin
Anthony Appleyard30-Jul-16 13:37
MemberAnthony Appleyard30-Jul-16 13: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 22:35
mveRichard MacCutchan30-Jul-16 22:35 
QuestionMice with 3 buttons Pin
Anthony Appleyard30-Jul-16 11:22
MemberAnthony Appleyard30-Jul-16 11:22 
AnswerRe: Mice with 3 buttons Pin
Richard MacCutchan30-Jul-16 22:33
mveRichard MacCutchan30-Jul-16 22:33 
AnswerRe: Mice with 3 buttons Pin
Jochen Arndt30-Jul-16 23:18
professionalJochen Arndt30-Jul-16 23:18 
Questionplease help me with this problem Pin
Member 1254719729-Jul-16 7:29
MemberMember 1254719729-Jul-16 7:29 
AnswerRe: please help me with this problem Pin
Richard Deeming29-Jul-16 7:44
mveRichard Deeming29-Jul-16 7:44 
Questionplease help me with this problem Pin
Member 1254719729-Jul-16 7:16
MemberMember 1254719729-Jul-16 7:16 
AnswerRe: please help me with this problem Pin
leon de boer29-Jul-16 18:32
Memberleon de boer29-Jul-16 18:32 
QuestionRecursive directory search Pin
Anthony Appleyard29-Jul-16 5:44
MemberAnthony Appleyard29-Jul-16 5:44 
QuestionRe: Recursive directory search Pin
Richard MacCutchan29-Jul-16 6:02
mveRichard MacCutchan29-Jul-16 6:02 
AnswerRe: Recursive directory search Pin
Anthony Appleyard29-Jul-16 11:57
MemberAnthony Appleyard29-Jul-16 11:57 
GeneralRe: Recursive directory search Pin
Richard MacCutchan29-Jul-16 23:23
mveRichard MacCutchan29-Jul-16 23:23 
AnswerRe: Recursive directory search Pin
David Crow1-Aug-16 6:01
MemberDavid Crow1-Aug-16 6:01 
Questionvariadic templates problem Pin
FriendOfAsherah29-Jul-16 0:49
MemberFriendOfAsherah29-Jul-16 0:49 
QuestionTrying to understand my mistake... with pointers Pin
Blubbo28-Jul-16 9:04
MemberBlubbo28-Jul-16 9:04 
AnswerRe: Trying to understand my mistake... with pointers Pin
jeron128-Jul-16 10:30
Memberjeron128-Jul-16 10:30 
AnswerRe: Trying to understand my mistake... with pointers Pin
leon de boer29-Jul-16 18:53
Memberleon de boer29-Jul-16 18: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.