dcsimg

Search:

Type: Posts; User: Krool

Page 1 of 13 1 2 3 4

Search: Search took 0.66 seconds.

  1. Replies
    20
    Views
    991

    Re: [VB6] Wheel Color Picker

    I would expect when clicking directly on the vertical bar to have the same effect than clicking on the arrow. (like in the MS color dialog)
    Only clicking the arrow does a change. Direct click on the...
  2. Re: [RESOLVED] ListView Bolded Items Font Size/Style cannot be changed

    The .Bold for ListItems is done via CDDS_ITEMPREPAINT and CDRF_NEWFONT.
  3. Replies
    16
    Views
    471

    Re: DoEvents Alternative Issues

    The ideal acenario when doing a long task and the UI shall be responsive is to use multithreading.
    I therefore abandoned the use of DoEvents for bigger apps.
  4. Replies
    2,436
    Views
    576,102

    Re: ListView - cant change the KEY property

    The collection has always been text compare and not binary compare.
    So don't change from lower to upper case a key.
    Keep for example always in lower case and change key when it's really changed...
  5. Re: [VB6] ActiveX CommonControls (Replacement of the MS common controls)

    AutoSize for LabelW at design time is only a 1 time Autosizing, because the behavior is then that the size can be freely changed afterwards..
    It works when design time DPI is same as run time DPI.
    ...
  6. Replies
    2,436
    Views
    576,102

    Re: CommonControls (Replacement of the MS common controls)

    Thanks for your report.

    However, I think I can't do something about it.

    1. Windows Explorer don't use ListView. There use a direct internal control not exposed to comctl32.dll since Win 7.
    2....
  7. Re: Double to String performance issue

    Do not use

    Dim CC As New Concat

    rather use

    Dim CC As Concat
    Set CC = New Concat

    Otherwise there is a little overhead each time you use CC.
  8. Re: Double to String performance issue

    String concat can be a bottleneck too. If a string gets too long VB get's progressively slower.
    So Temp strings to clear when too long and ByRef are good tricks.
  9. Replies
    2,436
    Views
    576,102

    Re: CommonControls (Replacement of the MS common controls)

    Thanks!
    It's fixed now.
  10. Re: Double to String performance issue

    Try direct use of API 'VarBstrFromR8'.
  11. Replies
    2,436
    Views
    576,102

    Re: CommonControls (Replacement of the MS common controls)

    At which spot the error raises?
    Can you encapsulate it in a demo?
  12. Replies
    2,436
    Views
    576,102

    Re: CommonControls (Replacement of the MS common controls)

    ?
    EM_SETEVENTMASK is used already.
  13. Replies
    2,436
    Views
    576,102

    Re: CommonControls (Replacement of the MS common controls)

    Update released.

    Affected are all controls which has a Transparent property and set to True and also the app runs on non-integral DPI. (dpi-aware)
    The background most likely is black. A .Refresh...
  14. Re: LinkLabel Bug

    Please try LinkLabel1.Refresh for the meantime. It should resolve it. I'm looking for a fix which will makes the .Refresh not needed.

    EDIT: OCX has been updated. It should now work even without...
  15. Replies
    22
    Views
    1,913

    Re: Get Handle of Parent of a User Control

    Another way of doing it..

    Inside UserControl:

    GetTopUserControl(Me).Parent.hWnd


    Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (ByRef Destination As Any, ByRef Source...
  16. Replies
    8
    Views
    512

    Re: RAR file type support for attachment

    But I would like to split by zip functionality.
    Means
    1.zip
    2.z01

    Having instead
    1.zip
    2.zip

    will not work as it does not get recognized that these belong together.
  17. Replies
    8
    Views
    512

    Re: RAR file type support for attachment

    Multiple zip files are not supported.
    Can't upload .z01 file here..
  18. Replies
    2,436
    Views
    576,102

    Re: CommonControls (Replacement of the MS common controls)

    Update released.

    New function SyncObjectRectsToContainer now in place for all controls to support non-integral DPI.
    For the end-user is no visible impact. Before it "works" and now it works....
  19. Replies
    8
    Views
    512

    RAR file type support for attachment

    RAR allows some extra compression compared to ZIP in order to be under the file size limit.

    Currently I upload a .rar file with an extra .zip extension.
    However, that's not ideal and it would be...
  20. Replies
    2,436
    Views
    576,102

    Re: CommonControls (Replacement of the MS common controls)

    That's the questions.. Should I just call SyncObjectRectsToContainer on every UserControl_Resize. My feeling says just call it when it's necessary.
    But what should be the condition when to call it?...
  21. Replies
    2,436
    Views
    576,102

    Re: CommonControls (Replacement of the MS common controls)

    So I think I got my SyncObjectRectsToContainer now pretty straight forward without any cumbersum calculations.

    It now receives the border rect of the parent window where the object's window should...
  22. Replies
    2,436
    Views
    576,102

    Re: CommonControls (Replacement of the MS common controls)

    I understand.
    In logic I first need to fix the object rect to an system DPI aware state and the VB TPP vs real TPP bug within UserControl_Resize.
    I would skip per monitor awareness in that case.
    ...
  23. Replies
    2,436
    Views
    576,102

    Re: CommonControls (Replacement of the MS common controls)

    The fix to sync the object rect is always necessary regardless of Align property. Right?
    If the new fix should only be used for <> vbAlignNone than I can keep the current implementation and change...
  24. Replies
    2,436
    Views
    576,102

    Re: CommonControls (Replacement of the MS common controls)

    To assume VB.Form as control's container is not secure. It could be nested within another UserControl.
    I liked the idea to use GetWindowRect and correct accordingly VB TPP vs real TPP. However, as...
  25. Re: [VB6] ActiveX CommonControls (Replacement of the MS common controls)

    Forms are automatically visual styled. Or what do you mean exactly?
  26. Replies
    2,436
    Views
    576,102

    Re: CommonControls (Replacement of the MS common controls)

    This seems not to be an issue because when the control moves +1 units Left & Top, then re-move -1 units left and top adresses the issue properly when done within UserControl_Resize.
    However, I will...
  27. Replies
    2,436
    Views
    576,102

    Re: CommonControls (Replacement of the MS common controls)

    Criticial bug for the OLEGuids.tlb.
    The recent modification - few hours ago - included interface IOleInPlaceObject.
    However, it was defined as:

    interface IOleInPlaceObject : IUnknown
    But should...
  28. Replies
    2,436
    Views
    576,102

    Re: CommonControls (Replacement of the MS common controls)

    Response to LaVolpe's post:

    As preparation I included now IOleInPlaceObject in the OLEGuids.tlb.
    In a second update then all the UC's will be updated. It needs time and to test everything out.
    ...
  29. Re: [RESOLVED] Can The Size Of Zip File Attachments Be Increased?

    Thanks for increasing ZIP file limit. :)
  30. Replies
    111
    Views
    25,814

    Re: VB Multithread Library (Generic Multithreading)

    Added a note in thread's first post that P-Code will fail. So maybe it's more noticed for new users.
  31. Replies
    2,436
    Views
    576,102

    Re: CommonControls (Replacement of the MS common controls)

    I can't code right now. It's just illustration and not tested. But it should give you the idea.



    With FontCombo1
    Do
    bDelete = False
    For i = 0 To .ListCount - 1
    If .List(i) =...
  32. Replies
    2,436
    Views
    576,102

    Re: CommonControls (Replacement of the MS common controls)

    What does your custom ExcludeList property exactly?
    So I can check why it's only working at design time.
    Workaround could be that at run-time you loop thru all items and use CB_DELETESTRING.
  33. Replies
    2,436
    Views
    576,102

    Re: CommonControls (Replacement of the MS common controls)

    Yes, that's correct. The enum is per charset and the additional enum is wanted for the SYMBOL_CHARSET.
  34. Replies
    15
    Views
    2,133

    Re: Is there a LongLong type hidden in VB6?

    Update:

    I ran below quick and dirty test


    Private Declare Function VariantChangeTypeEx Lib "oleaut32" (ByRef pvargDest As Variant, ByRef pvarSrc As Variant, ByVal LCID As Long, ByVal wFlags As...
  35. Replies
    15
    Views
    2,133

    Re: Is there a LongLong type hidden in VB6?

    Is it true that VariantChangeTypeEx with VT_I8 to make a LongLong Variant in VB6 seems to be buggy with negative value below -4,294,967,295 ?

    I have a true Int64 as Currency and when I convert it...
  36. Re: Int64 test if can fit into Int32 w/o truncation

    My initial thought was maybe too complicated...

    I now found the fastest approach.. which is actually the most easiest..

    I just do the math of the Int64 with native Currency to see if it fits...
  37. Replies
    2,436
    Views
    576,102

    Re: CommonControls (Replacement of the MS common controls)

    My bet is that they make a custom resource file with all kinds of manifests (xml nodes) included and that maybe in that heavy weight .res file there is a issue with the manifest.

    Would be...
  38. Replies
    2,436
    Views
    576,102

    Re: CommonControls (Replacement of the MS common controls)

    I can't replicate any SxS error. It would be interesting to know if something is missing in the manifest or if this is just windows setting confusion stuff on certain users.
  39. Replies
    2,436
    Views
    576,102

    Re: CommonControls (Replacement of the MS common controls)

    That was a bug, which was easy to fix now.
    Thanks for reporting.
  40. Re: Int64 test if can fit into Int32 w/o truncation

    I thought that too. So you mean never store a Long Variant and just go full ?
    I will check if I just take VarDecFromI8 or use VariantChangeTypeEx with VT_I8.

    According to this discussion...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width