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#
  4. Application with multiple focused forms

Application with multiple focused forms

Scheduled Pinned Locked Moved C#
csharpvisual-studioadobehelpquestion
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.
  • S Offline
    S Offline
    Skip Talbot
    wrote on last edited by
    #1

    Using Visual Studio 2005, I'm creating an application with floating tool bars similar to that of Photoshop (or most any application with floating tool bars) that share focus amongst each other. I have my tool bars in separate forms, and I call form.Show(ownerForm), to display the toolbar, where ownerForm is the main application's form. The problem is that only one form, the application's main form or the tool bar, can have focus at a time. Is there a property or method I can call to give focus to both the tool bar and the application's main form at the same time? Skip

    Q 1 Reply Last reply
    0
    • S Skip Talbot

      Using Visual Studio 2005, I'm creating an application with floating tool bars similar to that of Photoshop (or most any application with floating tool bars) that share focus amongst each other. I have my tool bars in separate forms, and I call form.Show(ownerForm), to display the toolbar, where ownerForm is the main application's form. The problem is that only one form, the application's main form or the tool bar, can have focus at a time. Is there a property or method I can call to give focus to both the tool bar and the application's main form at the same time? Skip

      Q Offline
      Q Offline
      quiteSmart
      wrote on last edited by
      #2

      i think if you develop the toolbar as a usercontrol not as a frame it will give you an advantage. cz if you did it as a user control and add it to the first frame it will be as any normal control in your frame. this will allow you to have a double focus. you can drag and drop from it and ......... i am not very sure about the idea i gave you but i think it will be a starting point for you. good luck

      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