Results 1 to 12 of 12

Thread: picturebox

  1. #1

    Thread Starter
    Fanatic Member Mushroom Realm's Avatar
    Join Date
    Mar 2002
    Location
    Murrieta, California
    Posts
    650

    picturebox

    how can i make one

  2. #2
    Frenzied Member Rick Bull's Avatar
    Join Date
    Apr 2002
    Location
    England
    Posts
    1,444
    What do you mean by picturebox? I assume you don't just mean <img src="IMAGE.png" alt="">?

  3. #3

    Thread Starter
    Fanatic Member Mushroom Realm's Avatar
    Join Date
    Mar 2002
    Location
    Murrieta, California
    Posts
    650
    im new to c++ and javascript, so it probably has a dif. name. in vb there is a control called the picturebox, but really all i need is something to apply my apis to.

  4. #4
    Frenzied Member Rick Bull's Avatar
    Join Date
    Apr 2002
    Location
    England
    Posts
    1,444
    Do you want to know how to create a picturebox in C++? You're in the wrong forum if you do

  5. #5

    Thread Starter
    Fanatic Member Mushroom Realm's Avatar
    Join Date
    Mar 2002
    Location
    Murrieta, California
    Posts
    650
    i want it for a javascript program, but the languages are alot alike

  6. #6
    Frenzied Member Rick Bull's Avatar
    Join Date
    Apr 2002
    Location
    England
    Posts
    1,444
    I'm not really sure what you mean. Is it for embedding in a web page, or a stand-alone JavaScript file or what?

  7. #7

    Thread Starter
    Fanatic Member Mushroom Realm's Avatar
    Join Date
    Mar 2002
    Location
    Murrieta, California
    Posts
    650
    i want to embed it in my web page

  8. #8
    Frenzied Member Rick Bull's Avatar
    Join Date
    Apr 2002
    Location
    England
    Posts
    1,444
    Well I think you can only do that like I said earlier:

    Code:
    document.write('<img src="image.png" alt="" id="imageID">');

  9. #9

    Thread Starter
    Fanatic Member Mushroom Realm's Avatar
    Join Date
    Mar 2002
    Location
    Murrieta, California
    Posts
    650
    but i dont have an image, i want to draw to it, does an image control have an hdc?

  10. #10
    Frenzied Member Rick Bull's Avatar
    Join Date
    Apr 2002
    Location
    England
    Posts
    1,444
    Don't think so, I don't think JavaScript/HTML is that powerful. I would have thought you would have to use a Java Applet to acheive something like that.

  11. #11

    Thread Starter
    Fanatic Member Mushroom Realm's Avatar
    Join Date
    Mar 2002
    Location
    Murrieta, California
    Posts
    650
    all right, ill look into java. thanks for the help

  12. #12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width