Jump to content

Edit control... help please


Recommended Posts

Trying to create an editable and copy-able email with a picture included

The following CODE works well in appearance, however, when i wish to copy/select all, the picture is not actually included in the selection

#include <GUIConstants.au3>

Dim $GUIWidth, $GUIHeight

$My_Pic= @HomeDrive & "\Temp\Pic.jpg"
$GUIWidth = @DesktopWidth /2
$GUIHeight = @DesktopHeight /2


$Edit_win = GUICreate("E-Mail and Photo",$GUIWidth, $GUIHeight)

$Edit_1 = GUICtrlCreateEdit("Hey, "  & @CRLF  & @CRLF & "I found my picture please emial to our friends.", 10, 40, 480, 300)

$Edit_Pic=GUICtrlSetImage($Edit_1,GUICtrlCreatePic ($My_Pic, 180, 120, 256, 192))

GUICtrlSetState($Edit_1 & $Edit_Pic,0)

GUISetState(@SW_SHOW,$Edit_win)


While 1
    $msg=GUIGetMsg()
    If $msg = $GUI_EVENT_CLOSE Then Exit; Continue loop untill window is closed
    
WEnd

is it possible to place a web-link in the $Edit_1 also?

any help would be appreciated

Edited by Valuater

NEWHeader1.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...