I know that somehow you can draw a unicode character from a font that contains the character using the glyph index. MSDN contains a brief article about a tehcnique for mapping the unicode number to a glyph index so it can be rednered using exttextout - however I can not get this technique to work. Can someone please lend a hand and provide a simple example of how to draw a foriegn character on a dc in windows 95/98. Ie can do this, there must be a way
Eric Crahen
Posts
-
Unicode Character Rendering in 95/98 -
Unicode Character Rendering in 95/98I know that somehow you can draw a unicode character from a font that contains the character using the glyph index. MSDN contains a brief article about a tehcnique for mapping the unicode number to a glyph index so it can be rednered using exttextout - however I can not get this technique to work. Can someone please lend a hand and provide a simple example of how to draw a foriegn character on a dc in windows 95/98. Ie can do this, there must be a way
-
Layered Window Impl on 98I 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
-
Layered Window Impl on 98I 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
-
Layer Window Impl on 98I 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
-
Layer Window Impl on 98I 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