Search:

Type: Posts; User: Krool

Page 1 of 13 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    3,415
    Views
    1,319,975

    Re: CommonControls (Replacement of the MS common controls)

    You seem right. The MS RichTextBox doesn't use EM_SETMARGINS, it only uses EM_SETTARGETDEVICE.
    So, how shall we proceed?

    My proposal would be to keep using EM_SETMARGINS and just call...
  2. Replies
    3,415
    Views
    1,319,975

    Re: CommonControls (Replacement of the MS common controls)

    Thanks. Should be fixed now.



    Ok, but EM_SETTARGETDEVICE should'nt be for margins at all. Why are you passing the margin at lParam ? It's suppossed to be a line width...
  3. Replies
    3,415
    Views
    1,319,975

    Re: CommonControls (Replacement of the MS common controls)

    softv, thranks for bringing this up again.
    Should be fixed now.
  4. Replies
    3,415
    Views
    1,319,975

    Re: CommonControls (Replacement of the MS common controls)

    No, the ListView is "SingleLine" in report-mode.
    The only way is the tile view mode where the sub-items are each separate lines. But it's similar to icon view.. so no report-mode style.
  5. Replies
    3,415
    Views
    1,319,975

    Re: CommonControls (Replacement of the MS common controls)

    Just replace the OLEGuids.tlb with the latest version to your syswow64 folder.
  6. Replies
    3,415
    Views
    1,319,975

    Re: VBCCR not work anymore after upgrading to 1.7.38

    Thanks for your comment.
    I'm not willingly exposing it. I assume it's automagically due to DataBindingBehavior set to 1 - vbSimpleBound on some controls..
  7. Replies
    7
    Views
    5,052

    Re: Last day of month ...

    another method worth mention

    msgbox DateSerial(vyear,vmonth + 1, 0)

    This reduces the - 1 operation and looks cleaner/compact.
  8. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Please more context.
  9. Replies
    3,415
    Views
    1,319,975

    Re: CommonControls (Replacement of the MS common controls)

    I see your point. I guess that's a behavior change in the underlying richedit library. The msRichTextBox uses richedit v1.0.
  10. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Thanks for your below suggestion. I think it's not necessary.
    The below code would do the same:

    With VBFlexGrid1
    .ColSort(8) = FlexSortStringNoCaseAscending
    .ColSort(6) = FlexSortDateDescending...
  11. Replies
    3,415
    Views
    1,319,975

    Re: CommonControls (Replacement of the MS common controls)

    I hate this printer margin topic on the richtextbox. It was an issue already several times and I thought now it's properly done.
    So, do you have a sample demo which shows the different outcomes...
  12. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Update released.

    Bugfix in the .RowPosition() and .ColPosition() property. (thanks to Seniorchef for reporting this)

    Now it is a round trip swap instead of a direct swap between index and...
  13. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    There is the RowPos() and RowPosition() properties (and Col resp.) and they already behave like in msFlexGrid.
  14. Re: How to handle a callback which uses cDecl as its calling convention

    Just for completeness to this thread. Below a small ASM wrapper for cdecl callbacks. (by Paul Caton)
    That for example I use for my VBSQLite lib.


    Option Explicit
    Private Declare Sub CopyMemory...
  15. Replies
    3,415
    Views
    1,319,975

    Re: CommonControls (Replacement of the MS common controls)

    The fix is released.

    You only need the MaskColor "active" during the .Add to the ImageList. So you can turn it on before, add picture to the ImageList, then turn off in the next code line.

    Btw,...
  16. Replies
    3,415
    Views
    1,319,975

    Re: CommonControls (Replacement of the MS common controls)

    You could try setting the UseMaskColor to true and set the MaskColor accordingly. (You need to check the exact RGB, probably it's only vbWhite value)

    EDIT: gonna update the fix with the...
  17. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Small update release.

    Setting .FlexDataSource to nothing will invalidate the grid now and does not cause an immediate redraw anymore.

    I got a scenario where that forced complete redraw is...
  18. Replies
    3,415
    Views
    1,319,975

    Re: picbox > ImageList extract to dragIcon causes black square

    Thanks for the report. I just want to test something.

    Instead of

    ImageList1.ListImages.Add , "arse", picDragIcon.Image
    can you test following ?

    Set picDragIcon.Picture = picDragIcon.Image...
  19. Replies
    3,415
    Views
    1,319,975

    Re: CommonControls (Replacement of the MS common controls)

    Unfortunately not. BTNS_CHECK and BTNS_DROPDOWN are not combinable.
  20. Replies
    3,415
    Views
    1,319,975

    Re: CommonControls (Replacement of the MS common controls)

    The MinDate for DTP is 01-01-1900 and MaxDate is 31-12-9999.



    1) I have no influence about the appearance on high DPI for the DTP.

    2) You may set the today's date at Form_Load.
  21. Replies
    3,415
    Views
    1,319,975

    Re: CommonControls (Replacement of the MS common controls)

    Mith,
    it looks like a VB6 bug itself.

    When I place a new innocent UserControl on a PictureBox it has the same issue.

    Maybe others may comment on this VB6 bug. It should be a known issue...
  22. Replies
    3,415
    Views
    1,319,975

    Re: TextBox Validate Event bug

    I can't replicate with the OCX or std-exe. Can you bundle a demo?
  23. Replies
    65
    Views
    17,115

    Re: VB SQLite Library (COM-Wrapper)

    Update released.

    The sqlite3 c source was upgraded from version 3.34.1 (2021-01-20) to 3.37.2 (2022-01-06).
  24. Thread: sqlite3win32

    by Krool
    Replies
    12
    Views
    5,924

    Re: sqlite3win32

    The sqlite3 c source was upgraded from version 3.34.1 (2021-01-20) to 3.37.2 (2022-01-06).
  25. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Maybe your PC (non-unicode language settings) is in Arabic, thus DBCS mode is on. That's why you can place "fake" unicode in the VB6 IDE but in fact in other language (non-DBCS mode) will fail ....
  26. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Use a different font. E.g. Microsoft Sans Serif instead of MS Sans Serif.
  27. Replies
    3,415
    Views
    1,319,975

    Re: CommonControls (Replacement of the MS common controls)

    It's LvwListItem and not anymore ListItem. Also please remove the references to MS common controls.
  28. Replies
    3,415
    Views
    1,319,975

    Re: CommonControls (Replacement of the MS common controls)

    The Text property cannot have the DISPID_TEXT and DISPID_DEFAULT at the same time. Thus the hidden helper property.

    DateDblClick - ooh missed that one. However, the MonthView (SysMonthCal32...
  29. Replies
    3,415
    Views
    1,319,975

    Re: CommonControls (Replacement of the MS common controls)

    Update released.

    Included the GetTextRange function in the RichTextBox control.

    Included [_Default] property in ComboBoxW/FontCombo/VirtualCombo/ImageCombo.
    The MS ImageCombo doesn't have a...
  30. Replies
    3,415
    Views
    1,319,975

    Re: CommonControls (Replacement of the MS common controls)

    ComboBoxW - That's a bug! The VB.ComboBox has a hidden [_Default] property that redirects to the Text property. The VB.Label has the same logic and the LabelW control considered that but...
  31. Replies
    12
    Views
    755

    Re: tag value in a mflexgrid cell

    The VBFlexGrid control offers an in-built .CellToolTipText property.
  32. Replies
    3,415
    Views
    1,319,975

    Re: CommonControls (Replacement of the MS common controls)

    For example to list all ImageLists available etc. in a property
  33. Replies
    3,415
    Views
    1,319,975

    Re: CommonControls (Replacement of the MS common controls)

    I found out the reason. The (Custom) item raises IPerPropertyBrowsingVB::GetPredefinedStrings with an DispID of 0.
    But since the Value property is the default property it also has a DispID of 0......
  34. Replies
    3,415
    Views
    1,319,975

    Re: CommonControls (Replacement of the MS common controls)

    Hi Eduardo,

    1) When an app is themed it has no focus rect but it will show focus rects once you use the tab key once on a window. However, this does not work in VB6. That's why the focus rect are...
  35. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    The .DataSource property is not binding for CRUD.
    It's just reading a recordset and filling the grid.
  36. Replies
    3,415
    Views
    1,319,975

    Re: CommonControls (Replacement of the MS common controls)

    You shall take VisualStyles.bas from the demo in post #1 of this thread.
  37. Replies
    3,415
    Views
    1,319,975

    Re: CommonControls (Replacement of the MS common controls)

    MaskColor is only applicable for Style = 1 Graphical.
    Same with DownPicture and DisabledPicture.

    For Style = 0 Normal you can either use Picture or ImageList.

    ' The image list should contain...
  38. Replies
    3,415
    Views
    1,319,975

    Re: CommonControls (Replacement of the MS common controls)

    It's recommended to use the better Microsoft Sans Serif font instead of MS Sans Serif.
  39. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Good catch. That's a bug. Fixed now.
    Thanks
  40. Replies
    3,415
    Views
    1,319,975

    Re: CommonControls (Replacement of the MS common controls)

    It must be replaced by the .DroppedDown property (get/let).
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width