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
GetDlgItem
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.