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

C / C++ / MFC

 
GeneralRe: Strange string problem ... Pin
User 78226218-Mar-08 3:50
professionalUser 78226218-Mar-08 3:50 
Generalabout PASSING PARAMETERS Pin
savitri17-Mar-08 1:08
savitri17-Mar-08 1:08 
QuestionRe: about PASSING PARAMETERS Pin
Maxwell Chen17-Mar-08 1:12
Maxwell Chen17-Mar-08 1:12 
JokeRe: about PASSING PARAMETERS Pin
Rajesh R Subramanian17-Mar-08 3:23
professionalRajesh R Subramanian17-Mar-08 3:23 
QuestionRe: about PASSING PARAMETERS Pin
CPallini17-Mar-08 1:14
mveCPallini17-Mar-08 1:14 
GeneralRe: about PASSING PARAMETERS Pin
Rajesh R Subramanian17-Mar-08 1:30
professionalRajesh R Subramanian17-Mar-08 1:30 
QuestionHow can i capture an event from HTML page in my application Pin
sujeet17-Mar-08 0:45
sujeet17-Mar-08 0:45 
GeneralRe: How can i capture an event from HTML page in my application Pin
Matthew Faithfull17-Mar-08 1:56
Matthew Faithfull17-Mar-08 1:56 
It can be done but the only way I know of is quite hard. First you need to make sure there is a script, Javascript or VBscript, in or linked to whatever page is in the browser, that must have an onclick handler for the <body> tag. This gets the click from the mouse into script. Now you need to poke around in the Document Object Model of the WebBrowser control to determine how to access the Window object, or equivalent. This will have a mechanism for raising an event to it's parent. I'm afraid I've forgotten exactly how this works but it will end up with an ActiveX event being raised to your dialog. This means of course your dialog needs to be a fully fledged ActiveX control container with the relevent event handler. That in itself is pretty complex but ATL/WTL can do most of it for you. Considering the amount of work this all is, unless you've got most of it in place already you might want to find another way, perhaps do all the click handling in script within the browser.

Nothing is exactly what it seems but everything with seems can be unpicked.

QuestionHow can i capture an event from HTML page in my application Pin
sujeet17-Mar-08 0:45
sujeet17-Mar-08 0:45 
GeneralGUI Automation Pin
Georgy Daniel17-Mar-08 0:28
Georgy Daniel17-Mar-08 0:28 
GeneralRe: GUI Automation Pin
CPallini17-Mar-08 0:41
mveCPallini17-Mar-08 0:41 
GeneralMFC Activex : Get resource from application that create a activeX control Pin
NorGUI16-Mar-08 23:47
NorGUI16-Mar-08 23:47 
GeneralRe: MFC Activex : Get resource from application that create a activeX control Pin
Rajkumar R16-Mar-08 23:56
Rajkumar R16-Mar-08 23:56 
GeneralRe: MFC Activex : Get resource from application that create a activeX control Pin
NorGUI17-Mar-08 2:50
NorGUI17-Mar-08 2:50 
GeneralRe: MFC Activex : Get resource from application that create a activeX control Pin
Rajkumar R17-Mar-08 4:05
Rajkumar R17-Mar-08 4:05 
GeneralRe: MFC Activex : Get resource from application that create a activeX control Pin
NorGUI17-Mar-08 4:35
NorGUI17-Mar-08 4:35 
GeneralFolder selection with <fstream></fstream> Pin
piul16-Mar-08 23:04
piul16-Mar-08 23:04 
GeneralRe: Folder selection with Pin
CPallini16-Mar-08 23:26
mveCPallini16-Mar-08 23:26 
GeneralRe: Folder selection with Pin
Rajkumar R16-Mar-08 23:35
Rajkumar R16-Mar-08 23:35 
Generalpointer of class instance [modified] Pin
rp_suman16-Mar-08 22:44
rp_suman16-Mar-08 22:44 
GeneralRe: pointer of class instance Pin
CPallini16-Mar-08 22:53
mveCPallini16-Mar-08 22:53 
GeneralRe: pointer of class instance Pin
Cedric Moonen16-Mar-08 23:01
Cedric Moonen16-Mar-08 23:01 
GeneralRe: pointer of class instance Pin
CPallini16-Mar-08 23:24
mveCPallini16-Mar-08 23:24 
GeneralRe: pointer of class instance Pin
Cedric Moonen16-Mar-08 23:30
Cedric Moonen16-Mar-08 23:30 
GeneralRe: pointer of class instance Pin
CPallini16-Mar-08 23:36
mveCPallini16-Mar-08 23:36 

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.