Hi,

I'm creating my own message box for various reasons.. I need to be able to use the standard MsgBox icons on my form. I was hoping I could do this via the API. Someone suggested that I use PrintScreen to capture the Icon and then put it on the form in a picture box but I don't like this because the background comes out a little different shade of grey and it looks cheap.. I want to do it the right way..

The idea is that when I call my home-made message box, I can specify the Icon to use just like the real MsgBox!!!

Example code would be appreciated.. I'm not an expert in API so please be very descriptive..

Dan