• Welcome to Valhalla Legends Archive.
 

Another Question

Started by ChR0NiC, October 06, 2003, 01:52 AM

Previous topic - Next topic

ChR0NiC

I was told that it is possible to make the text in a MsgBox "linked" to go to a URL. Could anyone possibly tell me how to do that???

iago

Yes, and it's been answered at least 3 times on this forum.
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


ChR0NiC

I searched and I can't seem to find it.......

Soul Taker

Try searching for "EM_AUTOURLDETECT", either here or on MSDN.

Adron

Quote from: Soul Taker on October 06, 2003, 07:49 AM
Try searching for "EM_AUTOURLDETECT", either here or on MSDN.

That seems to find it for rich text boxes, not for msgboxes?

Soul Taker

#5
Quote from: Adron on October 06, 2003, 11:18 AM
Quote from: Soul Taker on October 06, 2003, 07:49 AM
Try searching for "EM_AUTOURLDETECT", either here or on MSDN.

That seems to find it for rich text boxes, not for msgboxes?
That will teach me to pay attention when I first wake up!

iago

#6
I assumed that's what he meant.

Besides, you can fake it with a RTB and a small form.
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


UserLoser

This is a crappy thread, it's non bot related in bot dev thread.

Adron

Yours is a crappy post, it's a non bot related rant in a non bot related thread on the bot dev board. How about finding out how to make those message boxes?

ChR0NiC

Yeah Im interested in msgbox's not anything else

Banana fanna fo fanna

Have no idea if this works, just throwing it out there...

Could get the hwnd of the message box (do message boxes have hwnds?) and use GDI to draw blue text to it. Then you could hax0r its wndproc and wait for mouseclick events and check if its within that rect.

Yoni

Quote from: St0rm.iD on October 06, 2003, 07:32 PM
Have no idea if this works, just throwing it out there...

Could get the hwnd of the message box (do message boxes have hwnds?) and use GDI to draw blue text to it. Then you could hax0r its wndproc and wait for mouseclick events and check if its within that rect.

Hax0ring messageboxes is possible, I've done it before.
In almost all cases, it's easier to make a dialog of your own instead of using a message box for special purposes.

Adron

The "Messagebox" that appears when a terminal server is not in add/remove programs mode, is that a dialog box?

Skywing

Quote from: Adron on October 07, 2003, 11:49 AM
The "Messagebox" that appears when a terminal server is not in add/remove programs mode, is that a dialog box?
Everything generated by MessageBox (or MessageBoxEx, SoftModalMessageBox, or MessageBoxTimeout) is actually a dialog, and uses the WC_DIALOG window class.

Adron

Ah. How interesting! I never checked that. Nothing wrong in making your own message boxes with dialogs then. It just uses some tight message loop that doesn't retrieve messages for other windows?