Click here to Skip to main content
15,899,026 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionLetters in a matrix? Pin
nywebhead15-May-02 9:01
nywebhead15-May-02 9:01 
AnswerRe: Letters in a matrix? Pin
Joaquín M López Muñoz15-May-02 9:06
Joaquín M López Muñoz15-May-02 9:06 
GeneralRe: Letters in a matrix? Pin
nywebhead15-May-02 15:43
nywebhead15-May-02 15:43 
GeneralLinker error for /delayload with VC 6 Pin
Cristina197615-May-02 8:27
Cristina197615-May-02 8:27 
GeneralIllegal Operation w/ Toolbars Pin
RalfPeter15-May-02 8:12
RalfPeter15-May-02 8:12 
GeneralCHtmlView Question... Pin
JoeSox15-May-02 7:49
JoeSox15-May-02 7:49 
GeneralRe: CHtmlView Question... Pin
Paul M Watt15-May-02 8:06
mentorPaul M Watt15-May-02 8:06 
GeneralRe: CHtmlView Question... Pin
Matt Gullett15-May-02 8:43
Matt Gullett15-May-02 8:43 
The basic way to do this is to use the COM interface exposed by the WebBrowser control and find the element you are interested in and interogate its properties.

Another way this can be done is to have an onchange event for the drop down that redirects to a URL like customstuff:myvar=1 type of thing. Then in your CHtmlView class you can overide the OnBeforeNavigate2 (maybe OnBeforeNavigate??) function and check for the customstuff: prefix and set your variable accordingly. Remember to cancel the navigate, of course.

Another way is to use the wonderful DHTML UI library provided by Ted Crow. (http://www.codeproject.com/useritems/dhtmlui.asp). This library will allow you to expose your applications object model to the HTML windows being displayed though the window.external property.
QuestionWhat would be the best solution for storing a large amount of paths? Pin
redeemer15-May-02 7:32
redeemer15-May-02 7:32 
AnswerRe: What would be the best solution for storing a large amount of paths? Pin
Paul M Watt15-May-02 7:50
mentorPaul M Watt15-May-02 7:50 
GeneralHow do i assign a path to each item? Pin
redeemer15-May-02 8:01
redeemer15-May-02 8:01 
GeneralRe: How do i assign a path to each item? Pin
dazinith15-May-02 8:26
dazinith15-May-02 8:26 
GeneralRe: How do i assign a path to each item? Pin
redeemer15-May-02 8:29
redeemer15-May-02 8:29 
GeneralRe: How do i assign a path to each item? Pin
Paul M Watt15-May-02 8:35
mentorPaul M Watt15-May-02 8:35 
GeneralCan i assign an entire string to lParam? Pin
redeemer15-May-02 8:37
redeemer15-May-02 8:37 
GeneralRe: How do i assign a path to each item? Pin
Paul M Watt15-May-02 8:34
mentorPaul M Watt15-May-02 8:34 
GeneralCan i assign an entire string to lParam? Pin
redeemer15-May-02 8:37
redeemer15-May-02 8:37 
Generalwinsock servers ... console apps... Pin
l a u r e n15-May-02 7:30
l a u r e n15-May-02 7:30 
GeneralRe: winsock servers ... console apps... Pin
Paul M Watt15-May-02 8:02
mentorPaul M Watt15-May-02 8:02 
GeneralRe: winsock servers ... console apps... Pin
Anders Molin15-May-02 8:03
professionalAnders Molin15-May-02 8:03 
GeneralRe: winsock servers ... console apps... Pin
Nemanja Trifunovic15-May-02 8:17
Nemanja Trifunovic15-May-02 8:17 
GeneralRe: winsock servers ... console apps... Pin
Amit Dey15-May-02 10:19
Amit Dey15-May-02 10:19 
Generalpopup menu font sizing Pin
jimNLX15-May-02 7:10
jimNLX15-May-02 7:10 
GeneralRe: popup menu font sizing Pin
Paul M Watt15-May-02 8:12
mentorPaul M Watt15-May-02 8:12 
GeneralOnly if WTL had AfxGetMainWnd Pin
Mike.NET15-May-02 7:13
Mike.NET15-May-02 7:13 

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.