Would it be possible for me to create a Windows application with a “hole” in one of the windows/dialogs, effectively making it possible to see other Windows’ & applications’ objects through that “see-through object/hole”?
Thanks in advance for any inputs.
-Simon @ Nashville, Tennessee
As always, you seem to have solutions waiting for my problems, Christian. I’ll check out your OverlayMBS class. This would be a good reason for me to finally purchase one of your products! FYI, I’ve been tempted to do so with some of your products, but I always waited until later… This might be the time… Thank you so much for the direction!
I am curious, Christian, the example codes shown on your website are simple to understand, just like an in old-fashion programming codes I am also familiar with (such as Java, Rexx, etc.), in plain texts.
My questions here:
How do you add the GUI components into the codes, if there are any (such as a dialog, and other objects within the dialog)? Is there a special editor that I can use with a window builder add-on (similar to that in Eclipse, perhaps)?
How do you invoke the Xojo compiler/builder from a (Windows’ CMD) command line to create the executable (for Windows O/S, in this case)?
Well, setting window mask should work with a normal Xojo window including controls.
The overlay one is a custom thing, where you can draw into the picture as needed and draw your own controls if needed. And then handle mouse clicks. It is not really for regular controls.
We use it for custom stuff like a ruler, an utility display for some values or to draw a selection rectangle.
If your post was meant for me, obviously, it was beyond my level of comprehension. In short, I do not understand it. FYI, I am not a sharp person.
BTW, just in case my initial question was not clear, I am trying to create an Windows application, imagine a window, with in it a “hole”, through which I can see Windows (O/S), desktop and/or other applications’ objects (such as the icons on the desktop, etc. Think of a donut or a bagel, through which hole you can see things “behind” it. Or, perhaps this Shanghai World Financial Center - Wikipedia , through the hole within the building you can see the things on the other side.
Dim borderwidth As Integer
Dim p As Picture
p = New Picture(Width+borderwidth+30,Height+60,32)
p.Graphics.ForeColor=RGB(0,0,0)
p.Graphics.FillRectangle(11, 34, 298, 270)
If Not Self.SetWindowMaskMBS(p,True, RGB(0,0,0)) Then
Beep
End If
Is this the right MBS Xojo Plugin for me to purchase for this?
My tip to those who wants to save the project in type “Xojo Project”, create a subdirectory/folder first, and then save your “Xojo Project” (created many files) in there.