Click here to Skip to main content
15,906,567 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionI just bought a PocketPC today. I wonder if I can use VC++ to write programs for it? Pin
Link260014-Nov-03 19:23
Link260014-Nov-03 19:23 
AnswerRe: I just bought a PocketPC today. I wonder if I can use VC++ to write programs for it? Pin
Prakash Nadar14-Nov-03 21:14
Prakash Nadar14-Nov-03 21:14 
GeneralRe: I just bought a PocketPC today. I wonder if I can use VC++ to write programs for it? Pin
Link260014-Nov-03 22:31
Link260014-Nov-03 22:31 
GeneralRe: I just bought a PocketPC today. I wonder if I can use VC++ to write programs for it? Pin
Prakash Nadar15-Nov-03 1:06
Prakash Nadar15-Nov-03 1:06 
GeneralRe: I just bought a PocketPC today. I wonder if I can use VC++ to write programs for it? Pin
Kevin McFarlane15-Nov-03 10:06
Kevin McFarlane15-Nov-03 10:06 
GeneralAbout Message Map in MFC(WM_HSCROLL) Pin
Robe14-Nov-03 18:52
Robe14-Nov-03 18:52 
Questionhow can I manipulate IE in vc++6.0 Pin
linlin200014-Nov-03 16:17
linlin200014-Nov-03 16:17 
AnswerRe: how can I manipulate IE in vc++6.0 Pin
Peter Molnar15-Nov-03 16:12
Peter Molnar15-Nov-03 16:12 
This task is quite complex:

1.
First you have to connect from your appp to running instances of IE in order to monitor it.
http://www.codeguru.com/ieprogram/enumIE.html[^]

2.
You have to parse every document in every running instance of IE and search for your form in the documents. For this you can use MSHTML functions, first getting MSHTML::IHTMLDocument2, then call IHTMLDocument2::forms, which gives an IHTMLElementCollection of all forms in the document. Iterate through all forms IHTMLElement's (if there are many of them) by searching form some ID or name. If your form is found, create from the IDispatch pointer of the form's IHTMLElement an IHTMLFormElement, and finally call its submit function.

The above link also shows you how to get IHTMLDocument2 pointer of a running instance of IE, and all further steps are here.


Peter Molnar
GeneralSHGetFileInfo Pin
alex.barylski14-Nov-03 15:47
alex.barylski14-Nov-03 15:47 
GeneralChecking to See if All Memory Allocated is Free Pin
Anonymous14-Nov-03 14:09
Anonymous14-Nov-03 14:09 
GeneralRe: Checking to See if All Memory Allocated is Free Pin
Ryan Roberts14-Nov-03 16:07
Ryan Roberts14-Nov-03 16:07 
GeneralRe: Checking to See if All Memory Allocated is Free Pin
Gopalakrishna Palem15-Nov-03 2:53
Gopalakrishna Palem15-Nov-03 2:53 
GeneralHorizontal ListBox with OWNERDRAW as yes. Pin
DanYELL14-Nov-03 13:49
DanYELL14-Nov-03 13:49 
GeneralHelp with basic sound Pin
Snyp14-Nov-03 12:29
Snyp14-Nov-03 12:29 
GeneralRe: Help with basic sound Pin
Prakash Nadar14-Nov-03 21:22
Prakash Nadar14-Nov-03 21:22 
GeneralGetting the dialog from a propert page Pin
K. Shaffer14-Nov-03 12:05
K. Shaffer14-Nov-03 12:05 
GeneralRe: Getting the dialog from a propert page Pin
Ravi Bhavnani14-Nov-03 13:53
professionalRavi Bhavnani14-Nov-03 13:53 
QuestionHow to Display Small Greek Pi? Pin
Don Zhao14-Nov-03 11:53
Don Zhao14-Nov-03 11:53 
AnswerRe: How to Display Small Greek Pi? Pin
Roger Allen17-Nov-03 0:48
Roger Allen17-Nov-03 0:48 
QuestionHow to watch static variables while debugging Pin
Hashim Saleem14-Nov-03 11:15
Hashim Saleem14-Nov-03 11:15 
AnswerRe: How to watch static variables while debugging Pin
antlers14-Nov-03 11:49
antlers14-Nov-03 11:49 
GeneralRe: How to watch static variables while debugging Pin
Hashim Saleem15-Nov-03 22:52
Hashim Saleem15-Nov-03 22:52 
GeneralDesigning a report. Pin
esepich14-Nov-03 11:06
esepich14-Nov-03 11:06 
GeneralVS Printing feature Pin
Anonymous14-Nov-03 10:03
Anonymous14-Nov-03 10:03 
GeneralRe: VS Printing feature Pin
Peter Molnar14-Nov-03 14:31
Peter Molnar14-Nov-03 14:31 

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.