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. Value of SW_SHOWNOACTIVATE!!!

Value of SW_SHOWNOACTIVATE!!!

Scheduled Pinned Locked Moved C#
questionhelp
5 Posts 3 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.
  • K Offline
    K Offline
    kmuthuk
    wrote on last edited by
    #1

    What is the correct value for SW_SHOWNOACTIVATE in ShowWindow function? Is it 0x0700 or 12? Do I have to give in hexadecimal or decimal? Can anyone please help me find this? Muthu.

    P L 2 Replies Last reply
    0
    • K kmuthuk

      What is the correct value for SW_SHOWNOACTIVATE in ShowWindow function? Is it 0x0700 or 12? Do I have to give in hexadecimal or decimal? Can anyone please help me find this? Muthu.

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #2

      I believe that it is actually 4, and it doesn't matter whether or not it is hex.

      the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
      Deja View - the feeling that you've seen this post before.

      1 Reply Last reply
      0
      • K kmuthuk

        What is the correct value for SW_SHOWNOACTIVATE in ShowWindow function? Is it 0x0700 or 12? Do I have to give in hexadecimal or decimal? Can anyone please help me find this? Muthu.

        L Offline
        L Offline
        Luc Pattyn
        wrote on last edited by
        #3

        File C:\...\VC98\Include\WINUSER.H Line 257: #define SW_SHOWNOACTIVATE 4 :)

        Luc Pattyn

        K 1 Reply Last reply
        0
        • L Luc Pattyn

          File C:\...\VC98\Include\WINUSER.H Line 257: #define SW_SHOWNOACTIVATE 4 :)

          Luc Pattyn

          K Offline
          K Offline
          kmuthuk
          wrote on last edited by
          #4

          I am sorry. I am using C#, Framework 1.1 Thanks. Muthu.

          L 1 Reply Last reply
          0
          • K kmuthuk

            I am sorry. I am using C#, Framework 1.1 Thanks. Muthu.

            L Offline
            L Offline
            Luc Pattyn
            wrote on last edited by
            #5

            The symbol SW_SHOWNOACTIVATE does not look at all like a C# name, it really is part of the good old Win32 API specifications. Whatever you do at a high level, in whatever language, in the end the UI stuff gets handled deep down in Windows so when you do some magic that is supposed to understand SW_SHOWNOACTIVATE, just pass it the value of 4. :)

            Luc Pattyn

            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