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

C / C++ / MFC

 
GeneralRe: DIrectoy selection, and creating Pin
BoudewijnEctor7-Aug-03 23:33
BoudewijnEctor7-Aug-03 23:33 
GeneralRe: DIrectoy selection, and creating Pin
jhwurmbach7-Aug-03 23:45
jhwurmbach7-Aug-03 23:45 
Questionudp & time out?? Pin
ashxly6-Aug-03 22:56
ashxly6-Aug-03 22:56 
AnswerRe: udp & overtime?? Pin
Vitali Halershtein6-Aug-03 23:41
Vitali Halershtein6-Aug-03 23:41 
GeneralRe: udp & overtime?? Pin
ashxly6-Aug-03 23:44
ashxly6-Aug-03 23:44 
GeneralRe: udp & overtime?? Pin
Vitali Halershtein7-Aug-03 0:08
Vitali Halershtein7-Aug-03 0:08 
GeneralRe: udp & overtime?? Pin
ashxly7-Aug-03 0:18
ashxly7-Aug-03 0:18 
QuestionWebbrowser?? Pin
xxhimanshu6-Aug-03 22:28
xxhimanshu6-Aug-03 22:28 
Confused | :confused: Confused | :confused: Hi All,
I have posted this question before at least 3 4 times but no luck..anyone please reply..
there are two definitions of new window..i.e.
DISP_FUNCTION_ID(CWebBrowser2, "NewWindow2",DISPID_NEWWINDOW2, OnNewWindow2, VT_EMPTY, VTS_DISPATCH VTS_PBOOL)
DISP_FUNCTION_ID(CWebBrowser2, "NewWindow2",DISPID_NEWWINDOW2, OnNewWindow2, VT_EMPTY, VTS_BSTR VTS_I4 VTS_BSTR VTS_PVARIANT VTS_BSTR VTS_PBOOL)
When i use first def. it works ok and putting cancel=true works and no new window opens. but that breaks th eexecution of program and hence i need to open the same url in parent window..so when i use second definition the function is never called..I want to know whether there is anything wrong with the definition or what..whatever u said must work..but if once the function is called then only i will be able to know that it is working or not..m_pBrowserApp is an object of IWebBrowser2..
virtual void OnNewWindow2(LPDISPATCH FAR* ppDisp, BOOL* Cancel);
// virtual void OnNewWindow2(BSTR URL, long Flags, BSTR TargetFrameName,VARIANT* PostData, BSTR Headers, BOOL FAR* Processed);
Please let me know where I am wrong..


Himanshu
GeneralCTreeCtrl.SetItemData(...) Pin
Ph@ntom6-Aug-03 22:08
Ph@ntom6-Aug-03 22:08 
GeneralRe: CTreeCtrl.SetItemData(...) Pin
Vitali Halershtein6-Aug-03 22:22
Vitali Halershtein6-Aug-03 22:22 
GeneralRe: CTreeCtrl.SetItemData(...) Pin
Anthony_Yio8-Aug-03 0:00
Anthony_Yio8-Aug-03 0:00 
Generalinclude error Pin
suninwater6-Aug-03 21:55
suninwater6-Aug-03 21:55 
GeneralRe: include error Pin
Vitali Halershtein6-Aug-03 22:03
Vitali Halershtein6-Aug-03 22:03 
GeneralRe: include error Pin
suninwater6-Aug-03 22:26
suninwater6-Aug-03 22:26 
GeneralRe: include error Pin
Vitali Halershtein6-Aug-03 22:52
Vitali Halershtein6-Aug-03 22:52 
GeneralRe: include error Pin
suninwater6-Aug-03 22:55
suninwater6-Aug-03 22:55 
GeneralImage selection control Pin
Neha6-Aug-03 21:50
Neha6-Aug-03 21:50 
GeneralRe: Image selection control Pin
Vitali Halershtein6-Aug-03 23:19
Vitali Halershtein6-Aug-03 23:19 
GeneralManualy Scrolling A TreeCtrl Pin
Marissa1826-Aug-03 21:14
Marissa1826-Aug-03 21:14 
GeneralRe: Manualy Scrolling A TreeCtrl Pin
Vitali Halershtein6-Aug-03 21:27
Vitali Halershtein6-Aug-03 21:27 
GeneralCTreeCtrl.GetSelectedItem() Pin
Ph@ntom6-Aug-03 20:57
Ph@ntom6-Aug-03 20:57 
GeneralRe: CTreeCtrl.GetSelectedItem() Pin
Rage6-Aug-03 21:05
professionalRage6-Aug-03 21:05 
GeneralRe: CTreeCtrl.GetSelectedItem() Pin
Rage6-Aug-03 21:15
professionalRage6-Aug-03 21:15 
GeneralRe: CTreeCtrl.GetSelectedItem() Pin
Vitali Halershtein6-Aug-03 21:38
Vitali Halershtein6-Aug-03 21:38 
GeneralCTreeCtrl.GetSelectedItem() Pin
Ph@ntom6-Aug-03 20:55
Ph@ntom6-Aug-03 20:55 

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.