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. C / C++ / MFC
  4. Can U plz help me InstallShield Problem

Can U plz help me InstallShield Problem

Scheduled Pinned Locked Moved C / C++ / MFC
help
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 InstallScript for this.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

    R 1 Reply Last reply
    0
    • J Jeeva Mary Varghese

      hai , I am creating a set up dialog using InstallShield12.I wrote InstallScript for this.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

      R Offline
      R Offline
      Rage
      wrote on last edited by
      #2

      Jeeva Mary Varghese wrote:

      But only one line text is created

      Be sure the ES_MULTILINE style is set when creating the edit control. Besides that, your sample code obviouly only displays "First", which is indeed one line of text.

      ~RaGE();

      I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus

      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