Did some more work. I think my concept is done now... if an artist wants to make it look a bit better, I will complete the SKIN and include it with the next SB release.
If you add a Wait(1000) before trying to embed, it works with the Class & Title always (of course the title contains a radio station number, so it wouldn't work if you closed radioSHARK on a different station).
I have this working fine:
Did some more work. I think my concept is done now... if an artist wants to make it look a bit better, I will complete the SKIN and include it with the next SB release.
are the presets in text so that the end user can edit them? or are they graphics?
Graphics. This skin should be delivered with blank presets (so people can add their own using a PNG editor), and also with numbers 1-6 for the presets (for the lazy/photoshop-challenged).
also note, the graphic you used it made to work with my recoloring of the cF 1.4 skin (yet to be released) + 800x600. That graphic will not line up with cf at any other res.
Good news people. I've made a lot of progress on the iG SKIN, and I think I almost have the main drawing bug fixed.
I made a version where the buttons do not disappear and any fully transparent parts are click-through and update properly (the fully transparent Rgn's are cut out). The only problem with that is that the alpha-blended parts do not update to the moving map. This will probably be my next release (with a full iG SKIN).
I am also making a lot of progress with WS_EX_LAYERED which I have discovered is the only way to allow per-pixel alpha-blending over a changing background window. When I set the ExStyle to WS_EX_LAYERED instead of WS_EX_TRANSPARENT, I had always received an EOS error which I had no clue how to debug, but then I found out Layered windows cannot have a parent and have to be drawn via:
I can not get the buttons to draw though... there is a problem with the above line. I receive no error, I just don't see the buttons. I will keep working on it though. Unfortunately, even once I do get that working I have to solve a bunch of other positioning problems... Since it doesn't have a Parent, the buttons will be drawn relative to the desktop rather than the SKINbedder window. I can fix that using the SKINbedder window position as an offset, but when SKINbedder is embedded in a front-end, its position is always 0,0 (I have experienced this problem before when I found out I could fix the alpha-blended GPS_Info and Route_List not updating bug by not setting their parent to the WindowContainer [which means they are not really embedded, just cropped and overlayed]).Code:UpdateLayeredWindow(SkinArray[Index].Handle, AScreenDC, @FPosition, @FSize, Bitmap.Handle, @ASourcePosition, $000000, @ABlendFunction, ULW_ALPHA);
All I can say is doing Win32API per-pixel alpha-blending is a PITA! (but it looks so cool)
If you have done some API programming and you think you may know how to help me with UpdateLayeredWindow or anything else, please PM me.
Yay! Progress
Post some tease screenshots![]()
Well, I ran into the same problem. You cant set a parent for them. My closest solution was to make an extra window on top of everything, and make it a toolwindow with the following code:
orgparent = SetWindowLong(hwndofwindowtobind, GWL_HWNDPARENT, parent)
Instead of embedding the window, this makes the window act as a toolbox, and it follows the parents movements to an extent. Minimizing, changing order of windows (putting a window on top or behind) will always keep the window directly on top of the window it was set to follow. Then all you have to do is make your resize message handler also resize your transparent window to follow the main window, and you can nearly have the effect of a layered embedded window.
Current projects: iGmod reloaded (Latest release) (put on hiatus indefinatly)
Unlimited Internet and gps tracking for $6 a month with boost mobile!
Carputer 2: www.lmaocar.com
Ok... but you can't really see the progress because the biggest thing is that it doesn't blink or fade up. Anyway, here's the POI page![]()
Ok... but you can't really see the progress because the biggest thing is that it doesn't blink or fade up. Anyway, here's the POI page![]()
Bookmarks