Click here to Skip to main content
16,004,828 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: microsoft Pin
Krishnatv9-May-06 3:01
Krishnatv9-May-06 3:01 
AnswerRe: microsoft Pin
Rage9-May-06 3:12
professionalRage9-May-06 3:12 
QuestionMemory Leak, context Device Pin
LinDaSu9-May-06 2:44
LinDaSu9-May-06 2:44 
AnswerRe: Memory Leak, context Device Pin
Magnus Westin9-May-06 4:10
Magnus Westin9-May-06 4:10 
Questionservice in c++,mfc Pin
raghuji.rao9-May-06 2:28
raghuji.rao9-May-06 2:28 
QuestionRe: service in c++,mfc Pin
David Crow9-May-06 2:42
David Crow9-May-06 2:42 
AnswerRe: service in c++,mfc Pin
toxcct9-May-06 2:43
toxcct9-May-06 2:43 
QuestionHelp required:Creating IE instance Pin
rana749-May-06 2:25
rana749-May-06 2:25 
We need to create an IE instance from our application,navigate to a particular site programmatically and load the DOM document tree for that page.
When we do it from a ATL GUI application ,and create the IE instance on the click of the Button control,the browser duly fires the beforenavigate,navigatecomplete and documentcomplete events ,and we can load the DOM tree on documentcomplete.
However,when we try to do the same from a win32 console application ,the browser fires the 'beforenavigate' event and waits.
It fires the remaining events and navigates to the site only after we exit out of the application.
How do we make the browser complete the navigation to the site,without exitting from the program?We have even tried to fire the navigate event on a separate thread,but to no avail.
int main()
{

CoInitialize(NULL);
IIEdispatcher* disp;
HRESULT hr;
hr=CoCreateInstance(CLSID_IEdispatcher,NULL,CLSCTX_INPROC_SERVER,IID_IIEdispatcher,(void**)&disp);
if(SUCCEEDED(hr))
{
disp->createIE();//this method navigates the browser to a url
}

CoUninitialize();
}
The browser completes it navigation only after we exit out of this process.We are creatign the browser as a out-of-proc component.

Questiontwo appliction refering same file path Pin
Anu_Bala9-May-06 2:11
Anu_Bala9-May-06 2:11 
AnswerRe: two appliction refering same file path Pin
Cedric Moonen9-May-06 2:44
Cedric Moonen9-May-06 2:44 
GeneralRe: two appliction refering same file path Pin
Anu_Bala9-May-06 18:09
Anu_Bala9-May-06 18:09 
GeneralRe: two appliction refering same file path Pin
Cedric Moonen9-May-06 20:19
Cedric Moonen9-May-06 20:19 
QuestionXP visual styles Pin
mosali satish9-May-06 1:30
mosali satish9-May-06 1:30 
AnswerRe: XP visual styles Pin
Nibu babu thomas9-May-06 1:35
Nibu babu thomas9-May-06 1:35 
Questionowner draw menu Pin
zuma779-May-06 0:38
zuma779-May-06 0:38 
QuestionMIXERCONTROL API (Urgent) Pin
atimpoo9-May-06 0:29
atimpoo9-May-06 0:29 
AnswerRe: Zoom tutorial Pin
Christian Graus9-May-06 0:25
protectorChristian Graus9-May-06 0:25 
GeneralRe: Zoom tutorial Pin
Sebastian Schneider9-May-06 1:58
Sebastian Schneider9-May-06 1:58 
GeneralRe: Zoom tutorial Pin
Cedric Moonen9-May-06 2:02
Cedric Moonen9-May-06 2:02 
JokeRe: Zoom tutorial Pin
toxcct9-May-06 2:42
toxcct9-May-06 2:42 
QuestionDoubt related with Voice Over IP Pin
Jeeva Mary Varghese8-May-06 23:20
Jeeva Mary Varghese8-May-06 23:20 
AnswerRe: Doubt related with Voice Over IP Pin
Maximilien9-May-06 2:29
Maximilien9-May-06 2:29 
QuestionWay to use both EN_CHANGE and EN_KILLFOCUS Pin
zxc898-May-06 22:56
zxc898-May-06 22:56 
AnswerRe: Way to use both EN_CHANGE and EN_KILLFOCUS Pin
Cedric Moonen8-May-06 23:00
Cedric Moonen8-May-06 23:00 
GeneralRe: Way to use both EN_CHANGE and EN_KILLFOCUS Pin
zxc898-May-06 23:49
zxc898-May-06 23:49 

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.