Gradients in Win 95

  • Thread starter old.[GA] Shovel
  • Start date
O

old.[GA] Shovel

Guest
I know this is listed as a Win98 feature but I was wondering if anyone new of a way to get the title bars in Win95 to do gradients too?

Some prgrams (Lotus Smartsuite, Norton Anti-Virus) have it but I was wondering if it is possible to do this with normal windows?

------------------
Shovel shovel@q2battleuk.com
Grey Area
Q2BATTLEUK
 
O

old.Fish

Guest
Well, office95 does it by plastering a gradient graphic over the title bar, which looks very crap if there's already a bar under it...

Win95's explorer can certainly handle it, but I think it's a feature of win98... Sorry to plug www.98lite.net again, but...

Still, I remember an add-on that put textures and stuff on them, but I can't remember what it's called... you might be able to search for it an www.download.com though...
 
R

Rup

Guest
If you want to program it yourself, you install your own frame drawing routine by intercepting WM_NCPAINT, WM_NCACTIVATE and probably WM_NCCALCSIZE too (plus most of the other WM_NCs if you change the layout at all).

If it's your own app, just add support to the window procedure. If it isn't, you need to trap these only if the application doesn't (i.e. a global SetWindowsHookEx isn't *really* the right way to go) -- so you'll have to intercept DefWindowProcA/W from the user dll. This isn't something I've ever had to do, but I would imagine it's not trivial. Good luck...
 
O

old.Fish

Guest
Erk!!!!!
wink.gif
 

Users who are viewing this thread

Top Bottom