It seems that we can only embed XBAP Iframe to create a WPF gadget, the WPF
application will not
work at this time (I tried Stanimir's demo, it is not different to a
standalone WPF application, it will
not be able to dock into the sidebar when move the "Hello gadget" closing to
the sidebar, I don't
know if it is still a sidebar gadget if it could not dock into the sidebar).
The problem I met in XBAP gadget is that it is difficult to set padding so
that the gadget could be
drag out of the sidebar. the size of my XBAP is 190X145, my html launcher is
<html>
<head>
<title>XeePet Gadget</title>
<style>
body {
width:145;
height:190;
padding:0;
margin:0;
background:blac k;
}
</style>
</head>
<body>
<iframe height="190"
width="145"
src="XbapGadget .xbap" />
</body>
</html>
when it is running, it just dock into the sidebar and the drag handle will
not show up no
matter cursor move to anywhere on the gadget. I tried change the padding or
margin,
the drag handle did show up, but the untransparentab le background make the
gadget
pretty ugly.
I tried other gadget came with the Vista such as clock, any position of the
gadget is draggable,
how did they implement that, Is it possible in WPF XBAP gadget?
Best Regards 2 3158
Look at this blog Steven. This fellow says to use a WPF UserControl - sort
of makes sense: http://blogs.msdn.com/charles_sterli...oundation.aspx
"Steven Tang" <st***@mediator .comwrote in message
news:7C******** *************** ***********@mic rosoft.com...
It seems that we can only embed XBAP Iframe to create a WPF gadget, the
WPF application will not
work at this time (I tried Stanimir's demo, it is not different to a
standalone WPF application, it will
not be able to dock into the sidebar when move the "Hello gadget" closing
to the sidebar, I don't
know if it is still a sidebar gadget if it could not dock into the
sidebar).
The problem I met in XBAP gadget is that it is difficult to set padding so
that the gadget could be
drag out of the sidebar. the size of my XBAP is 190X145, my html launcher
is
<html>
<head>
<title>XeePet Gadget</title>
<style>
body {
width:145;
height:190;
padding:0;
margin:0;
background:blac k;
}
</style>
</head>
<body>
<iframe height="190"
width="145"
src="XbapGadget .xbap" />
</body>
</html>
when it is running, it just dock into the sidebar and the drag handle will
not show up no
matter cursor move to anywhere on the gadget. I tried change the padding
or margin,
the drag handle did show up, but the untransparentab le background make the
gadget
pretty ugly.
I tried other gadget came with the Vista such as clock, any position of
the gadget is draggable,
how did they implement that, Is it possible in WPF XBAP gadget?
Best Regards
Sorry for later response, I just saw your reply, and the link you provided
pretty help.
Thanks a lot
--
=============== ========
Steven Tang
SYWWUYU)
**:)
"James Hotmail" wrote:
Look at this blog Steven. This fellow says to use a WPF UserControl - sort
of makes sense: http://blogs.msdn.com/charles_sterli...oundation.aspx
"Steven Tang" <st***@mediator .comwrote in message
news:7C******** *************** ***********@mic rosoft.com...
It seems that we can only embed XBAP Iframe to create a WPF gadget, the
WPF application will not
work at this time (I tried Stanimir's demo, it is not different to a
standalone WPF application, it will
not be able to dock into the sidebar when move the "Hello gadget" closing
to the sidebar, I don't
know if it is still a sidebar gadget if it could not dock into the
sidebar).
The problem I met in XBAP gadget is that it is difficult to set padding so
that the gadget could be
drag out of the sidebar. the size of my XBAP is 190X145, my html launcher
is
<html>
<head>
<title>XeePet Gadget</title>
<style>
body {
width:145;
height:190;
padding:0;
margin:0;
background:blac k;
}
</style>
</head>
<body>
<iframe height="190"
width="145"
src="XbapGadget .xbap" />
</body>
</html>
when it is running, it just dock into the sidebar and the drag handle will
not show up no
matter cursor move to anywhere on the gadget. I tried change the padding
or margin,
the drag handle did show up, but the untransparentab le background make the
gadget
pretty ugly.
I tried other gadget came with the Vista such as clock, any position of
the gadget is draggable,
how did they implement that, Is it possible in WPF XBAP gadget?
Best Regards This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: MMA |
last post by:
Can an WBA/XBAP directly make a call to database server or does it need to go
through the WS?
Thanks in Advanec
|
by: dgk |
last post by:
From what I've been reading, an XBap application could be really good
for a place like mine where everyone will have a PC that has framework
3 loaded and runs IE. The app is downloaded from a server but runs in
the browser, hosted by PresentationHost.exe.
So, since it gets the app from the server each time that it runs
(yes?) it makes maintenance easy. But because it isn't a bunch of html
and javascript but can access almost the full...
|
by: Abhi Arora |
last post by:
Hi,
I need to host an XBAP application inside an Aspx page. I tried adding
my aspx page using IFRAME, but it doesnt show up in the browser. When
I call the page, it runs without any error. But it doesnt show
anything from the XBAP page.
Am I missing something simple here?
Abhi
|
by: Masudur |
last post by:
Hi,
I been searching net for a while for solution but unable to work.
i have few questions regarding xbap applicaion.
first of all can i really use wcf service with xbap browser
application in partial trust that is in internet.
if i can please help me with some specific guide line.
second of all how can i communicate with the parent site... from xbap.
that is if my xbap is hosted in http://mysite/app/default.aspx page in
a iframe
|
by: =?Utf-8?B?SXpvcmljaA==?= |
last post by:
I observed that WCF client running inside Full Trust mode XBAP application
can't read byte array over 16384. If return result is bigger than that size,
then client simply get null or Nothing in VB and there are no exceptions. I
have tried increasing limits on both client and server. Here is a typical
entry:
<binding name="myBasicHttpBinding"
maxBufferSize="2097152" maxBufferPoolSize="8388608"
maxReceivedMessageSize="2097152"...
| |
by: |
last post by:
It seems that we can only create a WPF gadget by embed XBAP Iframe, the WPF
application will not
work at this time (I tried Stanimir's demo, it is not different to a
standalone WPF application, it will
not be able to dock into the sidebar when move the "Hello gadget" closing to
the sidebar, I don't
know if it is still a sidebar gadget if it could not dock into the sidebar).
The problem I met in XBAP gadget is that it is difficult to set...
|
by: =?Utf-8?B?U3RldmVuIFRhbmc=?= |
last post by:
I'm creating a XBAP application and want it take some input from webpage
dynamically? what is the best way? how to do it?
Best Regards
Steven
--
=======================
Steven Tang
SYWWUYU)
|
by: =?Utf-8?B?U3RldmVuIFRhbmc=?= |
last post by:
I'm creating WPF gadget by embed XBAP Iframe:
1. Is it possible that create Pure WPF (non-XBAP) which could
auto dock into the Vista sidebar when dragging the WPF application
near Sidebar?
2. My current approach is using XBAP inside the iFram,
The problem I met in XBAP gadget is that it is difficult to set padding so
that the gadget could be
drag out of the sidebar. I.E., the size of my XBAP is 190X145, my html
launcher is
<html>
|
by: =?Utf-8?B?U3RldmVuIFRhbmc=?= |
last post by:
It seems that one page XBAP whose Unloaded event
never get called, I need put some clearing stuff (I.G stop dispatcher time)
when
user close browser, it unload event doesn't work, where
shall I put?
--
=======================
Steven Tang
SYWWUYU)
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |