Click here to Skip to main content
15,899,314 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Handled Error not handled??? Pin
Tim Deveaux23-Jun-00 5:41
Tim Deveaux23-Jun-00 5:41 
GeneralRe: Handled Error not handled??? Pin
Tim Deveaux23-Jun-00 8:23
Tim Deveaux23-Jun-00 8:23 
GeneralSetCapture and Accelerator Keys Pin
Ingo22-Jun-00 23:13
Ingo22-Jun-00 23:13 
GeneralResource editor component Pin
Amir Wassermann22-Jun-00 8:25
sussAmir Wassermann22-Jun-00 8:25 
GeneralTooltip with differnt fonts possible Pin
Andreas Mauer22-Jun-00 7:46
sussAndreas Mauer22-Jun-00 7:46 
GeneralRe: Tooltip with differnt fonts possible Pin
Mike Dunn22-Jun-00 7:57
Mike Dunn22-Jun-00 7:57 
GeneralRe: Tooltip with differnt fonts possible Pin
Chris Maunder27-Jun-00 13:15
cofounderChris Maunder27-Jun-00 13:15 
GeneralCapturing F10 Pin
Chris Mancini22-Jun-00 5:43
Chris Mancini22-Jun-00 5:43 
I am writing an application for a customer and they have selected that F10 and it's variations (Ctl, Alt, Shift) bring up different windows.

Now I know that F10 is a System key used for Menu's and such, but I have tried WM_SYSCOMMAND and WM_SYSKEYDOWN to no avail. Here is my code for OnSysCommand:

void CMyDialog::OnSysCommand(UINT nID, LPARAM lParam)
{
if (nID == SC_KEYMENU)
{
UINT nKey = VK_F10;
OnFunctionKey(&nKey);
}
else
{
CDialog::OnSysCommand(nID, lParam);
}
}

This works fine...but it works whether the user presses F10 or just Alt, which I don't want. So the basic question is
"Has anybody used F10 for something other than a menu initializer?"

Thanks
Chris Mancini
GeneralRe: Capturing F10 Pin
solex22-Jun-00 21:32
solex22-Jun-00 21:32 
Generalreplication with ODBC Pin
peanut9022-Jun-00 4:38
peanut9022-Jun-00 4:38 
GeneralAttach to Process.. PROBLEM! Pin
Jignesh Patel22-Jun-00 3:46
Jignesh Patel22-Jun-00 3:46 
GeneralRe: Attach to Process.. PROBLEM! - Known Bug. Pin
jignesh22-Jun-00 3:48
jignesh22-Jun-00 3:48 
GeneralOne more discussion board Pin
someone22-Jun-00 2:18
someone22-Jun-00 2:18 
QuestionHow to extract part of the exe at runtime ? Pin
gentle21-Jun-00 23:59
gentle21-Jun-00 23:59 
GeneralCListViewControl Pin
Andrew JM Hall21-Jun-00 22:07
Andrew JM Hall21-Jun-00 22:07 
Questionhow can i create a CEdit control in ATL program? Pin
T21-Jun-00 13:52
T21-Jun-00 13:52 
QuestionHow to play some AVI-Files ? Pin
Mhulla21-Jun-00 13:07
Mhulla21-Jun-00 13:07 
AnswerRe: How to play some AVI-Files ? Pin
Jeremy Davis21-Jun-00 22:20
Jeremy Davis21-Jun-00 22:20 
GeneralBeginner - Create button - COM Pin
knei21-Jun-00 5:03
sussknei21-Jun-00 5:03 
GeneralBeginner - Create button - COM Pin
knei21-Jun-00 5:01
sussknei21-Jun-00 5:01 
GeneralUsing custom images as cursors Pin
Benedict Verheyen21-Jun-00 3:40
sussBenedict Verheyen21-Jun-00 3:40 
GeneralClassic C++ Pin
peanut9021-Jun-00 3:40
peanut9021-Jun-00 3:40 
Generaldisplaying window in combo dropdown Pin
rwilco21-Jun-00 3:04
rwilco21-Jun-00 3:04 
GeneralRe: displaying window in combo dropdown Pin
poklio23-Jun-00 10:25
poklio23-Jun-00 10:25 
QuestionHow to get rid of the scrollbars in a WebBrowser control? Pin
panoramix21-Jun-00 2:38
panoramix21-Jun-00 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.