Question about ShowWindow()


Posted on 16th Feb 2014 07:03 pm by admin

Hello....

I'm struggling with sumpin, and I hope y'all can help.

Did you know?Explore Trending and Topic pages for more stories like this.
I've got a CFormView with a small web browser control (CWebBrowser2), that only needs to be displayed occasionally, when a user selects a particular option from a list.

At any rate, I have no problem using:

m_Browser.ShowWindow(SW_HIDE);

to hide the control. But, when I try to display it, the app crashes.

Shouldn't this (or similar) work:

m_Browser.ShowWindow(SW_SHOW);

I've tried SW_SHOWDEFAULT, SW_SHOWNORMAL, etc. but it keeps crashing on me.

Debug takes it straight to the ShowWindow function in winocc.cpp, so I'm obviously not using ShowWindow properly for this control.

Any help or suggestions are GREATLY appreciated, as always!

Thanks,
No comments posted yet

Your Answer:

Login to answer
285 Like 33 Dislike
Previous forums Next forums
Other forums

Find only certain URLs from page ... regex (semi-complete script)
Hi guys,

What I need to do is take a page & extract all the URLs from the page &a

Best way to read this text file.
Hi.I am planning to make a small application in C# to convert the players from Football manager 2010

Recode Abap Dynpro into Web Dynpro
Hi All,
A client has asked us to look at rearchitecting a custom transaction that was developed

Calling a Procedure with IN & OUT Parameters
Hello,

I usually call my procedures using the following way

declare variable e

php - xml what is the best way to do this.
IN essence I want to have a script calling the info from the database.. I have no problem thus far,

Binding 2 UDP sockets on same port, connected to different destinations, 1 receives
Hello,
My application wants to send/recv data to 2 different UDP ports on a remote computer, us

insert quotes
Hi,

I have an output like this:
Code: john,18,Cancer
How can I change this to
Code:

values not being entered into table
hi. I;ve created a form, so that when a user enters data into it, it gets added to a table in a data

Custom list order
Hi there,

I have checked this tutorial and it's great till the point where I want to display

Preserving user-entered linebreaks
Hi, I'm building a web 2.0 thingy from scratch and I wanna display text which users input. It's all

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash