CONTROLEX |
Top Previous Next |
Syntax CONTROLEX(parent, class as STRING,title as STRING,l as INT,t as INT,w as INT,h as INT,style as INT,exStyle as INT,id as UINT) Description Creates a control and either shows it in the window or adds it to the dialog template. Parameters parent - The window or dialog to place the control into class - The class name of the control. title - The text of the control. l, t, w, h - Control coordinates and dimensions. style - Style flags. exStyle - Extended style flags. id - Identifier for the control. Return value If used with a window the return value is the handle of the control. If used with a dialog the return value is 0 and the handle to the control can be obtained with GETCONTROLHANDLE during the @IDINITDIALOG message Remarks See Also: CREATEDIALOG, OPENWINDOW, Creating Controls Example usage CONTROLEX d1,"msctls_progress32","",4,40,236,20,@BORDER,@EXCLIENTEDGE,20 |