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 with translating C code into assembler code
Hi im doing a project that moves a robot around a maze avoiding walls and need some help with conver

Check premium expire
Hi,

I am making a simple file hosting site and want to check if users premium subscriptions h

Hashing?
Hi, I was hoping to take a string value then convert it - consistently - across each of our pages in

Preventing SQL Injection
I have a question about SQL Injection, In some of our code we use this: view plaincopy to clipboa

How to show the difference between two data field in a database with php.
Hello php gurus,

how r u all... i'm not so well facing a typical problem please help me...<

CURL XML Request [From C to PHP]
Hi,

I need some help converting this into something that will work with PHP.

Code: #

Apart from cron
I need to run a php file every one hour. Is there any other solution apart from cron job?

Shuffle between users ??
I have multiple $users in table. I need to send them $message.

I need to send the next messag

help, header() is not working!
Hello, I have this code:


<?php

/**
* @author samoi
* @copyright 200

Execure stored procedure on a timer
Can someone tell me an easier way to execute a stored procedure on a timer? I am using Oracle 10g R

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