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

Help If user voted, block them
On my Prayer request site, i let users Click a button to Pray for somone that has posted a pray, i g

Error in SQL Syntax HELP!!!
I have this page:

Code: <?php

session_start();

//connect to server and s

dropdown menu
Hello everbody,

I am php newbie.
I need to develop a program that once click the drop do

Calling a Procedure with IN & OUT Parameters
Hello,

I usually call my procedures using the following way

declare variable e

Linux socket programming
Where can I find a good introduction to socket programming?

need help in php variable
i have a php variable on one page
Code: [Select]$lastId = mysql_insert_id($db);
echo $lastId;<

PHP & MS Access - Line Break
Hey Guys!

I'm pulling records from an MS Access database and listing them using PHP and I'm r

Allowing ' and "
Hello everyone,

I am creating a form where users submit information to go into a database. I

Preg_match with an array
is there an away to use preg_match with an array?

i want to check a string with an array to s

PHP and MySQL on intranet?
Is it possible to use both these on an intranet network?

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