Puttin HTML text input box on top of WPF/E

I have tried using absolute position to put an HTML text input box on top of the WPF/e control but it doesn't show up. Can someone please show me specifically how to place a text input control inside of a WPF/e control?

Thanks,

Michael S. Scherotter
Mindjet Labs
http://mindjetlabs.com

[382 byte] By [mscherotter] at [2007-12-31]
# 1

In order to make this work you will need to:

  • Absolutely position the div that contains the text box and set it's z-index to 2
  • Absolutely position the div that contains the WPF/E control and set it's z-index to 1
  • Set the IsWindows parameter in the aghost to true.

I've posted a very simple example here which shows three text boxes on top of a WPF/E path.

BryantLikes at 2007-9-6 > top of Msdn Tech,Silverlight (formerly WPF/E),Silverlight (formerly WPF/E) Developer Issues...
# 2

Hello

I have you put the parameter IsWindowless to true ?

Cyril Caillaud

ccaillaud at 2007-9-6 > top of Msdn Tech,Silverlight (formerly WPF/E),Silverlight (formerly WPF/E) Developer Issues...
# 3

I used windowsless = true because that allows the background to be transparent. From the SDK on WindowlessMode:

If the value is set to true and the BackgroundColor property value specifies an alpha value, the color value is blended with the HTML page.

So if you want the wpf/e control to blend with the page then you set this to true. In my example I didn't really need this since there wasn't anything behind the WPF/E control, but it was probably just set like that in the page I used to create my example and I didn't change it.

BryantLikes at 2007-9-6 > top of Msdn Tech,Silverlight (formerly WPF/E),Silverlight (formerly WPF/E) Developer Issues...