I would like to achieve a Rainmeter-style gui. I have been looking at gdip to achieve this, particularly the Gdip main thread - Example 8, which shows how to draw text onto the gdip gui. I've searched around to see what the best approach will be, to no effect - I've been getting mixed messages.
Essentially I'm trying to replicate this:
Simply, a nice-looking GUI with transparency, and draggable. Sits on the desktop, on the bottom of other windows, and you can click the links.
- each text item must be clickable
- the GUI must be draggable
- the 'foreground/background' window position of the GUI must be precisely controlled
I played around - In order to allow the dragging of the window as well as clickable links, I tried to create a couple windows with gdip as in Example 8, and then set one (displaying text and transparent bg) as a child of the other (displaying a square shape with rounded corners, to serve as the grey background), via
Gui, 2: +Parent%Gui1Id%. That way, each window could have its own 'click()' function and treat a mouse click differently, but that failed completely. I don't really have any code to post, I just added a couple lines to the example, and I have no idea if this is even close to the correct approach.
Can anyone point me in the right direction here? Has anyone written similar code? Is it possible to use regular controls for this? Will I need to have child/parent windows? What's going to be involved here?