Click to See Complete Forum and Search --> : "Read" in a exe aplication with API??


Oeil2Lynx
March 22nd, 2004, 10:57 AM
hello world;)

I'll try explain with my poor english:(


I have one old aplication (i don't have the source), this application contain a big database, i need put this database in access to do a new interface.


with the API i find the handle of each object of the application, i can "read" the caption of the label, the value of textbox or combo, BUT i can't find the handle of the check box objects.


someone else know what API can give me the value of a check box or the handle of this object????


++

Erik Wiggins
March 22nd, 2004, 12:04 PM
The IsDlgButtonChecked function determines whether a button control has a check mark next to it or whether a three-state button control is grayed, checked, or neither.

Syntax

UINT IsDlgButtonChecked(
HWND hDlg,
int nIDButton
);

Parameters

hDlg
Handle to the dialog box that contains the button control.
[I]nIDButton
[in] Specifies the identifier of the button control.