Click here to Skip to main content
15,912,329 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralAccessing databases with dialog boxes Pin
tgrudt6-Aug-00 10:55
tgrudt6-Aug-00 10:55 
GeneralRe: Accessing databases with dialog boxes Pin
PeterK7-Aug-00 7:24
PeterK7-Aug-00 7:24 
General**** File Open & Save DIALOG BOX ******* Pin
Steve Lai6-Aug-00 6:29
Steve Lai6-Aug-00 6:29 
GeneralRe: **** File Open & Save DIALOG BOX ******* Pin
Mike Dunn6-Aug-00 7:51
Mike Dunn6-Aug-00 7:51 
GeneralFilter downloads in CHtmlView Pin
Pheonix6-Aug-00 3:39
Pheonix6-Aug-00 3:39 
GeneralMFC Scrollable window inside a dialog Pin
Maurizot5-Aug-00 12:18
Maurizot5-Aug-00 12:18 
GeneralRe: MFC Scrollable window inside a dialog Pin
Paolo Messina6-Aug-00 11:09
professionalPaolo Messina6-Aug-00 11:09 
GeneralMouse Button Detection Pin
Ken Bassford5-Aug-00 7:24
sussKen Bassford5-Aug-00 7:24 
I have MSVC++ 5.0 I want a RELIABLE method of detecting the number of buttons a mouse has within my program (inclusive of the Intellimouse Explorer), that will work under Windows 95/98/2000 and NT! I already know the following:
1.)Win32 will always report 2 mouse buttons no matter what type of mouse is connected to the system.
2.)Attempting to use the following code:
if ((hMouse = GetModuleHandle ("MOUSE")) != NULL)
lpfnInquire = (LPFNINQUIRE) GetProcAddress( hMouse, "Inquire" );
This technique will only work if MOUSE.EXE is specified as being loaded under the WIN.INI file! (Most people don't do this anyway, at least under 95. And I don't want to mess up other people's systems by writing to the WIN.INI!)
3.)I DO NOT want to have a list of every possible mouse type that can be connected to the system! (hoplessly dating my program!)

There should be a way (short of writing my own mouse driver) that I can detect the mouse driver and obtain this (number of buttons) information. What is it?
GeneralRe: Mouse Button Detection Pin
Mike Dunn5-Aug-00 8:27
Mike Dunn5-Aug-00 8:27 
GeneralRe: Mouse Button Detection Pin
Ken Bassford5-Aug-00 11:58
sussKen Bassford5-Aug-00 11:58 
GeneralFinding no. of Comm ports in the system Pin
jb5-Aug-00 3:43
jb5-Aug-00 3:43 
GeneralScrolling to the bottom+colors Pin
cowell4-Aug-00 15:12
cowell4-Aug-00 15:12 
GeneralRe: Scrolling to the bottom+colors Pin
Philip Nicoletti7-Aug-00 7:46
Philip Nicoletti7-Aug-00 7:46 
GeneralUnicode Linker error Pin
Chris4-Aug-00 9:09
Chris4-Aug-00 9:09 
QuestionHow to hide Scroll bars in a CListCtrl?? Pin
jose4-Aug-00 7:56
jose4-Aug-00 7:56 
GeneralMicrosoft Web Publishing API requirements Pin
sai4-Aug-00 5:25
sai4-Aug-00 5:25 
GeneralRe: Microsoft Web Publishing API requirements Pin
Blake Miler4-Aug-00 9:51
sussBlake Miler4-Aug-00 9:51 
GeneralDisable the Copy and Drag operations in Webbrowser Pin
balak4-Aug-00 2:28
balak4-Aug-00 2:28 
GeneralNT Services and controls for them ... Pin
Robert Dunn7-Aug-00 10:44
Robert Dunn7-Aug-00 10:44 
GeneralDisabling Print Screen and Print in a Dialog based MFC application Pin
balak4-Aug-00 2:24
balak4-Aug-00 2:24 
GeneralSetting focus to a control Pin
cowell3-Aug-00 23:30
cowell3-Aug-00 23:30 
GeneralRe: Setting focus to a control Pin
Pete4-Aug-00 0:55
Pete4-Aug-00 0:55 
GeneralRe: Setting focus to a control Pin
cowell4-Aug-00 1:28
cowell4-Aug-00 1:28 
GeneralRe: Setting focus to a control Pin
Member 10339074-Aug-00 2:15
Member 10339074-Aug-00 2:15 
GeneralRe: Setting focus to a control Pin
cowell4-Aug-00 14:45
cowell4-Aug-00 14:45 

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.