Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Studio
  4. can Any one plz help me in Script Problem....

can Any one plz help me in Script Problem....

Scheduled Pinned Locked Moved Visual Studio
helptools
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jeeva Mary Varghese
    wrote on last edited by
    #1

    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

    S 1 Reply Last reply
    0
    • J Jeeva Mary Varghese

      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

      S Offline
      S Offline
      Steve S
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups