Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Widgets - General questions or Mixed problems » problem with IEBrowser from Control4U (Problem using IEBrowser from Control4U)
problem with IEBrowser from Control4U [message #50421] Thu, 25 October 2018 16:20 Go to previous message
Xemuth is currently offline  Xemuth
Messages: 387
Registered: August 2018
Location: France
Senior Member
Hello Everyone !

Today I'm trying to use InternetExplorerBrowser from Control4U.
Here is my code :
IeController.lay
LAYOUT(IeControllerLayout, 328, 272)
	ITEM(InternetExplorerBrowser, myIe, SetStatus(false).LeftPosZ(16, 296).VSizePosZ(28, 28))
END_LAYOUT

main.cpp
#include "IeController.h"
#include <Controls4U/Controls4U.h>
#include <Controls4U/ActiveX.h>
#include <Controls4U/ActiveX_base.h>
IeController::IeController()
{
	CtrlLayout(*this, "Window title");
	myIe.SetStatus("true");
	myIe.Browse("www.google.fr");

}

GUI_APP_MAIN
{
	IeController().Run();
}


IeController.h
#ifndef _IeController_IeController_h
#define _IeController_IeController_h

#include <CtrlLib/CtrlLib.h>
#include <Controls4U/Controls4U.h>
#include <Controls4U/ActiveX.h>
#include <Controls4U/ActiveX_base.h>
using namespace Upp;

#define LAYOUTFILE <IeController/IeController.lay>
#include <CtrlCore/lay.h>

class IeController : public WithIeControllerLayout<TopWindow> {
	InternetExplorerBrowser ie;
	
public:
	typedef IeController CLASSNAME;
	IeController();
};

#endif


This small code work but my IEBrowser do not appear in my TopWindow (the Control4U_Demo worked perfectly).
Can someone help me guess why the problem occure ?

Thanks in advance, have a good day !
  • Attachment: unknown.png
    (Size: 17.16KB, Downloaded 221 times)
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Control4U issue with IExplorer
Next Topic: Problem with DHCTRL on Windows
Goto Forum:
  


Current Time: Thu Apr 25 04:00:53 CEST 2024

Total time taken to generate the page: 2.08270 seconds