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

C / C++ / MFC

 
AnswerRe: SetFocus?? Pin
jhwurmbach5-Aug-03 4:25
jhwurmbach5-Aug-03 4:25 
AnswerRe: SetFocus?? Pin
Maximilien5-Aug-03 8:38
Maximilien5-Aug-03 8:38 
Questionhow to access windows share? Pin
User-3779365-Aug-03 2:53
User-3779365-Aug-03 2:53 
Generaldisable drag&drop in RichEdit Pin
pépé5-Aug-03 2:49
pépé5-Aug-03 2:49 
GeneralMigrate from printf to streams in my logfile class. Pin
justin2235-Aug-03 2:34
justin2235-Aug-03 2:34 
QuestionUrgent!!!Someone help please??? Pin
xxhimanshu5-Aug-03 2:21
xxhimanshu5-Aug-03 2:21 
AnswerRe: Urgent!!!Someone help please??? Pin
Neville Franks5-Aug-03 11:50
Neville Franks5-Aug-03 11:50 
GeneralRe: Urgent!!!Someone help please??? Pin
xxhimanshu6-Aug-03 23:55
xxhimanshu6-Aug-03 23:55 
Hi Neville,
I have developed an application and I want to load it at startup..I have
done that..but it takes some time to load..I want the process to be fast and
user is not able to access the desktop in the meantime before seeing my
application..is there anyone who can help me out..any help or pointers are
highly appreciated..Thanks a lot in advance..I am on win2000. And I really
need to do it fast..plz help

there is another small problem..I am using a webbrowser control to open
IE..and I want that when user clicks on a link that opens a new window or
just rightclicks to open in new window..the new window should not
appear..there I got some code which does that...which is like::
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..
Thanks a lot..waiting for ur reply..
Himanshu


Himanshu
GeneralRe: Urgent!!!Someone help please??? Pin
Neville Franks7-Aug-03 5:47
Neville Franks7-Aug-03 5:47 
GeneralWTL ComboBox Pin
Luke Murray5-Aug-03 2:16
Luke Murray5-Aug-03 2:16 
GeneralPosition cursor on last item in CListCtrl (reportmode) Pin
Wim Jans5-Aug-03 1:48
Wim Jans5-Aug-03 1:48 
GeneralRe: Position cursor on last item in CListCtrl (reportmode) Pin
David Crow5-Aug-03 3:05
David Crow5-Aug-03 3:05 
GeneralRe: Position cursor on last item in CListCtrl (reportmode) Pin
Wim Jans5-Aug-03 6:43
Wim Jans5-Aug-03 6:43 
General__gc Pin
devvvy5-Aug-03 1:31
devvvy5-Aug-03 1:31 
GeneralDataGrid problem Pin
siddharth235-Aug-03 1:29
siddharth235-Aug-03 1:29 
GeneralRuntime error Pin
si_695-Aug-03 1:09
si_695-Aug-03 1:09 
GeneralCreating Outlook Express button Pin
beside5-Aug-03 0:44
sussbeside5-Aug-03 0:44 
GeneralRe: Creating Outlook Express button Pin
Eugene Pustovoyt5-Aug-03 1:57
Eugene Pustovoyt5-Aug-03 1:57 
GeneralRe: Creating Outlook Express button Pin
beside5-Aug-03 2:21
sussbeside5-Aug-03 2:21 
GeneralVariable number of arguments... Pin
Anonymous5-Aug-03 0:33
Anonymous5-Aug-03 0:33 
GeneralRe: Variable number of arguments... Pin
Ryan Binns5-Aug-03 0:41
Ryan Binns5-Aug-03 0:41 
GeneralRe: Variable number of arguments... Pin
Ted Ferenc5-Aug-03 0:47
Ted Ferenc5-Aug-03 0:47 
GeneralRe: Variable number of arguments... Pin
HPSI5-Aug-03 0:55
HPSI5-Aug-03 0:55 
General.Net proj Pin
Nilesh K.5-Aug-03 0:29
Nilesh K.5-Aug-03 0:29 
GeneralRe: .Net proj Pin
HPSI5-Aug-03 1:06
HPSI5-Aug-03 1:06 

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.