Click here to Skip to main content
15,887,267 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Static Text Control Pin
Hamid_RT18-Oct-06 1:13
Hamid_RT18-Oct-06 1:13 
GeneralRe: Static Text Control Pin
ThatsAlok18-Oct-06 2:19
ThatsAlok18-Oct-06 2:19 
AnswerRe: Static Text Control Pin
ThatsAlok17-Oct-06 21:36
ThatsAlok17-Oct-06 21:36 
QuestionHow to print multiple views on one page Pin
kalpesh_0716-Oct-06 21:49
kalpesh_0716-Oct-06 21:49 
QuestionCTRL + DOWN Pin
baerten16-Oct-06 21:45
baerten16-Oct-06 21:45 
AnswerRe: CTRL + DOWN Pin
Nibu babu thomas16-Oct-06 21:47
Nibu babu thomas16-Oct-06 21:47 
QuestionRe: CTRL + DOWN Pin
baerten16-Oct-06 21:56
baerten16-Oct-06 21:56 
AnswerRe: CTRL + DOWN Pin
jhwurmbach16-Oct-06 22:21
jhwurmbach16-Oct-06 22:21 
In OnKeyDown (no, thats not the handler for the Down-key pressed Wink | ;) )
you could check for any key-combination like this:
if (Key==VK_DOWN && GetKeyState(VK_CONTROL))

Or, you would check it in PreTranslateMessages:
BOOL CSomeFormView::PreTranslateMessage( MSG* pMsg)
{
if ( WM_KEYDOWN == pMsg->message )
{
switch (pMsg->wParam)
{
case VK_UP:
{
if( GetKeyState(VK_CONTROL))
{
OnUp();
}
break;
}
case VK_DOWN:
{
OnDown();
break;
}
case VK_SPACE:
{
OnStop();
break;
}
}
}

return CFormView::PreTranslateMessage(pMsg);
}




"We trained hard, but it seemed that every time we were beginning to form up into teams we would be reorganised. I was to learn later in life that we tend to meet any new situation by reorganising: and a wonderful method it can be for creating the illusion of progress, while producing confusion, inefficiency and demoralisation."

-- Caius Petronius, Roman Consul, 66 A.D.

GeneralRe: CTRL + DOWN Pin
baerten16-Oct-06 22:31
baerten16-Oct-06 22:31 
QuestionCTabCtrl set inactive tabitem? Pin
bosfan16-Oct-06 21:43
bosfan16-Oct-06 21:43 
AnswerRe: CTabCtrl set inactive tabitem? Pin
Hamid_RT17-Oct-06 0:34
Hamid_RT17-Oct-06 0:34 
GeneralRe: CTabCtrl set inactive tabitem? Pin
bosfan18-Oct-06 3:34
bosfan18-Oct-06 3:34 
GeneralRe: CTabCtrl set inactive tabitem? Pin
Hamid_RT18-Oct-06 8:44
Hamid_RT18-Oct-06 8:44 
AnswerRe: CTabCtrl set inactive tabitem? Pin
ThatsAlok18-Oct-06 2:20
ThatsAlok18-Oct-06 2:20 
GeneralRe: CTabCtrl set inactive tabitem? Pin
bosfan18-Oct-06 3:33
bosfan18-Oct-06 3:33 
GeneralRe: CTabCtrl set inactive tabitem? Pin
ThatsAlok18-Oct-06 4:30
ThatsAlok18-Oct-06 4:30 
GeneralRe: CTabCtrl set inactive tabitem? Pin
bosfan18-Oct-06 5:07
bosfan18-Oct-06 5:07 
GeneralRe: CTabCtrl set inactive tabitem? Pin
Hamid_RT18-Oct-06 8:45
Hamid_RT18-Oct-06 8:45 
GeneralRe: CTabCtrl set inactive tabitem? Pin
bosfan18-Oct-06 21:00
bosfan18-Oct-06 21:00 
GeneralRe: CTabCtrl set inactive tabitem? Pin
Hamid_RT19-Oct-06 7:35
Hamid_RT19-Oct-06 7:35 
Questionlog on as this account with SERVICE_INTERACTIVE_PROCESS Pin
noeleon16-Oct-06 21:25
noeleon16-Oct-06 21:25 
Questionservice systray icons Pin
noeleon16-Oct-06 21:22
noeleon16-Oct-06 21:22 
AnswerRe: service systray icons Pin
Mark Salsbery17-Oct-06 7:12
Mark Salsbery17-Oct-06 7:12 
AnswerRe: service systray icons Pin
ThatsAlok18-Oct-06 2:19
ThatsAlok18-Oct-06 2:19 
Questionmodifying the system image list fails in Vista Pin
indra2016-Oct-06 21:17
indra2016-Oct-06 21:17 

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.