Hi all
1- Is it possible to change fore font on the msgbox?
2 - Is it possible to make the fore font on the msgbox flashing?
Any one can help please ?
Many thanks in advance
vbnt
Printable View
Hi all
1- Is it possible to change fore font on the msgbox?
2 - Is it possible to make the fore font on the msgbox flashing?
Any one can help please ?
Many thanks in advance
vbnt
you can do pretty much anything you want to the msgbox control using subclassing and API calls
Many thanks phinds
Can you post example please ?
Thank you
uhh.... if you want flashing then you are better off making your own message box with forms and a timer or something similar that will flash the text.
poke around on planetsourcecode or any of several other sites referenced via the link down below my nameQuote:
Can you post example please ?
Show your Form(MessageBox) as 'Modal':
VB Code:
Option Explicit Private Sub Form_Load() With Label1 .ForeColor = vbBlue .FontName = "Arial" .FontSize = 12 .Caption = "This is a test" End With Timer1.Interval = 500 Timer1.Enabled = True End Sub Private Sub Timer1_Timer() If Label1.ForeColor = vbRed Then Label1.ForeColor = vbBlue Else Label1.ForeColor = vbRed End If End Sub