|
-
Jun 15th, 2007, 02:51 PM
#1
Thread Starter
Fanatic Member
-
Jun 21st, 2007, 06:08 AM
#2
New Member
Re: Custom Messagebox with background
Hello,
i've made some changes to your code and added a picture box to simulate the messagebox type as a question, info, exclamation, etc... This is working fine.. But i'm having a problem...
How can i access to the dialog results?
i tried to do a=b.msgbox(.......) and it dont work...
tried a=b.dialogresults and it dont work...
Can you tell me how can i do it please?
Thanks
-
Jun 21st, 2007, 07:05 AM
#3
Thread Starter
Fanatic Member
Re: Custom Messagebox with background
Here is an example:
Code:
Private Sub btnExit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnExit.Click
If m.Show("Are you sure you want to exit?", "Confirm Exit", msgbox._Buttons.YesNo, Me.BackgroundImage, ImageLayout.Stretch) = msgbox.DialogResult.Yes Then
Application.Exit()
End If
End Sub
I am also working on adding the picturebox icon to it. If you have any other questions or problems, let me know.
Thanks!
D
Platforms of choice: Visual Studio 2005/2008 Professional : Visual Studio 2010 Enterprise : PHP - Notepad++/WAMP
Please Rate If I helped you. 
Please remember to mark threads as closed if your issue has been resolved.
Reserved Words in Access | Connection Strings
-
Aug 13th, 2007, 10:26 AM
#4
Fanatic Member
Re: Custom Messagebox with background
What is this Glass.Glassbutton? Is there something I'm missing?
Thanks
Godwin
Help someone else with what someone helped you! 
-
Feb 10th, 2008, 10:27 PM
#5
New Member
Re: Custom Messagebox with background
What is this Glass.Glassbutton? It gets errors when including in a project on glass.glassbutton.
-
Feb 11th, 2008, 08:02 AM
#6
Thread Starter
Fanatic Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|