Asked by:
Custom Dialog's

Question
-
I've seen a few addins that have use various dialogs as part of their implementation\usage.
Are these just standard dialogs with a WHS looking background image or does the sdk have custom dialogs?Thanks.
Saturday, May 8, 2010 5:52 PM
All replies
-
The SDK doesn't have custom dialogs that I know of.
But you can easily use the standard ones of .NET.
In my case I just adjust the background color, but there is nothing special to them.Hope that answers your question.
Cheers,
NickSaturday, May 8, 2010 7:44 PMModerator -
That's great, I've implemented a standard dialog but it obviously looks out of place in the console.
Where did you get the background image from? I cannot see anything obvious.
Thanks.
Saturday, May 8, 2010 8:06 PM -
Have a look at these: http://www.brendangrant.com/WHS/WHSDevTips.htm. There is a custom MessageBox that WHS provides, if that's what you're after.
- QMessageBox: http://ihatelinux.blogspot.com/2007/11/whs-developer-tip-2-messagebox.html
- WHS Images: http://ihatelinux.blogspot.com/2007/11/whs-developer-tip-5-images-and-icons.html (CommonImages contains the background image that I think you're talking about).
Tentacle Blog: http://www.tentaclesoftware.com/blog/
WHS Disk Management: http://www.tentaclesoftware.com/WHSDiskManagement/- Proposed as answer by Sam WoodModerator Monday, May 10, 2010 12:16 AM
Saturday, May 8, 2010 10:40 PMModerator -
An example would be the About dialog that you have on your disk management app.
The WizardTopBanner appears to be that image I had in mind, thanks for that Sam.
Saturday, May 8, 2010 11:55 PM -
The About dialog is just a normal Form with some properties set in the designer (turning off the minimize button, changing the border etc).
Tentacle Blog: http://www.tentaclesoftware.com/blog/
WHS Disk Management: http://www.tentaclesoftware.com/WHSDiskManagement/Monday, May 10, 2010 12:16 AMModerator