Click here to Skip to main content
15,893,994 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: #define not const? Pin
Waldermort19-Oct-11 5:48
Waldermort19-Oct-11 5:48 
AnswerRe: #define not const? Pin
«_Superman_»19-Oct-11 16:39
professional«_Superman_»19-Oct-11 16:39 
GeneralRe: #define not const? Pin
Waldermort20-Oct-11 1:42
Waldermort20-Oct-11 1:42 
GeneralRe: #define not const? Pin
«_Superman_»20-Oct-11 2:19
professional«_Superman_»20-Oct-11 2:19 
AnswerRe: #define not const? Pin
Stefan_Lang21-Oct-11 2:55
Stefan_Lang21-Oct-11 2:55 
QuestionPlaying video in particular dimensions Pin
VCProgrammer19-Oct-11 1:55
VCProgrammer19-Oct-11 1:55 
AnswerRe: Playing video in particular dimensions Pin
enhzflep19-Oct-11 2:35
enhzflep19-Oct-11 2:35 
QuestionCHtmlView and Windows 7 Pin
Member 810956018-Oct-11 22:57
Member 810956018-Oct-11 22:57 
Hello!

I've got a problem with a CHtmlView derived View on Windows 7.

The CHtmlView derived View is embedded in a CTabView with the following code:

C++
int COSTabbedView::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
    if (CTabView::OnCreate(lpCreateStruct) == -1)
        return -1;


    AddView (RUNTIME_CLASS (CResultView), _T("Results"), 100);
    AddView (RUNTIME_CLASS (CBrowserView), _T("Certificate"), 101);  

    return 0;
}


The view itself is initialized by:

C++
void CBrowserView::OnInitialUpdate()
{
    CHtmlView::OnInitialUpdate();
    Navigate2(_T("http://www.google.de"));
}


On a Windows XP machine this works fine. The view displays the requested page.

On Windows 7 the status bar of my application says something like "Downloading from www.google.de" and then a new Internet Explorer window will open and display the site but not with "www.google.de" in the address bar, but the path of the temporary downloaded file (!?).

I've been searching around for several days now and found out at least one interesting thing:

When I use Spy++ on WinXP I see the following windows below my view window:

Shell Embedding
+ Shell DocObject View
+ Internet Explorer_Server

On Windows 7 the "Shell DocObject View" and the "Internet Explorer_Server" window are missing.

So I debugged into the creation of the CHtmlView window but they both behave the same on Win7 and XP.

Does anyone have a hint what is going wrong here?
QuestionTCP Communication Pin
john563218-Oct-11 19:15
john563218-Oct-11 19:15 
AnswerRe: TCP Communication Pin
Goto_Label_18-Oct-11 22:29
Goto_Label_18-Oct-11 22:29 
AnswerRe: TCP Communication Pin
Software_Developer18-Oct-11 22:56
Software_Developer18-Oct-11 22:56 
GeneralRe: TCP Communication Pin
john563218-Oct-11 23:45
john563218-Oct-11 23:45 
AnswerRe: TCP Communication Pin
App_18-Oct-11 23:07
App_18-Oct-11 23:07 
AnswerRe: TCP Communication Pin
jschell19-Oct-11 8:55
jschell19-Oct-11 8:55 
QuestionBeginPaint issues Pin
Waldermort18-Oct-11 9:08
Waldermort18-Oct-11 9:08 
AnswerRe: BeginPaint issues Pin
TheGreatAndPowerfulOz18-Oct-11 12:22
TheGreatAndPowerfulOz18-Oct-11 12:22 
GeneralRe: BeginPaint issues Pin
Waldermort18-Oct-11 21:00
Waldermort18-Oct-11 21:00 
GeneralRe: BeginPaint issues Pin
TheGreatAndPowerfulOz19-Oct-11 5:01
TheGreatAndPowerfulOz19-Oct-11 5:01 
AnswerRe: BeginPaint issues Pin
Chuck O'Toole18-Oct-11 12:52
Chuck O'Toole18-Oct-11 12:52 
GeneralRe: BeginPaint issues Pin
Waldermort18-Oct-11 21:03
Waldermort18-Oct-11 21:03 
GeneralRe: BeginPaint issues Pin
Chuck O'Toole18-Oct-11 23:04
Chuck O'Toole18-Oct-11 23:04 
GeneralRe: BeginPaint issues Pin
Waldermort19-Oct-11 3:46
Waldermort19-Oct-11 3:46 
GeneralRe: BeginPaint issues Pin
Chuck O'Toole19-Oct-11 5:02
Chuck O'Toole19-Oct-11 5:02 
GeneralRe: BeginPaint issues Pin
Waldermort19-Oct-11 5:41
Waldermort19-Oct-11 5:41 
Questionselect and accept socket calls Pin
vikramlinux18-Oct-11 8:33
vikramlinux18-Oct-11 8:33 

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.