message box In Visual Basic 6.0

hi


can any body give me the code for changing the default position of a messagebox


that is i want to positon the message box to the lower right of the form

thanks in advance

bye

Comments

  • create your own msgbox instead! USe a form and remake it,



    cre: hi
    :
    :
    : can any body give me the code for changing the default position of a messagebox
    :
    :
    : that is i want to positon the message box to the lower right of the form
    :
    : thanks in advance
    :
    : bye
    :

    [HR]
    Gadver, ik wot ha'k hjir no wr?
    [HR]

    [GREEN]Anyone cares to translate?[/GREEN]

  • You have two options here:

    1). Make your own message-box(easy way)
    2). Use the SetWindowPos() API function with the handle to your message-box and place it on the screen wherever you'd like(advanced way)

    I, personally, prefer the second because it's not so hard to do. But everything depends on your programming level. If you can use APIs without any problem then use them because they're faster and more effective; if you can't use them use VB only but your code will be slow, not always, of course.

    Have a good day, man :-)
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories