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. Add Event handler Script error!

Add Event handler Script error!

Scheduled Pinned Locked Moved Visual Studio
csharpvisual-studiohelpc++html
2 Posts 2 Posters 3 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.
  • N Offline
    N Offline
    nay
    wrote on last edited by
    #1

    Ok folks. I created a MFC dialog app using the appwizard. Put a button on there from and right clicked the button. I chose "Add Event Handler" from the menu and I get a script error. The IDE is giving me a script error!:mad::mad: I just wanted an OnClick message handler. here's the text of the error. Just thought I'd share my apparent bug or flaky install or whatever.

    _An error has occured in the script on this page
    Line: 327
    Char: 4
    Error: Can't move focus to the control because it is invisible not enabled, or of a type that does not accept the focus.

    Code: 0
    URL: file://c:\Program Files\Microsoft visual Studio .NET\Vc7 \VCWizards\CommandWiz\HTML\1033\default.hm_

    nay

    D 1 Reply Last reply
    0
    • N nay

      Ok folks. I created a MFC dialog app using the appwizard. Put a button on there from and right clicked the button. I chose "Add Event Handler" from the menu and I get a script error. The IDE is giving me a script error!:mad::mad: I just wanted an OnClick message handler. here's the text of the error. Just thought I'd share my apparent bug or flaky install or whatever.

      _An error has occured in the script on this page
      Line: 327
      Char: 4
      Error: Can't move focus to the control because it is invisible not enabled, or of a type that does not accept the focus.

      Code: 0
      URL: file://c:\Program Files\Microsoft visual Studio .NET\Vc7 \VCWizards\CommandWiz\HTML\1033\default.hm_

      nay

      D Offline
      D Offline
      dazinith
      wrote on last edited by
      #2

      yeah i get this one too.. this happens when i try to add a button to a dialog i tried to add a class for.. basicly currently i cannot add a class to any new dialog i create.. it acts like it makes the class, but it doesnt.. and if i try to add a message handler i get this error you mentioned.. -dz

      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