Results 1 to 4 of 4

Thread: Anyone know what this API constant is: &H40101

  1. #1

    Thread Starter
    Super Moderator Wokawidget's Avatar
    Join Date
    Nov 2001
    Location
    Headingly Occupation: Classified
    Posts
    9,632

    Anyone know what this API constant is: &H40101

    Need to know the Constant name for the following number:

    &H40101

    It's used to remove the icon from a form by using:
    VB Code:
    1. Private Const GWL_EXSTYLE       As Long = (-20)
    2.  
    3. SetWindowLong Me.hwnd, GWL_EXSTYLE, &H40101
    Anyone?

    Bulging Woka

  2. #2
    Frenzied Member KayJay's Avatar
    Join Date
    Jul 2001
    Location
    Chennai
    Posts
    1,849

    "Brothers, you asked for it."
    ...Francisco Domingo Carlos Andres Sebastian D'Anconia

  3. #3
    PowerPoster
    Join Date
    Jul 2002
    Location
    Dublin, Ireland
    Posts
    2,148
    It is a combination of 3 constants:

    #define WS_EX_APPWINDOW 0x00040000L
    #define WS_EX_WINDOWEDGE 0x00000100L
    #define WS_EX_DLGMODALFRAME 0x00000001L

    (from WinUser.h)

  4. #4
    PowerPoster
    Join Date
    Jul 2002
    Location
    Dublin, Ireland
    Posts
    2,148
    Note: you can find these constants and descriptions of what they do in the EventVB.chm file under "WindowStyleExtendedBits enumeration"..

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