#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Posts
    18
    Rep Power
    0

    how to adjust message box??


    i created a MessageBox for showing output.....it appear in the middle of the screen........how can i adjust in to eg right top and etc??

    this statement,

    MessageBox(gHwnd, s, "Shortest Path Found", MB_OK);

    thanks experts!!
  2. #2
  3. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Location
    Representin' Quebec
    Posts
    106
    Rep Power
    12
    Sorry but I don't get your question...
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Posts
    18
    Rep Power
    0
    what i means is.........instead of the message box pop up in middle of the screen.................right? i wish to adjust the location for let it appear on the screen once pop up..........means move it appear maybe on right hand side.........u get me??
  6. #4
  7. Banned ;)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Nov 2001
    Location
    Woodland Hills, Los Angeles County, California, USA
    Posts
    9,607
    Rep Power
    4247
    Can't do it with MessageBox (since it doesn't accept position parameters), but you can make your own Dialog Box and position it where ever you like.
    Up the Irons
    What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
    "Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
    Down with Sharon Osbourne

    "I wouldn't hire a butcher to fix my car. I also wouldn't hire a marketing firm to build my website." - Nilpo
  8. #5
  9. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Posts
    18
    Rep Power
    0
    so..........sir do you have any idea how to do? can code for me? thanks in advanced/...............
  10. #6
  11. No Profile Picture
    Offensive Member
    Devshed Novice (500 - 999 posts)

    Join Date
    Oct 2002
    Location
    in the perfect world
    Posts
    622
    Rep Power
    27
    >>do you have any idea how to do?

    Yes.
    Have already done it.

    Inc how to skin the window with a texture. Show different icons. Auto adjust depending on size of text/buttons needed. Run in a seperate thread.


    >>can code for me?

    Will send you the code as soon as I get your payment.

    We do not do projects, we help out if you have a bug or need a push in the right direction.


    Do your own homework / work!
    The essence of Christianity is told us in the Garden of Eden history. The fruit that was forbidden was on the Tree of Knowledge. The subtext is, All the suffering you have is because you wanted to find out what was going on. You could be in the Garden of Eden if you had just kept your f***ing mouth shut and hadn't asked any questions.

    Frank Zappa

IMN logo majestic logo threadwatch logo seochat tools logo