resource to show a jpg??

hi again.. i need help again... i must compose a window like this (vb6 generated) one http://lh5.ggpht.com/_db1SZJ4YlKc/SUt-po4TXnI/AAAAAAAADok/0aDqTiGdm7w/logomicrosoft.jpg i have a groupbox, three text, one optionbutton, three pushbutton, and ... what is the other element? the task is to select a file on disk and show it on the form, and when you press Ok, (ok and cancel now shown :-/ ), put it into a cell element but... i don't know how to show it in the form... what kind of resource i need .. ? thankyou
  • Images in a Dialog

    matatunos:
    The task is to select a file on disk and show it on the form, and when you press Ok. I don't know how to show it in the form... what kind of resource i need?

    It's not clear from your question whether you are writing VBA or MDL. If you're writing VBA, then post questions to the VBA forum.

     

    • If you are writing VBA then you can place an image in an Image item (see screenshot)
    • If you are writing MDL then should put a Generic item in your dialog
      • display the image using the Create event in your Generic item hook function
      • free the image memory using the Destroy event in your Generic item hook function

     

    Regards, Jon Summers
    LA Solutions

     
    Regards, Jon Summers
    LA Solutions