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

C / C++ / MFC

 
Questionhow to compare the text of two html pages Pin
Mohsen Saad13-Jun-05 14:19
Mohsen Saad13-Jun-05 14:19 
AnswerRe: how to compare the text of two html pages Pin
Christian Graus13-Jun-05 14:26
protectorChristian Graus13-Jun-05 14:26 
QuestionNeed Help! FTP filename with space? Pin
lewislewis_lewis13-Jun-05 12:59
lewislewis_lewis13-Jun-05 12:59 
AnswerRe: Need Help! FTP filename with space? Pin
Aamir Butt13-Jun-05 22:06
Aamir Butt13-Jun-05 22:06 
QuestionHow do I remove files from a project build ? Pin
Still learning how to code13-Jun-05 8:01
Still learning how to code13-Jun-05 8:01 
AnswerRe: How do I remove files from a project build ? Pin
Bob Stanneveld13-Jun-05 11:05
Bob Stanneveld13-Jun-05 11:05 
GeneralRe: How do I remove files from a project build ? Pin
Still learning how to code13-Jun-05 11:28
Still learning how to code13-Jun-05 11:28 
GeneralRe: How do I remove files from a project build ? Pin
Bob Stanneveld13-Jun-05 11:40
Bob Stanneveld13-Jun-05 11:40 
GeneralCreating own Error Report Dialogs Pin
RedDragon2k13-Jun-05 6:31
RedDragon2k13-Jun-05 6:31 
GeneralRe: Creating own Error Report Dialogs Pin
David Crow13-Jun-05 7:36
David Crow13-Jun-05 7:36 
GeneralRe: Creating own Error Report Dialogs Pin
Bob Stanneveld13-Jun-05 11:02
Bob Stanneveld13-Jun-05 11:02 
GeneralRe: Creating own Error Report Dialogs Pin
Jack Puppy13-Jun-05 16:18
Jack Puppy13-Jun-05 16:18 
GeneralAdding Sound to AVI Files Pin
Anonymous13-Jun-05 9:25
Anonymous13-Jun-05 9:25 
GeneralRe: Adding Sound to AVI Files Pin
tom_dx13-Jun-05 13:54
tom_dx13-Jun-05 13:54 
GeneralRe: Adding Sound to AVI Files Pin
Identity Undisclosed13-Jun-05 18:09
Identity Undisclosed13-Jun-05 18:09 
GeneralRe: Adding Sound to AVI Files Pin
normanS15-Jun-05 3:48
normanS15-Jun-05 3:48 
GeneralRe: Adding Sound to AVI Files Pin
normanS13-Jun-05 16:18
normanS13-Jun-05 16:18 
GeneralRe: Adding Sound to AVI Files Pin
normanS13-Jun-05 20:54
normanS13-Jun-05 20:54 
Generalcustomize key bindings / accelerators Pin
ehh13-Jun-05 8:10
ehh13-Jun-05 8:10 
GeneralRe: customize key bindings / accelerators Pin
Blake Miller13-Jun-05 8:50
Blake Miller13-Jun-05 8:50 
GeneralRe: customize key bindings / accelerators Pin
ehh14-Jun-05 3:55
ehh14-Jun-05 3:55 
GeneralRe: customize key bindings / accelerators Pin
Blake Miller14-Jun-05 5:01
Blake Miller14-Jun-05 5:01 
GeneralRe: customize key bindings / accelerators Pin
ehh14-Jun-05 6:30
ehh14-Jun-05 6:30 
I thought what I'd do is to keep a copy of the latest accelerator table in the application object, and override the CDocument virtual GetDefaultAccelerator() method, returning the application's accelerator table, which will then be used by the CFrameWnd instead of the default. It's a bit of a hack, since as you noted, there's no point in storing an accelerator table in each document, but it allows easy reversion to the default (return NULL in the overridden GetDefaultAccelerator() method), and simplifies the management of the user-modified accelerator. I'll give it a try with a simple Hello World application....

GeneralActiveX Ctrl hanging in MFC code: _AfxFindNextMnem Pin
Ian Bowler13-Jun-05 8:09
Ian Bowler13-Jun-05 8:09 
GeneralExpanding Trees Pin
victorsk13-Jun-05 7:56
victorsk13-Jun-05 7:56 

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.