Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

how to invalidate CTRL C key

chendshchendsh Member Posts: 2
hello,
I want to use IE to read documents like WORD, EXCEL, PDF etc.
Since I don't want to edit the documents, I suppose I can
invalidate the accelerator key such as CTRL+C, CTRL+N.
Anybody knows how to do it when the program passes control
to IE and IE passes it to WORD/Excel/PDF?
This is part of my code.

class COpenFileView : public CHtmlView
{
......
.......

void COpenFileView::OnInitialUpdate()
{
CHtmlView::OnInitialUpdate();

// TODO: This code navigates to a popular spot on the web.
// change the code to go where you'd like.
Navigate2(_T("C:\Documents and Settings
\Administrator\My Documents\CM.doc"),NULL,NULL);
.....
.....

Comments

  • Andre YoungAndre Young USAMember Posts: 0

    ____ / http://forcoder.org / free ebooks and video tutorials about || Java Ruby Scratch C++ Objective-C Go Swift PHP Python Visual Basic .NET C Assembly MATLAB Delphi R Visual Basic Perl PL/SQL C# JavaScript SAS F# Bash Alice Rust Fortran Clojure Hack Awk Apex Julia Transact-SQL Scala Lua Logo LabVIEW Ada Prolog Scheme D ML Dart Lisp Erlang VBScript Kotlin Crystal ABAP FoxPro COBOL || _____

Sign In or Register to comment.