--- In [email protected], "p.renfrew" <p.renf...@...> wrote: > > --- In [email protected], "brucexs" <bswitzer@> wrote: > > > Specifically, this should work for a single bar at a time(I'd need to do > > more to make it work on my 10 year old version of vc); call > > yourdll.setbottom(win.handle("yourbar")) > > Thank you. I will try to get it working soon if I can -- I noticed that my > callback worked for my test dialog app, but when using the HWND of the ppro > bar it didn't work as well. I could not select icons on the desktop during > the time it was brought to the front (if it came to the front at all), > perhaps because of some other window style or because it was transparent. > Something that should be so simple becomes quite frustrating. Maybe I'll try > to send the WorkerW to the BOTTOM instead.
Maybe: If you click on an icon, that would make the desktop the foreground window, which would call you hook again, which would make PowerPro the foreground window -- maybe that would be source of confusion? Not sure what to do about it. > > Is it possible to use this plugin architecture to easily get the Bar's window > messages (PAINT, MOUSEMOVE, ...) to accomplish the pinned/stick on bottom > effect (append a SetWinPos BOTTOM) that I mentioned was built into that > rainlendar desktop calendar? ( > http://tech.groups.yahoo.com/group/power-pro/message/36360 ) No, you cannot register for paints, sorry. As PowerPro is meant to be used as bar, and so clicked on (leading to paint then too, but you want it to stay foreground in that case), this does not sound simple to implement as a way of deciding when to stay background. If you really want to play with this, I can add a pproservice function that allows you to register to receive a callback at the end of paint operations. Then you could play with in plugin. BTW, as I am sure you noticed, ppro plugins extern "c" {} for dll entry points if you are writing in c++/ >
