Page 4 of 4

Re: SmallPlugin 1.8

Posted: Wed Jun 12, 2019 6:32 pm
by dgilmour
The shortcut keys of the disabled menu item were becoming active after menu item was hidden with the HideMenuItem command.
The SetMenuItemEnabled and the SetMenuItemChecked commands did not worked for hidden menu items.

SmallPlugin 1.8

Posted: Tue Jun 02, 2020 6:32 pm
by dgilmour
I have updated plugin by adding a new command that helps to scale application window and its elements on the screens with high DPI. This is how it looks in the system with 200 % scale (it appears slightly blurry in browser, but if you'll download image and open it in image viewer or just run general_sample.mbd on high-DPI screen, you'll see it is sharp):

sp.png (26.5 KiB) Viewed 893 times

As you can see, now the menu styles are also DPI-aware (system DPI awareness), but I didn't updated the Visual Studio 2010 and 2008 styles yet, because they have more complex menu elements (like selection rectangle with rounded corners for example), but I think I'll find the way to draw these elements properly with any DPI settings and will update remained styles too. So far I'm not going to make plugin and the style libraries to have per-monitor (V2) DPI awareness, because its realisation requires use of APIs that are available only in later versions of Windows 10, what automatically makes compiled application incompatible with older versions of Windows.

Also I have updated Menu Designer tool so now you can save your big menu layout to file and quickly load it when you need to modify it. I have transferred Menu Designer's code to the latest Visual Studio and it is Unicode now, though I don't know why it can be useful, because MMB does not support Unicode :), but what is more important it has much less false positive reports at virustotal (four for x86 version and zero for x64 - ask me if you want to have x64 version, I didn't included it to the package). I fixed all UI bugs I was aware of - like completely screwed user interface on high-DPI screens or improper selection rectangle drawing in the tree view in Windows 7, black rectangles and other wrong things that you probably never seen in designer, just because you don't use it at all. ;)

You can download package from plugin's home page (the link is in the initial message of this topic).

Re: SmallPlugin 1.8

Posted: Sat Sep 05, 2020 5:30 pm
by CodeHouse
Hi dgilmour, great to know you are still active in here..was just trying to do some Windows tweaking with my after a very long time of using it.

I don't know if small plugin could do the following on current Windows operating system like Windows 10: disable keys, e.g alt ctrl del, Windows key and perhaps prevent taking screenshots.

By the way how's family and all.. Hoping to hear from you soon, thanks

Re: SmallPlugin 1.8

Posted: Sun Sep 06, 2020 5:39 pm
by dgilmour
CodeHouse wrote:
Sat Sep 05, 2020 5:30 pm
disable keys, e.g alt ctrl del, Windows key and perhaps prevent taking screenshots.
No, it can't.