If I remember right, that technique does not work quite right in XP.Īlso, is there a way (declares?) to get rid of the thin line between the main window and menu? Dave posted an excellent piece of code at How to determine OS, which version, and which ver of windoz? - General - Xojo Programming Forum You will need to detect the Windows version. To emulate the Modern API look, it requires removing it. The Windows 7/8 plain box has a 6 pixels border all around.Instead of going pixel by pixel just create a rectangular region to erase the glitch.Īlso in the same program, note the method to make the plain box window movable, useful to re-create the bar move. See the top declares in the ShapeForm method. The basic code to render transparent that extra lighter bar is in the the example /Platform-specific/Windows/CustomWindowShape. I filed a bug report but until fixed, it will be necessary to apply a declare workaround. The current plain box window in Xojo under Windows 10 is not a plain box, it has a small lighter bar across the top.Hence what you see is not a regular window, it is a composition based on the borderless plain box window. The settings in Windows 10 are a Modern API application. Is it possible to get something like the new Windows 10 Settings window?īasically I want to change the color and remove the thin line between mainwindow and menu (also see screenshot below). More or less easily, more or less likely…
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |