The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: drjr on July 18, 2007, 02:31:45 PM

Title: getting a control handle
Post by: drjr on July 18, 2007, 02:31:45 PM
How can I get  the control `s handle (static like a label_box)
Not in a dialog box, but the static control is in a normal form
Title: Re: getting a control handle
Post by: TNick on July 18, 2007, 02:33:19 PM
GetDlgItem
Title: Re: getting a control handle
Post by: ramguru on July 19, 2007, 01:04:27 PM
Not in dialog means that you've created that static window using CreateWindowEx, so it's obvious - CreateWindowEx returned value is the handle value of that control.