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

PHP MySQL and DATE
Hi everyone

I have a databse and in one of the columns I have date values such as 2009-March-

Warning: mysql_num_rows() supplied argument is not a valid MySQL result resource
This may be simple I just may need another pair of eyes..

When i get records back the below c

want to add a break after a certain amount of characters
i was wondering how to add a break in a blog post after a certain amount of characters... any idea o

DirectoryIterator and Hacked Website
Hi Everyone.

My problem:
Some one has been sneaking in to my website hidden Iframes. I've

PHP Code To Change Font Color in Table Cell
I would appreciate help with the following snippet of my php code. I am just trying to change the f

Pre-Fill out a PHP form...??
This is for work actually (geek squad). We have to fill out this online php form at work over and ov

cURL and Sessions
Ohai.

So, I'm trying to cURL a bunch of things off of a page, and put them into a session. I'

login form can you find my error?
registrationform.php seems fine send data to registration.php
registration.php seems fine checks

Checking if field is empty AND using !is_numeric
Hi lads,

Need to be able to display an error message (using isset?) that says "Cant lea

Is it possible to stop reservation creation in PM Order?
Hi All,

Is it possible to stop reservation creation in PM Order?

Thanks in adv

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