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 » Control4U issue with IExplorer (Issue with IExplorer)
Control4U issue with IExplorer [message #50420] Thu, 25 October 2018 16:06
Qwak is currently offline  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 21 times)
Previous Topic: DHCtrl for GTK backend - help needed
Next Topic: problem with IEBrowser from Control4U
Goto Forum:
  


Current Time: Wed Apr 24 23:59:01 CEST 2019

Total time taken to generate the page: 0.00630 seconds