Search:

Type: Posts; User: Krool

Page 1 of 13 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    3,034
    Views
    807,295

    Re: CommonControls (Replacement of the MS common controls)

    1.
    I think it is tied to the regional settings.

    2.
    Be sure that .HookEvents is False. Otherwise you get the Win 3.1 style open dialog.
    Or what do you mean with small old looking ? Maybe post a...
  2. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    If the Frozen rows/cols are implemented such a filter bar could be done "manually". (In conjunction with AllowUserEditing)
  3. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Yes, word wrapping is not "considered" in the grid's TextWidth/TextHeight functions. (Which the AutoSize function uses)

    But there are reasons that it is good like that, e.g. to auto size a column...
  4. Replies
    3,034
    Views
    807,295

    Re: CommonControls (Replacement of the MS common controls)

    Update released.

    Harmonization in the ContextMenu events. The X and Y parameters are now always originated to the control's hWnd.
  5. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Update released.

    There will be a next 1.5 OCX of the VBFlexGrid in future. Some features in mind are planned to be added, e.g. FrozenRows/Cols, ListBox style SelectionMode etc...
    As first step...
  6. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Obviously the vsFlexGrid handles it the same way.




    [form!]VSFlexGrid.AutoSize Col1 As Long, [ Col2 As Long ], [ Equal As Boolean ], [ ExtraSpace As Single ]
    ...
  7. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Update released.

    The AutoSize method now works when using a custom data source. (IVBFlexDataSource)

    In addition I allowed the FindItem function when using a custom data source.
    So, of course...
  8. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Thanks for your comments.

    It is indeed a bug. The AutoSize should fetch the data via IVBFlexDataSource_GetData, if applicable.
    I will fix it soon.

    Concerning the second optional param.
    Well,...
  9. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    I love it when somebody wants to be spoon-feeded.

    I don't know what you exactly need. So below some possible scenarios.

    1. Only single row auto-size. In this example row #5
    ...
  10. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Yes, use the .AutoSize method.
  11. Replies
    3,034
    Views
    807,295

    Re: CommonControls (Replacement of the MS common controls)

    This feature is not in-built included as it requires complete owner-drawing of the header items.
    So, you can implement it but it requires some homework.

    I can give you the starting point.
    ...
  12. Replies
    3,034
    Views
    807,295

    Re: CommonControls (Replacement of the MS common controls)

    How is the SingleSel property set?
  13. Replies
    3,034
    Views
    807,295

    Re: CommonControls (Replacement of the MS common controls)

    The process is this:

    The Std-EXE version is the leading source. So the list of revision contains everything for it.
    From time to time (in the past maybe every year or so) the latest state was...
  14. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    RowHeightMin property.
    Or "manually" each row via RowHeight property.
  15. Replies
    4
    Views
    284

    Re: FILL COMBOBOX in one shot only

    Only with a virtual combo box.
  16. Replies
    44
    Views
    3,269

    Re: Any technical reason not to use Call in VB6?

    Since this thread is back..

    My personal preference is to use the keyword "Call" when invoking a "Sub" method.
    So I know while reading code if a function can return something or not. (We ignore...
  17. Replies
    3,034
    Views
    807,295

    Re: CommonControls (Replacement of the MS common controls)

    I can't replicate this. Please provide a demo.
  18. Replies
    3,034
    Views
    807,295

    Re: CommonControls (Replacement of the MS common controls)

    Update released for the TreeView control.



    True. Strange that nobody noticed so far. :)
    The NodeClick/NodeDblClick fired whenever TVM_HITTEST returned an hItem <> 0.
    However, now it requires...
  19. Replies
    3,034
    Views
    807,295

    Re: CommonControls (Replacement of the MS common controls)

    Update released for the StatusBar control.



    You could have defined panels 2 and 3 as autosize spring to solve the issue. However, I did not give the tip to you as it should also work as you...
  20. Replies
    3,034
    Views
    807,295

    Re: CommonControls (Replacement of the MS common controls)

    Can you describe more what you mean?
    If you mean to fit the longest text?

    If yes, you can try .HorizontalExtent = .GetIdealHorizontalExtent()

    Or .DropDownWidth = .GetIdealHorizontalExtent() +...
  21. Replies
    18
    Views
    624

    Re: Making an exe that wo'nt requiere vb6FR.dll

    You don't need any code in your project. It's outside of your project.

    Make exe as usual, then crack it before sending to the client.

    I won't give anything of a beep from Avira. It's typical to...
  22. Replies
    3,034
    Views
    807,295

    Re: CommonControls (Replacement of the MS common controls)

    Update released for TextBoxW control.



    I did find a compromise now.. I really did not want to have a new overhead with some quirks...
    So ES_LEFT/ES_CENTER/ES_RIGHT works now in Windows XP as...
  23. Replies
    18
    Views
    624

    Re: Making an exe that wo'nt requiere vb6FR.dll

    You can "crack" the exe to replace VB6FR.DLL to msvbvm60.dll.

    https://codes-sources.commentcamarche.net/source/4917-se-passer-de-vb6fr-dll-facilement

    Private Sub Command1_Click()
    FileCont = ""...
  24. Replies
    3,034
    Views
    807,295

    Re: CommonControls (Replacement of the MS common controls)

    It's really a pain in the ...
    This here again good example.

    I am considering a small overhead (e.g. like done in the ComCtlsW2KCompatibility function)
    The overhead is only once per process...
  25. Replies
    4
    Views
    322

    Re: VBFlexGrid Questions (Kroll)

    Do you move the mouse between press down and release up?
    If you are on row 5 on down and off beyond on up you get no CellClick event and a MouseRow of 6. (Like the MSFlexGrid would do also)

    EDIT:...
  26. Replies
    4
    Views
    322

    Re: VBFlexGrid Questions (Kroll)

    1. You have used the "CellClick" event. Try switching to the "Click" event.

    2. The SelectionMode 1 - ByRow will fix the col at the first non-fixed col. Try using SelectionMode 3 - FreeByRow to...
  27. Replies
    3,034
    Views
    807,295

    Re: CommonControls (Replacement of the MS common controls)

    Update released.

    Bugfix for the FrameW control related to yesterday update. (there is always something when changing something...)

    @ Erwin69, OCX got updated. (1.7.4)



    Will check out soon.
  28. Replies
    3,034
    Views
    807,295

    Re: CommonControls (Replacement of the MS common controls)

    Update released.

    Critical bugfix in the FrameW control.
    Mouse events were scaled to pixels instead of twips.



    The ScaleMode of the UserControl was set to pixels instead of twips.
    This has...
  29. Replies
    3,034
    Views
    807,295

    Re: CommonControls (Replacement of the MS common controls)

    I tested a shape in a FrameW control and the X and Y coordinates correspond correctly. It's origin is of course the FrameW. Like for the VB.Frame.
    Please provide demo showing otherwise.



    What...
  30. Re: [VB6] ActiveX CommonControls (Replacement of the MS common controls)

    You can download it from Github also. (Without it being archived)
  31. Re: [VB6] VBCDeclFix - The Add-in allows you to use Cdecl functions in VB6 IDE.

    Thats very comfortable. :-) nice
  32. Re: Krool's VBFlexGrid -How to adjust row height and col width to eliminate grey area

    Looks good. You may add ".BorderStyle = FlexBorderStyleNone" for completeness.
    I tested this and I do NOT see a grey area left "on the right side" as you wrote.. Can you share a picture/demo ?
    ...
  33. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Update released.

    Bugfix in the Rows/Cols/FixedRows/FixedCols property.
    The effect is mostly when having the ScrollBars property set to 0 - None.

    FixedRows/FixedCols need the...
  34. Re: Krool's VBFlexGrid -How to adjust row height and col width to eliminate grey area

    Why you magic offset 30?
    You can set the .GridColorFixed property to match your .BackColor property.
    This way the outline will not visually disturb you. (Ofcourse set .GridLines and .GridLinesFixed...
  35. Re: Krool's ListView and ListBox -How do I configure the number of Columns?

    The ListBoxW has only a "MultiColumn" property (True or False) and no "Columns" property such the MS ListBox has.

    Tip: Use the "ColumnWidth" property in the ListView. (can be set at run-time only,...
  36. Re: Krool -Listview How to set Backcolor or a row & Bug in Picture property ?

    The RES will manifest the compiled App. If you want the IDE manifested you need to make a manifest for VB6.exe
  37. Replies
    3,034
    Views
    807,295

    Re: CommonControls (Replacement of the MS common controls)

    I confirm the issue and clearing the mouse capture before raising the event fixes both issue you encountered. I am just double checking if this is the "correct" solution before I do an update...
  38. Re: Is the VB6 community capable to grab the bull by its horns?

    We need a Resource Editor replacement. LaVolpe is doing an AddIn. Though I don't know the progress, hopefully not abandoned.
  39. Re: Krool -Listview How to set Backcolor or a row & Bug in Picture property ?

    Not a bug in the Picture property.
    The description says:
    "Returns/sets the background picture. Requires comctl32.dll version 6.0 or higher."

    So it is a limitation in the SysListView32 that your...
  40. Re: WH_KEYBOARD_LL x64bit Windows 10 no longer works !

    removed

    Edit: Oops just noticed you have code for VBA 7. (LongPtr)
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width