Jump to content
Sign in to follow this  

Problems editing data in WindowsForm

Recommended Posts


I want to pass a number to a textbox which is located on a WindowsForm.

The WindowInfo dispays this information for the textbox:

>>>> Window <<<<
Title:  ABBYY FineReader 8.0 Professional Edition - InstallShield Wizard
Class:  MsiDialogCloseClass
Position:   267, 90
Size:   504, 380
Style:  0x14C80000
ExStyle:    0x00040100
Handle: 0x003A0F58

>>>> Control <<<<
Class:  Edit
Instance:   1
ClassnameNN:    Edit1
Advanced (Class):   [CLASS:Edit; INSTANCE:1]
Position:   26, 184
Size:   52, 22
ControlClick Coords:    19, 10
Style:  0x50010080
ExStyle:    0x00000000
Handle: 0x00691788

I want to pass the data via the GUICtrlSetData function.

But i cant use the function because the WindowInfo did not return a ID for this control.

Share this post

Link to post
Share on other sites

Use ControlSetText like:

ControlSetText('[CLASS:MsiDialogCloseClass]', '', 'Edit1', 'NewText')

Share this post

Link to post
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
Sign in to follow this