Click here to Skip to main content
15,909,897 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Additional resource files? Pin
Navin21-Nov-02 4:18
Navin21-Nov-02 4:18 
GeneralRe: Additional resource files? Pin
Jamie Hale21-Nov-02 4:25
Jamie Hale21-Nov-02 4:25 
GeneralGDI Object Grouping Pin
Kyudos21-Nov-02 3:25
Kyudos21-Nov-02 3:25 
GeneralRe: GDI Object Grouping Pin
Paul M Watt21-Nov-02 8:32
mentorPaul M Watt21-Nov-02 8:32 
GeneralRe: GDI Object Grouping Pin
uwemundry22-Nov-02 18:07
sussuwemundry22-Nov-02 18:07 
GeneralRe: GDI Object Grouping Pin
Kyudos27-Nov-02 2:42
Kyudos27-Nov-02 2:42 
GeneralALT+ENTER key... Pin
Neha21-Nov-02 3:17
Neha21-Nov-02 3:17 
GeneralRe: ALT+ENTER key... Pin
Fazlul Kabir21-Nov-02 3:57
Fazlul Kabir21-Nov-02 3:57 
ALT is a syskey, so you need to override WM_SYSKEYDOWN. In class wizard, if the message does not appear, then change the message filter under "class info" tab to "Window".

Here is the code to check if ALT+RETURN is pressed

void CMyView::OnSysKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags) <br />
{<br />
	if(GetKeyState(VK_MENU) < 0 && nChar == VK_RETURN)<br />
	{<br />
		// ALT + RETURN key presed<br />
		// add your code here<br />
	}<br />
	CView::OnSysKeyDown(nChar, nRepCnt, nFlags);<br />
}


Hope this helps.

// Fazlul
GeneralRe: ALT+ENTER key... Pin
Neha21-Nov-02 16:52
Neha21-Nov-02 16:52 
GeneralRe: ALT+ENTER key... Pin
James R. Twine21-Nov-02 17:59
James R. Twine21-Nov-02 17:59 
GeneralMFC Printing Question Pin
Nick Parker21-Nov-02 3:14
protectorNick Parker21-Nov-02 3:14 
GeneralRe: MFC Printing Question Pin
Nitron21-Nov-02 3:36
Nitron21-Nov-02 3:36 
GeneralRe: MFC Printing Question Pin
Nick Parker21-Nov-02 3:45
protectorNick Parker21-Nov-02 3:45 
GeneralRe: MFC Printing Question Pin
Nitron21-Nov-02 3:56
Nitron21-Nov-02 3:56 
GeneralRe: MFC Printing Question Pin
Ravi Bhavnani21-Nov-02 5:26
professionalRavi Bhavnani21-Nov-02 5:26 
GeneralRe: MFC Printing Question Pin
Nitron21-Nov-02 5:32
Nitron21-Nov-02 5:32 
GeneralRe: MFC Printing Question Pin
Joao Vaz21-Nov-02 5:38
Joao Vaz21-Nov-02 5:38 
GeneralRe: MFC Printing Question Pin
Ravi Bhavnani21-Nov-02 6:48
professionalRavi Bhavnani21-Nov-02 6:48 
GeneralRe: MFC Printing Question Pin
Joao Vaz21-Nov-02 7:23
Joao Vaz21-Nov-02 7:23 
GeneralRe: MFC Printing Question Pin
Chad Koehler21-Nov-02 5:40
Chad Koehler21-Nov-02 5:40 
GeneralRe: MFC Printing Question Pin
Ravi Bhavnani21-Nov-02 6:47
professionalRavi Bhavnani21-Nov-02 6:47 
GeneralRe: MFC Printing Question Pin
Joao Vaz21-Nov-02 7:21
Joao Vaz21-Nov-02 7:21 
Generaldebuger can't watch static variable in VC6+SP5 Pin
Alan Wen21-Nov-02 3:04
Alan Wen21-Nov-02 3:04 
QuestionWhy the APP fails (GPF) ?? Pin
Cris21-Nov-02 2:41
Cris21-Nov-02 2:41 
AnswerRe: Why the APP fails (GPF) ?? Pin
Maximilien21-Nov-02 2:54
Maximilien21-Nov-02 2:54 

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.