Click here to Skip to main content
15,917,473 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Suggest a fast way to do? Pin
Chris Losinger17-Oct-11 5:11
professionalChris Losinger17-Oct-11 5:11 
QuestionRe: Suggest a fast way to do? Pin
john563217-Oct-11 19:30
john563217-Oct-11 19:30 
AnswerRe: Suggest a fast way to do? Pin
Richard MacCutchan17-Oct-11 23:13
mveRichard MacCutchan17-Oct-11 23:13 
GeneralRe: Suggest a fast way to do? Pin
Erudite_Eric18-Oct-11 1:09
Erudite_Eric18-Oct-11 1:09 
GeneralRe: Suggest a fast way to do? Pin
john563218-Oct-11 1:26
john563218-Oct-11 1:26 
GeneralRe: Suggest a fast way to do? Pin
Erudite_Eric18-Oct-11 20:12
Erudite_Eric18-Oct-11 20:12 
GeneralRe: Suggest a fast way to do? Pin
Richard MacCutchan18-Oct-11 2:41
mveRichard MacCutchan18-Oct-11 2:41 
QuestionCrashing problem in Report control Pin
Amrit Agr16-Oct-11 20:25
Amrit Agr16-Oct-11 20:25 
AnswerRe: Crashing problem in Report control Pin
_AnsHUMAN_ 16-Oct-11 20:51
_AnsHUMAN_ 16-Oct-11 20:51 
QuestionHow to send a click message to an listctrl ? Pin
_Flaviu15-Oct-11 7:30
_Flaviu15-Oct-11 7:30 
AnswerRe: How to send a click message to an listctrl ? Pin
MartyTPS15-Oct-11 16:25
MartyTPS15-Oct-11 16:25 
GeneralRe: How to send a click message to an listctrl ? Pin
_Flaviu15-Oct-11 22:01
_Flaviu15-Oct-11 22:01 
GeneralRe: How to send a click message to an listctrl ? Pin
_Flaviu16-Oct-11 19:56
_Flaviu16-Oct-11 19:56 
AnswerRe: How to send a click message to an listctrl ? Pin
«_Superman_»15-Oct-11 21:08
professional«_Superman_»15-Oct-11 21:08 
GeneralRe: How to send a click message to an listctrl ? Pin
_Flaviu15-Oct-11 22:00
_Flaviu15-Oct-11 22:00 
GeneralRe: How to send a click message to an listctrl ? Pin
Stephen Hewitt16-Oct-11 2:36
Stephen Hewitt16-Oct-11 2:36 
GeneralRe: How to send a click message to an listctrl ? Pin
_Flaviu16-Oct-11 19:56
_Flaviu16-Oct-11 19:56 
Questionsetting form element values using ie TCppWebBrowser control Pin
Andrew J. Burke15-Oct-11 3:32
Andrew J. Burke15-Oct-11 3:32 
This is what I've come up with so far but need to find & add values to the form elements for user input and password input, then submit. I'm using C++Builder6.

#include <mshtml.h>

//
TComInterface<IHTMLDocument2>HTMLDoc;
Browser->Document->QueryInterface(IID_IHTMLDocument2,(LPVOID*)&HTMLDoc);

//get all the forms
TComInterface<IHTMLElementCollection>HTMLforms;
HTMLDoc->get_forms(&HTMLforms);

//Get form 0 since login pages have only one form
TComInterface<IHTMLFormElement>HTMLform;


//Get User,Password fields & set values
TComInterface<IHTMLElement>HTMLfield;


//Then submit form
HTMLform->submit();

Thanks!
AnswerRe: setting form element values using ie TCppWebBrowser control Pin
App_15-Oct-11 8:37
App_15-Oct-11 8:37 
GeneralRe: setting form element values using ie TCppWebBrowser control Pin
Andrew J. Burke15-Oct-11 14:50
Andrew J. Burke15-Oct-11 14:50 
GeneralRe: setting form element values using ie TCppWebBrowser control Pin
App_15-Oct-11 20:58
App_15-Oct-11 20:58 
GeneralRe: setting form element values using ie TCppWebBrowser control Pin
Andrew J. Burke16-Oct-11 6:38
Andrew J. Burke16-Oct-11 6:38 
GeneralRe: setting form element values using ie TCppWebBrowser control Pin
App_16-Oct-11 7:44
App_16-Oct-11 7:44 
GeneralRe: setting form element values using ie TCppWebBrowser control Pin
Andrew J. Burke18-Oct-11 5:16
Andrew J. Burke18-Oct-11 5:16 
QuestionClarification regarding Boolean variable Pin
pix_programmer15-Oct-11 1:01
pix_programmer15-Oct-11 1:01 

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.