Click here to Skip to main content
15,920,596 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to use control Pin
ladder22-Jul-03 23:47
ladder22-Jul-03 23:47 
AnswerRe: how to use control Pin
El'Cachubrey21-Jul-03 23:38
El'Cachubrey21-Jul-03 23:38 
GeneralRe: how to use control Pin
ladder22-Jul-03 23:51
ladder22-Jul-03 23:51 
GeneralRe: how to use control Pin
El'Cachubrey23-Jul-03 20:03
El'Cachubrey23-Jul-03 20:03 
AnswerRe: how to use control Pin
Bob Stanneveld22-Jul-03 2:46
Bob Stanneveld22-Jul-03 2:46 
GeneralRe: how to use control Pin
ladder23-Jul-03 0:09
ladder23-Jul-03 0:09 
GeneralRe: how to use control Pin
Bob Stanneveld23-Jul-03 1:38
Bob Stanneveld23-Jul-03 1:38 
GeneralCHtmlView and frame targets... Pin
mdingler21-Jul-03 22:08
mdingler21-Jul-03 22:08 
Hi there,

seems I've got a slight problem with a HTML control. I'm overriding the BeforeNavigate2 method, both for white listing sites and for disabling "_top" frame targets. The first one is working, but the latter one fails miserably...

Strangely, it never even gets the "_top" string into the "TargetFrameName" variable...

My code looks something like this:
void HtmlDlg::BeforeNavigate2(LPDISPATCH pDisp, VARIANT* URL, VARIANT* Flags, VARIANT* TargetFrameName, VARIANT* PostData, VARIANT* Headers, BOOL* Cancel)
{
	TRACE("TARGET -> %s\n\n", CString(TargetFrameName->bstrVal));
...


With a link like <a href="#" target="_top">, the TargetFrameName is completely empty, and accordingly I can't substitute something more reasonable later in the method...

Any idea why this happens?
GeneralATL problem Pin
novachen21-Jul-03 21:58
novachen21-Jul-03 21:58 
GeneralRe: ATL problem Pin
El'Cachubrey21-Jul-03 23:19
El'Cachubrey21-Jul-03 23:19 
GeneralProblem with CDialogBar and CPropertySheet Pin
BirJas21-Jul-03 21:53
BirJas21-Jul-03 21:53 
QuestionVC++ Problem? Pin
DaveE9th21-Jul-03 21:40
DaveE9th21-Jul-03 21:40 
AnswerRe: VC++ Problem? Pin
Jon Hulatt21-Jul-03 21:43
Jon Hulatt21-Jul-03 21:43 
GeneralRe: VC++ Problem? Pin
DaveE9th21-Jul-03 22:33
DaveE9th21-Jul-03 22:33 
QuestionD3dx8.lib? Pin
DaveE9th21-Jul-03 21:15
DaveE9th21-Jul-03 21:15 
AnswerRe: Where's my D2dx8.lib? Pin
John M. Drescher21-Jul-03 21:19
John M. Drescher21-Jul-03 21:19 
GeneralRe: Where's my D3dx8.lib? Pin
DaveE9th21-Jul-03 21:22
DaveE9th21-Jul-03 21:22 
GeneralRe: Where's my D2dx8.lib? Pin
John M. Drescher21-Jul-03 21:37
John M. Drescher21-Jul-03 21:37 
GeneralRe: Where's my D3dx8.lib? Pin
DaveE9th21-Jul-03 21:41
DaveE9th21-Jul-03 21:41 
Generalneed some help here Pin
FASTian21-Jul-03 20:35
FASTian21-Jul-03 20:35 
GeneralRe: need some help here Pin
JohnJ21-Jul-03 21:03
JohnJ21-Jul-03 21:03 
GeneralRe: need some help here Pin
FASTian21-Jul-03 21:29
FASTian21-Jul-03 21:29 
Questionif I add a text file to the resource, how could I get this file in the programe? Pin
benben21-Jul-03 20:29
benben21-Jul-03 20:29 
AnswerRe: if I add a text file to the resource, how could I get this file in the programe? Pin
Eugene Pustovoyt21-Jul-03 20:41
Eugene Pustovoyt21-Jul-03 20:41 
GeneralRe: if I add a text file to the resource, how could I get this file in the programe? Pin
benben22-Jul-03 4:42
benben22-Jul-03 4:42 

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.