Click here to Skip to main content
15,902,938 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralReselect on combo box OnDropdown Pin
paulccc5-Aug-03 23:58
paulccc5-Aug-03 23:58 
GeneralRe: Reselect on combo box OnDropdown Pin
HPSI6-Aug-03 2:44
HPSI6-Aug-03 2:44 
QuestionPrinting How? Pin
wow99995-Aug-03 23:42
wow99995-Aug-03 23:42 
AnswerRe: Printing How? Pin
HPSI6-Aug-03 2:21
HPSI6-Aug-03 2:21 
Generalvfw depression Pin
mr pier5-Aug-03 23:37
mr pier5-Aug-03 23:37 
GeneralRe: vfw depression Pin
HPSI6-Aug-03 1:48
HPSI6-Aug-03 1:48 
GeneralRe: vfw depression Pin
Anonymous8-Aug-03 8:52
Anonymous8-Aug-03 8:52 
GeneralWebbrowser::Newwindow() Problem!! Pin
xxhimanshu5-Aug-03 23:22
xxhimanshu5-Aug-03 23:22 
Confused | :confused: Hi All,
I Want to use the newwindow event to not open the new window and open the
same link in parent window...I have declared the function like this..
DISP_FUNCTION_ID(CWebBrowser2, "NewWindow2",DISPID_NEWWINDOW2, OnNewWindow,
VT_EMPTY, VTS_BSTR VTS_I4 VTS_BSTR VTS_PVARIANT VTS_BSTR VTS_PBOOL)
and the function definition says..
void CBrowser::OnNewWindow(BSTR URL, long Flags, BSTR TargetFrameName,
VARIANT* PostData, BSTR Headers, BOOL FAR* Cancel)
{
if (m_pBrowserApp) {
COleVariant varEmpty;
if (Cancel != NULL )
*Cancel = TRUE;
m_pBrowserApp->Navigate(URL, &varEmpty, &varEmpty, &varEmpty, &varEmpty);
}
}
MSDN says it should work like this only..but unfortunately this is not
working for me..Pls helpAny help or pointers are higly appreciated..Thanks a
lot in advance..



Himanshu
Generalopening documents Pin
BoudewijnEctor5-Aug-03 23:14
BoudewijnEctor5-Aug-03 23:14 
GeneralRe: opening documents Pin
HPSI5-Aug-03 23:29
HPSI5-Aug-03 23:29 
QuestionopenDirectory dialog? Pin
BoudewijnEctor5-Aug-03 23:10
BoudewijnEctor5-Aug-03 23:10 
AnswerRe: openDirectory dialog? Pin
Toni785-Aug-03 23:17
Toni785-Aug-03 23:17 
GeneralRe: openDirectory dialog? Pin
BoudewijnEctor5-Aug-03 23:58
BoudewijnEctor5-Aug-03 23:58 
GeneralRe: openDirectory dialog? Pin
David Crow6-Aug-03 5:23
David Crow6-Aug-03 5:23 
AnswerRe: openDirectory dialog? Pin
Chao Zuo5-Aug-03 23:39
Chao Zuo5-Aug-03 23:39 
GeneralLog Window Pin
SLiDeR5-Aug-03 22:38
SLiDeR5-Aug-03 22:38 
GeneralRe: Log Window Pin
Chao Zuo5-Aug-03 23:04
Chao Zuo5-Aug-03 23:04 
GeneralRe: Log Window Pin
SLiDeR5-Aug-03 23:15
SLiDeR5-Aug-03 23:15 
GeneralRe: Log Window Pin
HPSI5-Aug-03 23:24
HPSI5-Aug-03 23:24 
GeneralRe: Log Window Pin
Chao Zuo5-Aug-03 23:56
Chao Zuo5-Aug-03 23:56 
GeneralADODB pointer Pin
_crs_5-Aug-03 22:34
_crs_5-Aug-03 22:34 
GeneralRe: ADODB pointer Pin
Chao Zuo5-Aug-03 22:46
Chao Zuo5-Aug-03 22:46 
GeneralRe: ADODB pointer Pin
Toni785-Aug-03 22:49
Toni785-Aug-03 22:49 
GeneralRe: ADODB pointer Pin
Chao Zuo5-Aug-03 23:12
Chao Zuo5-Aug-03 23:12 
GeneralRe: ADODB pointer Pin
_crs_5-Aug-03 23:07
_crs_5-Aug-03 23:07 

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.