Click here to Skip to main content
16,006,475 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How can I use a CRgn to draw on a CBitmap? Pin
Craig Miller6-Aug-01 12:45
Craig Miller6-Aug-01 12:45 
GeneralRe: How can I use a CRgn to draw on a CBitmap? Pin
Christian Graus6-Aug-01 12:48
protectorChristian Graus6-Aug-01 12:48 
GeneralRe: How can I use a CRgn to draw on a CBitmap? Pin
Craig Miller6-Aug-01 12:57
Craig Miller6-Aug-01 12:57 
GeneralRe: How can I use a CRgn to draw on a CBitmap? Pin
Christian Graus6-Aug-01 13:23
protectorChristian Graus6-Aug-01 13:23 
GeneralRe: How can I use a CRgn to draw on a CBitmap? Pin
Craig Miller6-Aug-01 13:30
Craig Miller6-Aug-01 13:30 
GeneralRe: How can I use a CRgn to draw on a CBitmap? Pin
Christian Graus6-Aug-01 13:32
protectorChristian Graus6-Aug-01 13:32 
GeneralIexplorer Pin
calebcohoon6-Aug-01 10:34
calebcohoon6-Aug-01 10:34 
GeneralRe: Iexplorer Pin
Not Active6-Aug-01 10:43
mentorNot Active6-Aug-01 10:43 
One way would be to trick it. Set the hyperlink in question to some value that has meaning to you. THen override the OnBeforeNavigate method of the web browser control. Parse the URL and redirect it to open a dlg.

a href="opendlg" (would be nice to have
 tag support)

OnBeforeNavigate(LPCTSTR lpszURL, ...)
{
    if( !strcmp(lpszURL, "opendlg" )
        dgl.DoModal()
}

I've used this type of trick before. It might not be the best but it gets you there without having to implement IDocHostHandler and such. You could also do this with script on the page itself.

GeneralSetting a value and reading values in registry Pin
RobJones6-Aug-01 10:14
RobJones6-Aug-01 10:14 
GeneralRe: Setting a value and reading values in registry Pin
Not Active6-Aug-01 10:36
mentorNot Active6-Aug-01 10:36 
GeneralRe: Setting a value and reading values in registry Pin
RobJones6-Aug-01 11:56
RobJones6-Aug-01 11:56 
GeneralDebug v. Release Pin
flurinator6-Aug-01 9:51
flurinator6-Aug-01 9:51 
GeneralRe: Debug v. Release Pin
Baafie6-Aug-01 13:32
Baafie6-Aug-01 13:32 
GeneralRe: Debug v. Release Pin
flurinator6-Aug-01 20:04
flurinator6-Aug-01 20:04 
GeneralRe: Debug v. Release Pin
flurinator6-Aug-01 20:04
flurinator6-Aug-01 20:04 
GeneralRe: Debug v. Release Pin
9-Sep-01 1:04
suss9-Sep-01 1:04 
GeneralRe: Debug v. Release Pin
Bret Faller7-Aug-01 9:14
Bret Faller7-Aug-01 9:14 
GeneralRe: Debug v. Release Pin
Michael Dunn6-Aug-01 14:05
sitebuilderMichael Dunn6-Aug-01 14:05 
GeneralCDynamicAccessor Pin
Bret Faller6-Aug-01 9:30
Bret Faller6-Aug-01 9:30 
GeneralRe: CDynamicAccessor Pin
Tomasz Sowinski6-Aug-01 10:25
Tomasz Sowinski6-Aug-01 10:25 
GeneralRe: CDynamicAccessor Pin
Bret Faller6-Aug-01 11:24
Bret Faller6-Aug-01 11:24 
GeneralRe: CDynamicAccessor Pin
Tomasz Sowinski6-Aug-01 11:37
Tomasz Sowinski6-Aug-01 11:37 
GeneralRe: CDynamicAccessor Pin
Not Active6-Aug-01 10:50
mentorNot Active6-Aug-01 10:50 
QuestionDotNet control in MFC? Pin
6-Aug-01 9:18
suss6-Aug-01 9:18 
Generaldisabling escape Pin
6-Aug-01 8:05
suss6-Aug-01 8:05 

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.