<< to CrossControl homepage

Support & Service Center

Hiding the mouse pointer and window frame on x86 devices (XM / XM2)

Printer-friendly versionPrinter-friendly versionPDF versionPDF version

On x86 based devices running Qt there is a border that will appear around the main application by default.  If you do not want this border to appear you can add this code to your main.cpp file:

	Application w;
	// uncomment this line to remove window frame
	w.setWindowFlags(Qt::FramelessWindowHint);

And if you don't want the mouse pointer being shown you can add this to the main.cpp file:

	QApplication a(argc, argv);
	a.setOverrideCursor( QCursor( Qt::BlankCursor ) );
 
Environment and Versions: 

x86 Devices (XM / XM2)

whatever