Search:

Type: Posts; User: Krool

Page 1 of 13 1 2 3 4

Search: Search took 0.70 seconds.

  1. Replies
    4
    Views
    214

    Re: Property Bag alternative - Data Bag

    Or XML text. Many public authorities, at least in Germany, do persist their records as XML. (e.g. resident registration for interchange between systems)
  2. Replies
    2,977
    Views
    746,915

    Re: CommonControls (Replacement of the MS common controls)

    No. SysListView32 does not support it.
  3. Replies
    60
    Views
    1,226

    Re: hao to call Sqlite3.dll with cdecl?

    The fastest approach for VB6 is to compile the sqlite 3 library with __stdcall instead of __cdecl.
  4. Re: [VB6] ActiveX CommonControls (Replacement of the MS common controls)

    You may use the Documentation and Update/Compile Utility from MountainMan to upgrade all references in all Forms from VBCCR16 to VBCCR17.
  5. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Done. :)

    The blue marked code was now inserted into the DataSource property.


    If PropFixedRows > 0 Then
    For iCol = 0 To (PropFixedCols - 1)
    VBFlexGridColsInfo(iCol).Key =...
  6. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    MSFlexGrid has no .ColKey/.ColIndex ...
    So if VSFlexGrid behave as Test 3 then I will check this out soon and maybe implement your change into the "master" version.
  7. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    When you use .ColIndex and did not assign .ColKey before then you get the error.
    Your Test 2 is the correct approach.
    Test 3 is also ok. But on each update you need to keep your changes in mind.
  8. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Thanks. Done
  9. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    You use an outdated "Startup.bas".
    Please download the complete VBFlexGridDemo and replace everything. (FlexInitIDEStopProtection does not exist anymore since a while)
  10. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Update related to yesterday's bugfix.

    Included new flags RCPF_FORCETOPROWMASK and RCPF_FORCELEFTCOLMASK which is used in the internal SetRowColParams method.

    Private Sub SetRowColParams(ByRef...
  11. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    This is a bug. I see in the screen that you have the .ScrollBars property set to 'Vertical'.
    In the normal MS(H)FlexGrid this will result that the LeftCol will not change upon mouse clicks and key...
  12. Replies
    2,977
    Views
    746,915

    Re: CommonControls (Replacement of the MS common controls)

    VBCCR17 is planned to be last major release. People also have a desire for a constant stable release.
    If any bugs appear they will be of course fixed.

    So feel free to make another fork..
  13. Replies
    2,977
    Views
    746,915

    Re: CommonControls (Replacement of the MS common controls)

    IMO any hooks should reside in an App and not in this package.

    So you can use the CommandButtonW.ToolTipText property and use this Code to enable Unicode and multi-line. (See bottom post by...
  14. Replies
    2,977
    Views
    746,915

    Re: CommonControls (Replacement of the MS common controls)

    The ToolTipText property of the main object itself (VBControlExtender, e.g. CommandButtonW1.ToolTipText etc.) are the intrinsic properties by VB6 and thus ANSI.

    Only ToolTipText properties in...
  15. Replies
    2,977
    Views
    746,915

    Re: CommonControls (Replacement of the MS common controls)

    If turning VisualStyles to False then you can define the BackColor property on the StatusBar control. No magic in this case.
  16. Replies
    2,977
    Views
    746,915

    Re: CommonControls (Replacement of the MS common controls)

    The ItemSelect event is intended. The V6 MS.ListView behaves the same.
    However, the V5 MS.ListView behaves different.

    You can make the AutoSelectFirstItem property set to False (mimic V5 MS...
  17. Replies
    27
    Views
    1,177

    Re: Flashing a warning on the taskbar

    This is what I often use to signal attention.
    It flashes as long until it gets clicked by the user.
    (No timer needed as the FlashWindowEx has flags to let the OS time it)

    Private Type FLASHWINFO...
  18. Replies
    7
    Views
    308

    Re: MouseUp-Event not firing using DragDetect

    Use the SetCapture API on your UserControl.hWnd. then you will get the MouseUp event. (MouseUp manual raise only when DragDetect is 0.)
  19. Replies
    7
    Views
    308

    Re: MouseUp-Event not firing using DragDetect

    But why raise MouseUp when the mouse is still down?
  20. Replies
    7
    Views
    308

    Re: MouseUp-Event not firing using DragDetect

    If DragDetect returns 1 then the mouse button is still down(?)
  21. Replies
    7
    Views
    308

    Re: MouseUp-Event not firing using DragDetect

    If DragDetect returns 0 then raise event 'MouseUp' manually within your UserControl. The message is already eaten by the API and it is ensured the mouse is up, so it is safe to raise the event...
  22. Replies
    12
    Views
    790

    Re: RtlToFromString - Number Bases

    A byte array passed to a Sub which has ByRef as Variant can have the VT_BYREF flag.
  23. Replies
    2,977
    Views
    746,915

    Re: CommonControls (Replacement of the MS common controls)

    VBFlexGrid.HitTest is a Sub. The return values are stored as property .HitResult/.HitRow/.HitCol.

    ComputeControlSize is also a Sub. The params are passed ByRef. So use variables.
  24. Replies
    2,977
    Views
    746,915

    Re: CommonControls (Replacement of the MS common controls)

    The FontCombo.BuddyControl can only buddy another FontCombo control.
    Means the first one has the font names and the buddied second One FontCombo the font sizes respectively.
  25. Replies
    2,977
    Views
    746,915

    Re: CommonControls (Replacement of the MS common controls)

    I quote myself now.. This fix has been applied now.
  26. Replies
    2,977
    Views
    746,915

    Re: CommonControls (Replacement of the MS common controls)

    In a dropped down state the additional search kicks in by windows.
    So all normal and no issue here.
  27. Replies
    2,977
    Views
    746,915

    Re: CommonControls (Replacement of the MS common controls)

    The ComboBoxW1 in the ComCtlsDemo project has AutoSelect property as False. Please ensure to set it to True.



    I could replicate it on Windows XP, but not on Windows 10.
    The root cause is that...
  28. Replies
    2,977
    Views
    746,915

    Re: CommonControls (Replacement of the MS common controls)

    I cannot replicate your problem. I just tested AllowOverType property (which toggles OverTypeMode property upon Insert key) and it worked.

    Please bundle a demo showing the issue. Thanks


    ...
  29. Replies
    2,977
    Views
    746,915

    Re: CommonControls (Replacement of the MS common controls)

    The PictureAndCaption property is meaningful only when the style property is 0 - Normal.
  30. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    You can disable a column from being edited by handling the BeforeEdit event and return Cancel = True.

    The chart will illustrate the flow of the various events: 167489
  31. Replies
    2,977
    Views
    746,915

    Re: CommonControls (Replacement of the MS common controls)

    The ListBackColor is only in effect when the UseListBackColor property is set to True. (will return list back color brush on WM_CTLCOLORLISTBOX only when UseListBackColor is True, default is False)
    ...
  32. Re: align to center the text in first column of listview

    I circumvented the issue on my VBCCR.ListView.

    The trick is just when using LVM_INSERTCOLUMN to apply (for index 0 only; left first column) always LVCFMT_LEFT on insert and afterwards change it...
  33. Replies
    2,977
    Views
    746,915

    Re: CommonControls (Replacement of the MS common controls)

    I cannot replicate. I tried comctl32.dll both v5 and v6 (manifested) and no white spaces either way for the VBCCR MonthView. (VisualStyles = False for v6 comctl32.dll)

    Can you provide a demo ?
  34. Replies
    2,977
    Views
    746,915

    Re: CommonControls (Replacement of the MS common controls)

    When you read the property description it gives you the answer:






    The .Left property description gets overwritten by the VBControlExtender.
    It is actually not needed to declare it in the...
  35. Replies
    2,977
    Views
    746,915

    Re: CommonControls (Replacement of the MS common controls)

    Well, you showed a picture with a MonthView "out-of-place".
    I attempted to fix the position. Don't know. Thought of

    .Extender.Move .Extender.Left, .Extender.Top
    screwing things up. So if it's...
  36. Replies
    2,977
    Views
    746,915

    Re: CommonControls (Replacement of the MS common controls)

    OK, please test following change for MonthView, if you confirm I will release a bugfix:

    Before

    Private Sub UserControl_Resize()
    Static InProc As Boolean
    If InProc = True Then Exit Sub
    InProc...
  37. Replies
    22
    Views
    1,825

    Re: Charts controls with GDI+

    I did not mean that. The form (non-client) is automatically scaled by the OS. If the DPI changed the size and font and graphics needs to draw "bigger" or "smaller" as per current monitor. And that's...
  38. Replies
    2,977
    Views
    746,915

    Re: CommonControls (Replacement of the MS common controls)

    VBCCR is system dpi-aware. (pre-condition for everything that shall come on-top)

    PerMonitorV2 is extremely difficult to manage properly. (even MS stated that much needs to be handled)
    Example:...
  39. Replies
    22
    Views
    1,825

    Re: Charts controls with GDI+

    I don't understand your PerMonitorV2. For me the graphic is scaled like before. (comparing the graphic of your Form2 with the one of LeandroA)
  40. Replies
    2,977
    Views
    746,915

    Re: CommonControls (Replacement of the MS common controls)

    When you look in the "List of revisions" then all new features as of 25-Feb-2020 are not contained in the v1.6.
    However, bugfixes which do not break binary compatibility were revised also in v1.6.
    ...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width