Click here to Skip to main content
15,881,413 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerOnHScroll --- further question Pin
ns20-Oct-03 5:28
ns20-Oct-03 5:28 
GeneralRe: OnHScroll --- further question Pin
Ravi Bhavnani20-Oct-03 6:15
professionalRavi Bhavnani20-Oct-03 6:15 
GeneralRe: OnHScroll --- further question Pin
ns20-Oct-03 7:49
ns20-Oct-03 7:49 
GeneralRe: OnHScroll --- further question Pin
Ravi Bhavnani20-Oct-03 7:56
professionalRavi Bhavnani20-Oct-03 7:56 
GeneralRe: OnHScroll --- further question Pin
ns20-Oct-03 9:59
ns20-Oct-03 9:59 
GeneralRe: OnHScroll --- further question Pin
Ravi Bhavnani20-Oct-03 10:07
professionalRavi Bhavnani20-Oct-03 10:07 
GeneralRe: OnHScroll --- further question Pin
Rafael Fernández López20-Oct-03 6:34
Rafael Fernández López20-Oct-03 6:34 
Generalaccelerators and mdi Pin
godzooky20-Oct-03 4:35
godzooky20-Oct-03 4:35 
i have a mdi app (using vc++ 7) and i'm trying to enable keyboard accelerators. when there is no document open, the accelerators work fine. however, when a document is open, the accelerators do not work. i added a HACCEL member to my view class, initialized it with a call to ::LoadAccelerators() and overrode PreTranslateMessage() like so,

BOOL MyFormViewView::PreTranslateMessage(MSG* pMsg)
{
if ( CFormView::PreTranslateMessage(pMsg) )
return TRUE;

return ((FAccelTable != NULL) && ::TranslateAccelerator(m_hWnd, FAccelTable, pMsg));
}

as far as i can tell, FAccelTable is initialized properly.

what am i doing wrong?

thanks.

GeneralRe: accelerators and mdi Pin
Ravi Bhavnani20-Oct-03 6:16
professionalRavi Bhavnani20-Oct-03 6:16 
GeneralRe: accelerators and mdi Pin
godzooky20-Oct-03 7:06
godzooky20-Oct-03 7:06 
GeneralRe: accelerators and mdi Pin
Ravi Bhavnani20-Oct-03 7:12
professionalRavi Bhavnani20-Oct-03 7:12 
GeneralRe: accelerators and mdi Pin
godzooky21-Oct-03 2:31
godzooky21-Oct-03 2:31 
GeneralHelp w/ MSI access in VC++ Pin
badsmonkey20-Oct-03 4:24
badsmonkey20-Oct-03 4:24 
GeneralRe: Help w/ MSI access in VC++ Pin
Michael P Butler20-Oct-03 4:42
Michael P Butler20-Oct-03 4:42 
GeneralRe: Help w/ MSI access in VC++ Pin
badsmonkey20-Oct-03 5:18
badsmonkey20-Oct-03 5:18 
GeneralTextArea like in Word Pin
huub20-Oct-03 4:20
huub20-Oct-03 4:20 
GeneralCMDIChildWnd and close-all functionality q. Pin
Maximilien20-Oct-03 3:35
Maximilien20-Oct-03 3:35 
GeneralUNICODE Pin
sinanswedani20-Oct-03 3:13
sinanswedani20-Oct-03 3:13 
GeneralRe: UNICODE Pin
E2120-Oct-03 3:46
E2120-Oct-03 3:46 
GeneralRe: UNICODE Pin
sinanswedani20-Oct-03 4:08
sinanswedani20-Oct-03 4:08 
GeneralRe: UNICODE Pin
E2120-Oct-03 21:52
E2120-Oct-03 21:52 
GeneralRe: how to burn CD Pin
Dominik Reichl20-Oct-03 2:31
Dominik Reichl20-Oct-03 2:31 
GeneralRe: how to burn CD Pin
Rafael Fernández López20-Oct-03 5:46
Rafael Fernández López20-Oct-03 5:46 
GeneralFunction Pin
Anonymous20-Oct-03 2:12
Anonymous20-Oct-03 2:12 
GeneralRe: Function Pin
Alexander M.,20-Oct-03 2:38
Alexander M.,20-Oct-03 2:38 

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.