Click here to Skip to main content
15,920,896 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Device context trouble Pin
shivditya1-Jun-06 21:10
shivditya1-Jun-06 21:10 
GeneralRe: Device context trouble Pin
Hamid_RT1-Jun-06 21:35
Hamid_RT1-Jun-06 21:35 
GeneralRe: Device context trouble Pin
shivditya1-Jun-06 21:44
shivditya1-Jun-06 21:44 
Questionprogram executing error Pin
Y_Kaushik1-Jun-06 19:53
Y_Kaushik1-Jun-06 19:53 
QuestionRe: program executing error Pin
Hamid_RT1-Jun-06 20:12
Hamid_RT1-Jun-06 20:12 
AnswerRe: program executing error Pin
toxcct1-Jun-06 21:49
toxcct1-Jun-06 21:49 
QuestionClosing a invisible web browser Pin
KongHL1-Jun-06 19:47
KongHL1-Jun-06 19:47 
AnswerRe: Closing a invisible web browser Pin
Benoy Bose1-Jun-06 20:33
Benoy Bose1-Jun-06 20:33 
You have to do COM Programming. Interface of Internet Explorer com object is IWebBrowser2. You have to get the invisile instance of IE by calling CoGetObject() COM API. Then you can call it's interface methods to close the Invisible Browser.

Once you get the COM instance of API. Then call the COM method ExecWB of IWebBrowser2 with parameter OLECMDID_CLOSE. Then the invisible browser will be closed.

OK ?

Regards,
Benoy Bose
GeneralRe: Closing a invisible web browser Pin
KongHL1-Jun-06 21:15
KongHL1-Jun-06 21:15 
AnswerRe: Closing a invisible web browser Pin
ThatsAlok1-Jun-06 21:59
ThatsAlok1-Jun-06 21:59 
GeneralRe: Closing a invisible web browser Pin
KongHL1-Jun-06 22:09
KongHL1-Jun-06 22:09 
GeneralRe: Closing a invisible web browser Pin
ThatsAlok1-Jun-06 22:13
ThatsAlok1-Jun-06 22:13 
GeneralRe: Closing a invisible web browser Pin
KongHL1-Jun-06 22:18
KongHL1-Jun-06 22:18 
GeneralRe: Closing a invisible web browser Pin
ThatsAlok1-Jun-06 23:42
ThatsAlok1-Jun-06 23:42 
QuestionSDL screen in MFC applcation Pin
Manjunath S1-Jun-06 19:43
Manjunath S1-Jun-06 19:43 
QuestionRe: SDL screen in MFC applcation Pin
Hamid_RT1-Jun-06 20:11
Hamid_RT1-Jun-06 20:11 
AnswerRe: SDL screen in MFC applcation Pin
Maxwell Chen1-Jun-06 20:20
Maxwell Chen1-Jun-06 20:20 
AnswerRe: SDL screen in MFC applcation [modified] Pin
toxcct1-Jun-06 21:45
toxcct1-Jun-06 21:45 
GeneralRe: SDL screen in MFC applcation Pin
ThatsAlok1-Jun-06 21:56
ThatsAlok1-Jun-06 21:56 
GeneralRe: SDL screen in MFC applcation Pin
toxcct1-Jun-06 22:11
toxcct1-Jun-06 22:11 
GeneralRe: SDL screen in MFC applcation Pin
<color>Aljechin 1-Jun-06 22:16
<color>Aljechin 1-Jun-06 22:16 
GeneralRe: SDL screen in MFC applcation Pin
ThatsAlok1-Jun-06 23:45
ThatsAlok1-Jun-06 23:45 
GeneralRe: SDL screen in MFC applcation Pin
ThatsAlok1-Jun-06 23:45
ThatsAlok1-Jun-06 23:45 
GeneralRe: SDL screen in MFC applcation Pin
Maxwell Chen1-Jun-06 23:53
Maxwell Chen1-Jun-06 23:53 
QuestionHTML Encoding Pin
atimpoo1-Jun-06 19:40
atimpoo1-Jun-06 19:40 

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.