In my intend to make error messages for my programms look a bit more appealing, I created an avatar with Daz Studio 3D, with different faces, i.e. happy, sad, angry. To use them I'd like to have a vb.net class similar to msgBox like for example:
function AniMsg(Message as String, pathToPicture as String(), MsgType as CustomType Enum, Optional CustomAnswers as String() = Nothing, Optional Top as Integer = middlescreen, Optional Left as Integer=middlescreen) as String
MsgType should provide the following options:
OK
OkCancel
YesNo
Custom
Similar to MsgBox, the Options OK, OkCancel and YesNo should provide buttons like Ok, Cancel, Yes, No. In case custom is selected and optional customAnswers are provided, those should be available as buttons.
If pathToPicture contains more than one picture, it should be considered an animation, thus showing the first picture, preloading the others and then play them. Sample animation will be provided.
If Top and Left are provided they should be used to place the window on the given coordinates, else the message should pop up on the middle of the screen.
Example usage:
Dim myAnswers(2) as String
myAnswers(0) = "As blue as the ocean."
myAnswers(1) = "Red like blood."
myAnswers(2) = "Damn it, leave it be!"
Dim bgColor as String = AniMsg("You didn't choose a background color, so the printout would be blanc. What background color would you like?", "\server1\files\[login to view URL]", Custom, myAnswers)
Select case bgColor
Case "As blue as the ocean."
[login to view URL] = [login to view URL]
[..]
Requirements:
Must be vb.net class.
No use of 3rd party apps, dll's if no source code is available.
Transparent look, no borders around the pictures (using transparencyKey usually creates those ugly borders)
Speechbubble text must be able to hold any length of text, thus making scrolling required.
Speechbubble text must be animated. Means it starts empty and then letter by letter blends in, so reading is more comfortable.
Milestone payment. 50% on an compiled working demo dll, 50% after source delivery.
I tinkered an example picture together, how it should look in the end. Of corse if you can do it better, there won't be any objections :-)
Sample pictures, animation and grapics will be provided.