Search:

Type: Posts; User: lrd_VB6

Search: Search took 0.04 seconds.

  1. Re: [VB6] Undocumented ListView feature: Highlight column

    https://www.geoffchappell.com/studies/windows/shell/comctl32/controls/listview/messages/index.htm?tx=26,27
  2. Replies
    3,724
    Views
    1,846,829

    Re: CommonControls (Replacement of the MS common controls)

    Hello,

    Here is the update of my converter for the latest version of VBCCRxx (16).
    Translates your code using VBCCR from 11 to 15 for version 16.
    All converted files are saved (.bak) as a...
  3. Re: [VB6] ActiveX CommonControls (Replacement of the MS common controls)

    Hello,

    Here is the last update of my converter for the latest version of VBCCRxx (15).
    Translates sources using VBCCR xx to version 15.
    All converted files are saved (.bak) as a precaution.
    ...
  4. Re: [VB6] ActiveX CommonControls (Replacement of the MS common controls)

    Hello,

    Here is the update of my converter for the latest version of VBCCRxx (15).
    Translates sources using VBCCR 11 to 14 for version 15.
    All converted files are saved (.bak) as a...
  5. Replies
    3,724
    Views
    1,846,829

    Re: CommonControls (Replacement of the MS common controls)

    Hello,

    Sorry for my English, (google translated!)

    Me too, I noticed this effect with "LockWindowUpdate (0)":(. The whole screen is refreshed, causing the flicker.
    I prefer the "ValidateRect /...
  6. Replies
    3,724
    Views
    1,846,829

    Re: CommonControls (Replacement of the MS common controls)

    Hello

    I changed my converter to the new version (v14)

    1 Open your project with "Charger VBP"
    2. The conversion is done ....
    3. The project is converted for the new version (v14):thumb:
    ...
  7. Replies
    3,724
    Views
    1,846,829

    Re: CommonControls (Replacement of the MS common controls)

    Hello,

    happy to have made the project forward.

    Another little detail to "tease"
    In the following code:

    If ImageListHandle = 0 Or (PropImageWidth = 0 Or PropImageHeight = 0) Then
    If...
  8. Replies
    3,724
    Views
    1,846,829

    Re: CommonControls (Replacement of the MS common controls)

    Hello

    I have a small test program that highlights the "bug" (problem)
    The buttons "ImageSize" sets the size of the empty ImageList to 0 or 16
    "Test 1" creates a imageList The TreeView without...
  9. Replies
    3,724
    Views
    1,846,829

    Re: CommonControls (Replacement of the MS common controls)

    Dim tbb As VBCCR13.TbrButton, pic as IPictureDisp

    ''pic.Image = loadpicture from file or resource

    With Imagelist1
    If .Count=0 then .ImageWidth=0: .ImageHeight=0
    ...
  10. Replies
    3,724
    Views
    1,846,829

    Re: CommonControls (Replacement of the MS common controls)

    Hello,

    I also found this "bug".
    In "ImageList" , if "ImageWidth" <> 0 or "ImageHeiht" <> 0 AND the collection "ImageList" is empty, the addition does not work and without error.

    I think the...
  11. Replies
    3,724
    Views
    1,846,829

    Re: CommonControls (Replacement of the MS common controls)

    Hello

    Very nice work, it is "almost" perfect.;)
    I have a small problem with the control "TreeView"
    If using the properties "BackColor" or "ForeColor", control is refreshed even if "Redraw" =...
  12. Replies
    3,724
    Views
    1,846,829

    Re: CommonControls (Replacement of the MS common controls)

    Hello

    I have adapted the "VBCCR10_To_11" converter has the new version.
    It is now called "VBCCR_11_To_12.OCX_converter"

    Manual:
    1 - Save the OCX in the manner of your choice.
    2 - Register...
  13. Replies
    3,724
    Views
    1,846,829

    Re: CommonControls (Replacement of the MS common controls)

    hello
    Just for information:

    Why do this:

    Buffer = String(PropMaxFileSize, vbNullChar)
    If Not PropFileName = vbNullString Then
    If Len(PropFileName) >...
  14. Replies
    3,724
    Views
    1,846,829

    Re: CommonControls (Replacement of the MS common controls)

    hello

    I just found by chance a bug in "CommonDialog.ShowOpen"
    It is not possible to use "FileName" as the default file.

    The simple solution is to add


    Public Function ShowOpen() As Boolean...
  15. Replies
    3,724
    Views
    1,846,829

    Re: CommonControls (Replacement of the MS common controls)

    great!

    I look forward to it!
    I still was using MsCommonDialog.ocx because of that.

    For cons, I still have the graphical bug on tooltips (on XP) with "ToolTips.ctl."
    I think this is related to...
  16. Replies
    3,724
    Views
    1,846,829

    Re: CommonControls (Replacement of the MS common controls)

    Hello

    I tested the tooltips proposed by VBOCX11 and I do not understand why they have the default graphics that do not have my class ToolTips ...
    I watched how the window is initialized...
  17. Replies
    3,724
    Views
    1,846,829

    Re: CommonControls (Replacement of the MS common controls)

    hello

    Just for know, have you tried my code?

    I removed this part, because it worked very well without.

    When the property "Wrappable"is on, resizing works perfectly (on XP).
    In either case,...
  18. Replies
    3,724
    Views
    1,846,829

    Re: CommonControls (Replacement of the MS common controls)

    hello

    Too bad, I'm disappointed.:cry:
    You have not used the code that I had proposed in the attached zip file.
    I just tested the release and it does not work as well as mine.
    Roll style "Align...
  19. Replies
    3,724
    Views
    1,846,829

    Re: CommonControls (Replacement of the MS common controls)

    Oups
  20. Replies
    3,724
    Views
    1,846,829

    Re: CommonControls (Replacement of the MS common controls)

    hello

    Too bad, I'm disappointed.:cry:
    You have not used the code that I had proposed in the attached zip file.
    I just tested the release and it does not work as well as mine.
    Roll style "Align...
  21. Replies
    3,724
    Views
    1,846,829

    Re: CommonControls (Replacement of the MS common controls)

    hello

    I slightly modified the control "Toolbar" because I thought it was not working properly.
    Especially the height that I was not correct.

    I was submiting your appobation but my tests are...
  22. Replies
    3,724
    Views
    1,846,829

    Re: CommonControls (Replacement of the MS common controls)

    hello

    I wish I could have access to the positioning of the box CommonDialog
    I refer in particular to the message INIT_DIALOG (I think).
    Is that possible?

    Or a simpler something like a...
  23. Replies
    3,724
    Views
    1,846,829

    Re: CommonControls (Replacement of the MS common controls)

    hello,

    Just a question:
    Why keep the VBCCR10.OCX version?

    I wrote (quickly) a converter to go from version 1.0 to 1.1.
    I have used it to transform my sources without much effort.
    This...
  24. Replies
    3,724
    Views
    1,846,829

    Re: CommonControls (Replacement of the MS common controls)

    I just test it has now, everything seems to work normally.:thumb:
    Sorry for the delay, but without electricity, it is not easy:bigyello:
  25. Replies
    3,724
    Views
    1,846,829

    Re: CommonControls (Replacement of the MS common controls)

    I had already tried the method

    REGSVR32 / u VBCCR11_v7.OCX
    REGSVR32 VBCCR11_9.OCX
    but it does not work

    here is the part of the register of the object IObjectSafety

    Windows Registry Editor...
  26. Replies
    3,724
    Views
    1,846,829

    Re: CommonControls (Replacement of the MS common controls)

    hello

    I'm a little annoyed. I can not seem to install "VBCCR11.OCX" version 9!
    Attached is a picture of the problem during installation.
    119627
    There are special handling to do?
    I think a...
  27. Replies
    3,724
    Views
    1,846,829

    Re: CommonControls (Replacement of the MS common controls)

    - Create a copy of "VB6.EXE" and rename to "VB6_XP.EXE".
    - copy attached file in the same folder. (manifest).
    - Rename VB6_XP.EXE.manifest.txt in VB6_XP.EXE.manifest
    - execute "VB6_XP.EXE"
    You...
  28. Replies
    3,724
    Views
    1,846,829

    Re: CommonControls (Replacement of the MS common controls)

    Good topic!

    I do not know if you know this place but the following link should interest you.

    This should simplify some routines.

    http://www.xbeat.net/vbspeed/i_VBVM6Lib.html

    As in the...
  29. Replies
    3,724
    Views
    1,846,829

    Re: CommonControls (Replacement of the MS common controls)

    Yes

    All controls that use a "ListImage" work like that.

    ToolBar, ListView etc..

    Example code snippet I wrote


    Private Function ModeleActif() As Boolean
  30. Replies
    3,724
    Views
    1,846,829

    Re: CommonControls (Replacement of the MS common controls)

    Everything is in the Zip file!

    Before


    Public Function Add(Optional ByVal Relative As Variant, _
    Optional ByVal Relationship As TvwNodeRelationshipConstants , _
    ...
  31. Replies
    3,724
    Views
    1,846,829

    Re: CommonControls (Replacement of the MS common controls)

    Hello

    I proceeded a "few" changes to routines TreeView and Node(s).
    I submit for your approval.

    Now the Image and SelectedImage properties function as in the original.
    You can use the keys as...
  32. Replies
    3,724
    Views
    1,846,829

    Re: CommonControls (Replacement of the MS common controls)

    Hello

    In "TvwNodes.cls", Is it possible to change


    Public Function Add(Optional ByVal Relative As Variant, _
    Optional ByVal Relationship As TvwNodeRelationshipConstants, _...
  33. Replies
    3,724
    Views
    1,846,829

    Re: CommonControls (Replacement of the MS common controls)

    Normally it should have been be the good version!:ehh:
    Mystere

    Just for information,

    What version of the VB6.EXE you use?

    What interest to change the type of ControlsEnum in...
  34. Replies
    3,724
    Views
    1,846,829

    Re: CommonControls (Replacement of the MS common controls)

    confirmed

    With VB6.EXE 6.0.81.76 level.
    116225


    With VB6.EXE 6.0.97.82
    OK No problems.

    I found the cause and Workarounds in the following links.
  35. Replies
    3,724
    Views
    1,846,829

    Re: CommonControls (Replacement of the MS common controls)

    Yes

    When I saw my version of VBE.EXE and that of my folder ServicePacks VB6, I had a doubt.
    VB6.EXE 6.0.81.76 (current) and VB6.EXE 6.0.97.82 (Service Pack)

    After a New Update (again)
    VB6.EXE...
  36. Replies
    3,724
    Views
    1,846,829

    Re: CommonControls (Replacement of the MS common controls)

    Normally Yes

    VBA Version
    116209

    VB6.EXE 6.0.81.76
    VB6IDE.DLL 6.0.97.82
    VB6.DLL 6.0.0.9782

    What would you like me to try the other?
Results 1 to 36 of 36



Click Here to Expand Forum to Full Width