Announcement

Collapse
No announcement yet.

Windows API Headers III v. 1.07

Collapse
This is a sticky topic.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Kurt Kuzba
    replied
    Originally posted by James C Morgan View Post
    Have a problem with tried difference browser
    Not new.
    Try right clicking on the object in the download bar and selecting "retry" or "resume".
    I just tried it, and that got it working.

    Leave a comment:


  • Frank Rogers
    replied
    Bumped into something else that had me scratching my head...
    Code:
    ' ========================================================================================
    ' Converts a time stored in a QUAD into a string.
    ' ========================================================================================
    FUNCTION AfxQuadTimeToStr (BYVAL qTime AS QUAD) AS WSTRING
       IF qTime = 0 THEN EXIT FUNCTION
       LOCAL ST AS SYSTEMTIME, FT AS FILETIME, bstrDateSep AS WSTRING
       bstrDateSep = AfxGetLocaleDateSeparator
       FT.qDateTime = qTime
       FileTimeToSystemTime(FT, ST)
       FUNCTION = FORMAT$(ST.wDay,"00") & bstrDateSep & _
                  FORMAT$(ST.wMonth,"00") & bstrDateSep & _
                  FORMAT$(ST.wYear,"00")
    END FUNCTION
    probably should be...
    Code:
    ' ========================================================================================
    ' Converts a time stored in a QUAD into a string.
    ' ========================================================================================
    FUNCTION AfxQuadTimeToStr (BYVAL qTime AS QUAD) AS WSTRING
       IF qTime = 0 THEN EXIT FUNCTION
       LOCAL ST AS SYSTEMTIME, FT AS FILETIME, bstrTimeSep AS WSTRING
       bstrTimeSep = AfxGetLocaleTimeSeparator
       FT.qDateTime = qTime
       FileTimeToSystemTime(FT, ST)
       FUNCTION = FORMAT$(ST.wHour,"00") & bstrTimeSep & _
                  FORMAT$(ST.wMinute,"00") & bstrTimeSep & _
                  FORMAT$(ST.wSecond,"00")
    END FUNCTION
    This is in AfxTime.Inc

    Leave a comment:


  • James C Morgan
    replied
    Have a problem with tried difference browser

    Leave a comment:


  • Theo Gottwald
    replied
    I also got a "Failed Network error.". Then on the right side in "Brave" (Browser - similar to Chrome) there is a "Resume" Option used this and got the file.

    Leave a comment:


  • José Roca
    replied
    If there are problems for downloading, you can also download them from here:
    http://www.jose.it-berater.org/smffo...p?topic=5061.0

    Leave a comment:


  • Stuart McLachlan
    replied
    There's definitely something wrong with the download link. It seems to fail in most browsers initially, but if you do a "retry" it then works.

    e.g. In Firefox:

    Click image for larger version

Name:	Resume.jpg
Views:	234
Size:	11.3 KB
ID:	794384

    Leave a comment:


  • Brice Manuel
    replied
    if you got it, never mind, just delete the email.

    Leave a comment:


  • Brice Manuel
    replied
    sent to the address I have for you in my contacts

    Leave a comment:


  • Brice Manuel
    replied
    Gimme a sec, off to email it (emailing it as a RAR as it is 1mb smaller)

    Leave a comment:


  • Eric Pearson
    replied
    Thanks, Opera and Firefox also failed... but Edge gave me an error message but then it let me "resume" and the download worked fine.

    Leave a comment:


  • Brice Manuel
    replied
    If you need the file, I can email it to you?

    Leave a comment:


  • Eric Pearson
    replied
    Yeah, it looks like I have a local network issue. Never mind, Adam please ignore the Flag.

    Leave a comment:


  • Brice Manuel
    replied
    Originally posted by Eric Pearson View Post
    I can't seem to download the file in the first post, Chrome says "Network Error".

    Working for me with FireFox (Which I know in no way helps you.)

    Leave a comment:


  • Eric Pearson
    replied
    I can't seem to download the file in the first post, Chrome says "Network Error".

    Leave a comment:


  • Jim Fritts
    replied
    Thanks Frank

    Leave a comment:


  • Frank Rogers
    replied
    I'm sure this is just a typo, but I ran into it by accident. LietView_GetTooltipsFont should be ListView_GetTooltipsFont
    Code:
    ' ========================================================================================
    ' Retrieves the font used by the ToolTip control that the list-view control uses to display ToolTips.
    ' ========================================================================================
    FUNCTION LietView_GetTooltipsFont (BYVAL hwndLV AS DWORD) AS DWORD
       LOCAL hwndTooltips AS DWORD
       hwndTooltips = SendMessage(hwndLV, %LVM_GETTOOLTIPS, 0, 0)
       FUNCTION = SendMessage(hwndTooltips, %WM_GETFONT, 0, 0)
    END FUNCTION

    Leave a comment:


  • Jim Fritts
    replied
    I think that it must be:

    That was what I was thinking but needed your verification. Thank you.

    Interesting thing is that some sites suggest the values are this:
    HTML Code:
    [code]
    '  %DPI_AWARENESS_CONTEXT_UNAWARE              = 16
    '  %DPI_AWARENESS_CONTEXT_SYSTEM_AWARE         = 17
    '  %DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE    = 18
    '  %DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2 = 34
    '  %DPI_AWARENESS_CONTEXT_UNAWARE_GDISCALED    = ???????
    [/code]
    I do not know how to reconcile that.

    Leave a comment:


  • José Roca
    replied
    Originally posted by Jim Fritts View Post
    This is what has me pulling my hair out. José could please set me straight on this?

    HTML Code:
    [code]
    '///////////////////////////////////////////////
    'DECLARE_HANDLE(DPI_AWARENESS_CONTEXT);
    
    '/////////////////////////////////////////////// windef.h
    '#define DPI_AWARENESS_CONTEXT_UNAWARE ((DPI_AWARENESS_CONTEXT)-1)
    '#define DPI_AWARENESS_CONTEXT_SYSTEM_AWARE ((DPI_AWARENESS_CONTEXT)-2)
    '#define DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE ((DPI_AWARENESS_CONTEXT)-3)
    '#define DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2 ((DPI_AWARENESS_CONTEXT)-4)
    '#define DPI_AWARENESS_CONTEXT_UNAWARE_GDISCALED ((DPI_AWARENESS_CONTEXT)-5)
    [/code]
    I think that it must be:

    Code:
    %DPI_AWARENESS_CONTEXT = 0
    %DPI_AWARENESS_CONTEXT_UNAWARE = %DPI_AWARENESS_CONTEXT - 1
    %DPI_AWARENESS_CONTEXT_SYSTEM_AWARE = %DPI_AWARENESS_CONTEXT - 2
    %DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE = %DPI_AWARENESS_CONTEXT - 3
    %DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2 = %DPI_AWARENESS_CONTEXT - 4
    %DPI_AWARENESS_CONTEXT_UNAWARE_GDISCALED = %DPI_AWARENESS_CONTEXT - 5

    Leave a comment:


  • José Roca
    replied
    Originally posted by Jim Fritts View Post
    NOTE:
    Your WinTab.inc found here did not make it into my version of 3.1.07.
    It is not a SDK header, but an header for the Wacom Tablet PC API.

    Leave a comment:


  • Jim Fritts
    replied
    NOTE:
    Your WinTab.inc found here did not make it into my version of 3.1.07.

    Leave a comment:

Working...
X