can Any one plz help me in Script Problem....
-
Hai , I am creating a set up dialog using InstallShield12.I wrote Script for getting the window.But some issues .I want to add some text into it.But when i add a piece of text using these methods hItem2=GetDlgItem(hDlg, STATIC_TEXT_ID); SetWindowText(hItem2, "First"); SetWindowLong(hItem2, GWL_STYLE, nStyle1); SetWindowPos(hItem2, NULL, 60,60,20,25, SWP_DRAWFRAME | SWP_SHOWWINDOW |SWP_NOSIZE|SWP_NOZORDER ); But only one line text is created , I want to add two sets of data.So I repatedly specifying the above code, But either the first one or second one is displaying, That is in the hItem having value at a single time only. can anybody help me plz..................... Jeeva
-
Hai , I am creating a set up dialog using InstallShield12.I wrote Script for getting the window.But some issues .I want to add some text into it.But when i add a piece of text using these methods hItem2=GetDlgItem(hDlg, STATIC_TEXT_ID); SetWindowText(hItem2, "First"); SetWindowLong(hItem2, GWL_STYLE, nStyle1); SetWindowPos(hItem2, NULL, 60,60,20,25, SWP_DRAWFRAME | SWP_SHOWWINDOW |SWP_NOSIZE|SWP_NOZORDER ); But only one line text is created , I want to add two sets of data.So I repatedly specifying the above code, But either the first one or second one is displaying, That is in the hItem having value at a single time only. can anybody help me plz..................... Jeeva
What does 'repeatedly specifying the above code' mean? If you want multiple lines, then make the window taller (change height appropriately) and set the window text to something containing cr/lf pairs eg First\r\nSecond Does that help at all?
Steve S Developer for hire