Home » U++ Library support » U++ Widgets - General questions or Mixed problems » Control4U issue with IExplorer (Issue with IExplorer) 
	
		
		
			| Control4U issue with IExplorer [message #50420] | 
			Thu, 25 October 2018 16:06  | 
		 
		
			
				
				
				
					
						  
						Qwak
						 Messages: 8 Registered: October 2018 
						
					 | 
					Promising Member  | 
					 | 
		 
		 
	 | 
 
	
		Hi everyone, 
 
I'm trying to use IEWidget from Control4U but even with simple and small 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 
 
My IExplorer don't appear in my window. Do someone have any clues of what the problem is ? 
 
Thanks in advance, have a good day ! 
 
Qwak
		
	- 
	
 
	Attachment: unknown.png
	 
	(Size: 17.16KB, Downloaded 298 times)
 
 
		
		
 |  
	| 
		
	 | 
 
 
 |   
Goto Forum:
 
 Current Time: Tue Nov 04 03:47:22 CET 2025 
 Total time taken to generate the page: 0.05995 seconds 
 |