Results 1 to 8 of 8

Thread: [RESOLVED] whats exstyle???

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2006
    Location
    Pune,India
    Posts
    9

    Resolved [RESOLVED] whats exstyle???

    whats gwl_exstyle....
    and
    Private Const GWL_STYLE = (-16)
    Private Const GWL_EXSTYLE = (-20)
    Private Const WS_EX_LAYERED = &H80000 ???


    am new to use of api in VB6.0
    but they seem to b the most powerful tool in VB as front end....

    using them for form transparency and other effects i came across the above mentioned things.....searched the forum and whole net but didnt find a clue why we use WS_EX_LAYERED = &H80000 ....
    would be great if some one could list the whole list of such constants or tell where to learn from!!!

    similarly even in MSDN for VB6.0 they have not explained the state on winsock...and working on winsock becomes so difficult if VBForum was not here.....how each state is achieved is very difficult to know if you dont know them before hand!

  2. #2

    Thread Starter
    New Member
    Join Date
    Aug 2006
    Location
    Pune,India
    Posts
    9

    Re: whats exstyle???

    whats the use of every bit in the 32 bit exstlye property?

  3. #3

  4. #4
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: whats exstyle???

    For a listing of the API constants in an easy to use utility, download the API Viewer utility from allapi.net - http://www.allapi.net/agnet/apiviewer.shtml

    MSDN will have every constant too.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  5. #5
    Smitten by reality Harsh Gupta's Avatar
    Join Date
    Feb 2005
    Posts
    2,938

    Re: whats exstyle???

    GWL_EXSTYLE helps in retrieving the offset value/s that specifies the extended window style of a form/window. This value can be combination/s of: [read the list of values of parameter dwExStyle]
    Show Appreciation. Rate Posts.

  6. #6

    Thread Starter
    New Member
    Join Date
    Aug 2006
    Location
    Pune,India
    Posts
    9

    Re: whats exstyle???

    thanks administrator...
    and all the other....
    but my problem still remains the same....

    msdn gives list of constant names....but not values....
    and api viewer gives the values too....
    but there r more possible values then these constants...which when used give very diffrent results in API's.....

    this can give unlimited opertunity to VB6.0 developers just if v have the list....
    eg...what do all the bits in the 32bit exstyle mean excatly.......
    i have the list of limited constants....
    but can i have all the possible constants???

  7. #7
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: whats exstyle???

    No, there are not different or many more constants as the defined constants are Or'ed together to produce added values.

    For ex. if constant WS_EX_CUSTOM1 = 1 and WS_EX_CUSTOM2 = 2 when you Or them together for a value designating the two separate propertys you get a value of 3. There will be no constant defined for 3 so Windows can reverse the process and determine that 3 = WS_EX_CUSTOM1 and WS_EX_CUSTOM2.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  8. #8

    Thread Starter
    New Member
    Join Date
    Aug 2006
    Location
    Pune,India
    Posts
    9

    Re: whats exstyle???

    that did make sense....

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width