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

C / C++ / MFC

 
GeneralRe: How can i lock keyboard and mouse on Windows 9X and Windows NT/2000/XP Pin
bpmtri16-Mar-03 18:57
sussbpmtri16-Mar-03 18:57 
GeneralRe: How can i lock keyboard and mouse on Windows 9X and Windows NT/2000/XP Pin
JoeSox16-Mar-03 19:15
MemberJoeSox16-Mar-03 19:15 
GeneralRe: How can i lock keyboard and mouse on Windows 9X and Windows NT/2000/XP Pin
bpmtri16-Mar-03 19:27
sussbpmtri16-Mar-03 19:27 
AnswerRe: How can i lock keyboard and mouse on Windows 9X and Windows NT/2000/XP Pin
Joan M16-Mar-03 21:56
professionalJoan M16-Mar-03 21:56 
GeneralRe: How can i lock keyboard and mouse on Windows 9X and Windows NT/2000/XP Pin
Alexinuk18-Mar-03 4:55
MemberAlexinuk18-Mar-03 4:55 
GeneralRe: How can i lock keyboard and mouse on Windows 9X and Windows NT/2000/XP Pin
Joan M18-Mar-03 5:36
professionalJoan M18-Mar-03 5:36 
AnswerRe: How can i lock keyboard and mouse on Windows 9X and Windows NT/2000/XP Pin
Valera24117617-Mar-03 11:24
MemberValera24117617-Mar-03 11:24 
GeneralMinimize button not recognized Pin
Bob Eastman16-Mar-03 14:09
MemberBob Eastman16-Mar-03 14:09 
In my application, when I click the minimize button in the upper right corner nothing happens. When I click the maximize button, the application in minimized. I put the following code in CMainFrame, and when I debug, I find that it is never accessed when I click the minimize button. Any suggestions as to why the minimize button is being ignored would be appreciated.

tia

void CMainFrame::OnSysCommand(UINT nID, LPARAM lParam)
{
UINT nItemID = (nID & 0xFFF0);

switch (nItemID)
{
case SC_MAXIMIZE :
MessageBeep(0);
// Window is maximized.
break;
case SC_MINIMIZE:
MessageBeep(0);
// Window is minimized.
break;
}

// call default functionality
CWnd::OnSysCommand(nID, lParam);
}
GeneralRe: Minimize button not recognized Pin
Alvaro Mendez17-Mar-03 7:21
MemberAlvaro Mendez17-Mar-03 7:21 
GeneralRe: Minimize button not recognized Pin
Bob Eastman17-Mar-03 11:54
MemberBob Eastman17-Mar-03 11:54 
GeneralRe: Minimize button not recognized Pin
sigasi17-Mar-03 22:24
Membersigasi17-Mar-03 22:24 
GeneralRe: Minimize button not recognized Pin
Bob Eastman18-Mar-03 0:43
MemberBob Eastman18-Mar-03 0:43 
GeneralRe: Minimize button not recognized Pin
Bob Eastman18-Mar-03 12:04
MemberBob Eastman18-Mar-03 12:04 
Generalbrute force Pin
el davo16-Mar-03 13:46
Memberel davo16-Mar-03 13:46 
GeneralRe: brute force Pin
Dave Bryant16-Mar-03 13:56
MemberDave Bryant16-Mar-03 13:56 
GeneralRe: brute force Pin
el davo16-Mar-03 14:00
Memberel davo16-Mar-03 14:00 
GeneralRe: brute force Pin
Chris Richardson17-Mar-03 8:12
MemberChris Richardson17-Mar-03 8:12 
GeneralRe: brute force Pin
Chris Richardson17-Mar-03 8:36
MemberChris Richardson17-Mar-03 8:36 
GeneralRe: brute force Pin
el davo17-Mar-03 12:32
Memberel davo17-Mar-03 12:32 
GeneralRe: brute force Pin
Chris Richardson17-Mar-03 13:09
MemberChris Richardson17-Mar-03 13:09 
GeneralRe: brute force Pin
el davo17-Mar-03 16:08
Memberel davo17-Mar-03 16:08 
QuestionHow to make an app that runs on Windows 95, 98, ME, NT, 2000 and XP Pin
cdsmith16-Mar-03 13:28
Membercdsmith16-Mar-03 13:28 
AnswerRe: How to make an app that runs on Windows 95, 98, ME, NT, 2000 and XP Pin
georgiek5016-Mar-03 13:37
Membergeorgiek5016-Mar-03 13:37 
GeneralRe: How to make an app that runs on Windows 95, 98, ME, NT, 2000 and XP Pin
Dave Bryant16-Mar-03 13:53
MemberDave Bryant16-Mar-03 13:53 
AnswerRe: How to make an app that runs on Windows 95, 98, ME, NT, 2000 and XP Pin
Joan M16-Mar-03 21:58
professionalJoan M16-Mar-03 21:58 

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.