Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. Article Writing
  4. Layer Window Impl on 98

Layer Window Impl on 98

Scheduled Pinned Locked Moved Article Writing
csharpcomc++visual-studiographics
2 Posts 2 Posters 6 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    Eric Crahen
    wrote on last edited by
    #1

    I have seen several apps on Win98 that use softshape's ActiveSkin ActiveX control. Mostly this control allows people to haev a coherent means for creating skinned 'applications'. It includes one function that allows you to set a transparency level. If you download the control right from softshape you can use the Visual Studio tools to view the interfaces their control provides. There is an app called BoxCard @ http://softini.cjb.net that uses this feature and will let you see it in action I've tried several things briefly to try and implement some transluceny. It is pretty easy to make a translucent menu or dialog as long as it is WITHIN a frame window or something. You can just make owner draw controls that get the parentdc and alphablend the control DC with the parents. This works really well if you have a stable bitmap background. However, this become very hard to do when you have other windows moving around behind a translucent control or you try to do this on the windows desktop. Win2K provides a LayeredWindow to help with this. Does anyone have access to a W2K dev kit that contains this implementation? I check my VC 6 for this but it does not seem to be included. I'd like to see how they did this. I also considered it might be possible to control how windows draws the window, after all - doing this can't befar off from what programs like eFX and WindowBlinds have been doing to change the frame bars on existing windows already. - Eric Any suggestions? I plan on putting all this info together with some other controls I've made and putting it up on the web with source. MFc is nice, but its really easy to think of semi-simple things that are very diffculut to do - like change an image on a static control (w/o hiding an existing one and displaying a new control) Anyways, I'm getting off on a tangent. Please let me know you thoughts or tips. - Eric crahen@buffalo.edu DrCrahen@mad.scientist.com

    E 1 Reply Last reply
    0
    • E Eric Crahen

      I have seen several apps on Win98 that use softshape's ActiveSkin ActiveX control. Mostly this control allows people to haev a coherent means for creating skinned 'applications'. It includes one function that allows you to set a transparency level. If you download the control right from softshape you can use the Visual Studio tools to view the interfaces their control provides. There is an app called BoxCard @ http://softini.cjb.net that uses this feature and will let you see it in action I've tried several things briefly to try and implement some transluceny. It is pretty easy to make a translucent menu or dialog as long as it is WITHIN a frame window or something. You can just make owner draw controls that get the parentdc and alphablend the control DC with the parents. This works really well if you have a stable bitmap background. However, this become very hard to do when you have other windows moving around behind a translucent control or you try to do this on the windows desktop. Win2K provides a LayeredWindow to help with this. Does anyone have access to a W2K dev kit that contains this implementation? I check my VC 6 for this but it does not seem to be included. I'd like to see how they did this. I also considered it might be possible to control how windows draws the window, after all - doing this can't befar off from what programs like eFX and WindowBlinds have been doing to change the frame bars on existing windows already. - Eric Any suggestions? I plan on putting all this info together with some other controls I've made and putting it up on the web with source. MFc is nice, but its really easy to think of semi-simple things that are very diffculut to do - like change an image on a static control (w/o hiding an existing one and displaying a new control) Anyways, I'm getting off on a tangent. Please let me know you thoughts or tips. - Eric crahen@buffalo.edu DrCrahen@mad.scientist.com

      E Offline
      E Offline
      Erik Thompson
      wrote on last edited by
      #2

      You can retrieve the Windows 200 SDK from Microsoft's website. http://msdn.microsoft.com/isapi/msdnlib.idc?theURL=/library/psdk/sdkintro/mainport.htm Here you can find examples and information on them. You can also download the PlatformSDK for January 2000 if you wish too. http://msdn.microsoft.com/downloads/sdks/platform/platform.asp And then Click "Platform SDK Setup" under the Installation Heading. Hope it helps, -Erik ================== The original message was: I have seen several apps on Win98 that use softshape's
      ActiveSkin ActiveX control. Mostly this control allows people
      to haev a coherent means for creating skinned 'applications'. It includes
      one function that allows you to set a transparency level.
      If you download the control right from softshape you can use the
      Visual Studio tools to view the interfaces their control provides.
      There is an app called BoxCard @ http://softini.cjb.net
      that uses this feature and will let you see it in action

      I've tried several things briefly to try and implement some transluceny. It
      is pretty easy to make a translucent menu or
      dialog as long as it is WITHIN a frame window or something. You can
      just make owner draw controls that get the parentdc and alphablend the
      control DC with the parents. This works really well if you have a
      stable bitmap background. However, this become very hard to do when you
      have other windows moving around behind a translucent control or
      you try to do this on the windows desktop.

      Win2K provides a LayeredWindow to help with this. Does anyone have access to
      a W2K dev kit that contains this implementation? I check my VC 6 for this
      but it does not seem to be included. I'd like to see how they did this.

      I also considered it might be possible to control how windows draws the
      window, after all - doing this can't befar off from what programs like eFX
      and WindowBlinds have been doing to change the frame bars on existing
      windows already.

      - Eric

      Any suggestions? I plan on putting all this info together with some other
      controls I've made and putting it up on the web with source. MFc is nice,
      but its really easy to think of semi-simple things that are very diffculut
      to do - like change an image on a static control (w/o hiding an existing one
      and displaying a new control) Anyways, I'm getting off on a tangent. Please
      let me know you thoughts or tips.

      - Eric

      crahen@buffalo.edu
      DrCrahen@mad.scientist.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups