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

C / C++ / MFC

 
GeneralRe: FindWindow Pin
Richard MacCutchan23-Aug-11 0:07
mveRichard MacCutchan23-Aug-11 0:07 
GeneralRe: FindWindow Pin
CPallini23-Aug-11 0:18
mveCPallini23-Aug-11 0:18 
GeneralRe: FindWindow Pin
msr_codeproject23-Aug-11 0:56
msr_codeproject23-Aug-11 0:56 
GeneralRe: FindWindow Pin
Richard MacCutchan23-Aug-11 1:18
mveRichard MacCutchan23-Aug-11 1:18 
GeneralRe: FindWindow Pin
enhzflep23-Aug-11 3:06
enhzflep23-Aug-11 3:06 
SuggestionRe: FindWindow Reply Pin
My Bones22-Aug-11 23:24
My Bones22-Aug-11 23:24 
GeneralRe: FindWindow Reply Pin
Code-o-mat22-Aug-11 23:50
Code-o-mat22-Aug-11 23:50 
QuestionCHtmlView Windows 7 issue Pin
Member 810956022-Aug-11 20:44
Member 810956022-Aug-11 20:44 
Hello,
I have a (maybe small) problem that is driving me mad.
I am using a CHtmlView derived class to display a html file that is stored locally on the PC. I'm using Navigate2() for that. On Windows XP machines everything works fine but Windows 7 always opens a new IExplorer window instead of displaying the file in my view. I tried to override OnNewWindow2() but the according event does not occur.
I use the following code in the OnInitialUpdate() function of the view:

C++
CString fileName = theApp.m_sSettingsPath + CString("Certificate\\certificate.htm");
Navigate2(fileName);


I've also tried the "file://" syntax, but same behaviour.

Thank's for your help,
Ralf
AnswerRe: CHtmlView Windows 7 issue Pin
Richard MacCutchan22-Aug-11 22:53
mveRichard MacCutchan22-Aug-11 22:53 
GeneralRe: CHtmlView Windows 7 issue Pin
Member 810956022-Aug-11 23:18
Member 810956022-Aug-11 23:18 
GeneralRe: CHtmlView Windows 7 issue Pin
Richard MacCutchan23-Aug-11 0:00
mveRichard MacCutchan23-Aug-11 0:00 
GeneralRe: CHtmlView Windows 7 issue Pin
Rage24-Aug-11 4:21
professionalRage24-Aug-11 4:21 
GeneralRe: CHtmlView Windows 7 issue Pin
Member 810956024-Aug-11 21:21
Member 810956024-Aug-11 21:21 
GeneralRe: CHtmlView Windows 7 issue Pin
Rage24-Aug-11 21:57
professionalRage24-Aug-11 21:57 
GeneralRe: CHtmlView Windows 7 issue Pin
Member 810956024-Aug-11 23:27
Member 810956024-Aug-11 23:27 
AnswerRe: CHtmlView Windows 7 issue Pin
xrg_soft@163.com23-Aug-11 5:25
xrg_soft@163.com23-Aug-11 5:25 
GeneralRe: CHtmlView Windows 7 issue Pin
Member 810956023-Aug-11 21:31
Member 810956023-Aug-11 21:31 
GeneralRe: CHtmlView Windows 7 issue Pin
xrg_soft@163.com23-Aug-11 21:56
xrg_soft@163.com23-Aug-11 21:56 
GeneralRe: CHtmlView Windows 7 issue Pin
Member 810956023-Aug-11 22:22
Member 810956023-Aug-11 22:22 
GeneralRe: CHtmlView Windows 7 issue Pin
xrg_soft@163.com24-Aug-11 19:08
xrg_soft@163.com24-Aug-11 19:08 
GeneralRe: CHtmlView Windows 7 issue [modified] Pin
Member 810956024-Aug-11 20:22
Member 810956024-Aug-11 20:22 
GeneralRe: CHtmlView Windows 7 issue Pin
Rage24-Aug-11 4:21
professionalRage24-Aug-11 4:21 
QuestionLet a single document open Pin
_Flaviu22-Aug-11 19:38
_Flaviu22-Aug-11 19:38 
AnswerRe: Let a single document open Pin
Eugen Podsypalnikov22-Aug-11 20:50
Eugen Podsypalnikov22-Aug-11 20:50 
GeneralRe: Let a single document open Pin
_Flaviu22-Aug-11 20:55
_Flaviu22-Aug-11 20:55 

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.