Search:

Type: Posts; User: Krool

Page 1 of 13 1 2 3 4

Search: Search took 0.35 seconds.

  1. Replies
    2,945
    Views
    711,561

    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.
  2. Replies
    2,945
    Views
    711,561

    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...
  3. Replies
    2,945
    Views
    711,561

    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


    ...
  4. Replies
    2,945
    Views
    711,561

    Re: CommonControls (Replacement of the MS common controls)

    The PictureAndCaption property is meaningful only when the style property is 0 - Normal.
  5. 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
  6. Replies
    2,945
    Views
    711,561

    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)
    ...
  7. 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...
  8. Replies
    2,945
    Views
    711,561

    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 ?
  9. Replies
    2,945
    Views
    711,561

    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...
  10. Replies
    2,945
    Views
    711,561

    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...
  11. Replies
    2,945
    Views
    711,561

    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...
  12. Replies
    19
    Views
    947

    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...
  13. Replies
    2,945
    Views
    711,561

    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:...
  14. Replies
    19
    Views
    947

    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)
  15. Replies
    2,945
    Views
    711,561

    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.
    ...
  16. Replies
    5
    Views
    328

    Re: installing VB6 freezes

    Edit: Not data environment. Disable ADO, RDS and OLE DB Providers..

    Select Data Access and press the Change Option... button

    it should look like this:
    ...
  17. Replies
    5
    Views
    328

    Re: installing VB6 freezes

    Uncheck the data environment in the installation. It's a known cause for this "scenario".
  18. Replies
    11
    Views
    489

    Re: Repaint the NonClient area with API

    HERE :)

    So there are two possible ways doing a proper non-client redraw:

    1.

    RedrawWindow hWnd, 0, 0, RDW_FRAME Or RDW_INVALIDATE Or RDW_NOCHILDREN ' Or RDW_UPDATENOW

    2.
  19. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Something is wrong on your side. The OLEGuids.tlb is 1:1 the same for VBFlexGrid and for the VBCCR controls.
    Maybe you have an outdated VBFlexGrid download prior to 15-Apr-2020..

    On a PC without...
  20. Re: Programmatically adding and using buttons on a VB form.

    Beside LaVolpe's good point the SetClassLong API is certainly not good for subclassing due it effects other buttons that are created "between" your Form_Load and Form_Unload. Consider using...
  21. Replies
    2,945
    Views
    711,561

    Re: CommonControls (Replacement of the MS common controls)

    Yes, it's removed. It anyhow didn't protect the IDE in case of an Error stop/break. It just resolved the End button.
    So, in order to strip down the project it got removed. If you wish full IDE...
  22. Re: [VB6] ActiveX CommonControls (Replacement of the MS common controls)

    Don't know for VBCCR16. It wasn't sorted..

    For VBCCR16 I would check with RegEdit.. For instance {F37CEF7D-65C4-4F00-9874-B698A08EB948} returns in RegEdit (CTRL+F find method)...
  23. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    That indicates that there is a problem in the underlying API.

    Somehow MS Word (and others) maybe renders differently and don't rely on OS API's.

    If that's true then I cannot help you because I...
  24. Re: [VB6] ActiveX CommonControls (Replacement of the MS common controls)

    The GUID's are now sorted alphabetically. (beside CommonDialog class kept on top)
    All unnamed GUID's belong to their "upper" control.

    Example: the GUID C3853FC8-E7D9-43D4-88AA-4DF0651E66B1 is...
  25. Replies
    2,945
    Views
    711,561

    Re: CommonControls (Replacement of the MS common controls)

    There is a dedicated thread for the OCX version. (https://www.vbforums.com/showthread.php?841929-VB6-ActiveX-CommonControls-%28Replacement-of-the-MS-common-controls%29&p=5129155#post5129155)
  26. Replies
    2,945
    Views
    711,561

    Re: CommonControls (Replacement of the MS common controls)

    VBCCR17.OCX now released.
  27. Re: [VB6] ActiveX CommonControls (Replacement of the MS common controls)

    Update released.

    VBCCR17.OCX
  28. Replies
    2,945
    Views
    711,561

    Re: CommonControls (Replacement of the MS common controls)

    Update released.

    Enhancement for the FrameW control.

    The UserControl.ForwardFocus is now set to True. (UserControl.CanGetFocus keeps = False)
    178379

    With this change and using the internal...
  29. Replies
    31
    Views
    1,415

    Re: VB6 to VBA

    I certainly only use the VBA7 constant and never actually the Win64 constant.


    #If VBA7 Then
    Private Declare PtrSafe Function GetActiveWindow Lib "user32" () As LongPtr
    #Else
    Private Declare...
  30. Replies
    17
    Views
    659

    Re: What does the With statement do internally?

    I also like to use "With New" when something is just needed for a quick time and thus want to save a variable declaration. (kind of lazy style, but reduces source code length)
    It's certainly also...
  31. Replies
    4
    Views
    336

    Re: How do I make VB6 use SxS in design-time?

    I second that. Just register them on dev machine and deploy regfree via SxS.

    Also the usage is then early-bound.
    With your hack, Elroy, the DLL is then late-bound?
  32. Replies
    2,945
    Views
    711,561

    Re: CommonControls (Replacement of the MS common controls)

    1. Set .SingleSel property to False. When having it to True it auto-collapses...

    2. Set the .NoImages property of a TvwNode to True.
    Red marked text is the addition in your code.

    For Each n In...
  33. Re: How do I make VB6 NOT automatically register ActiveX DLL that it compiles?

    You can include the regsvr32 register/unregister directly in the shell context menu.

    So after compilation it is very quick to right click the dll and click unregister.

    That's at least my way..
  34. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Thanks. Fixed!

    In the internal DrawFixedCell method was a stupid bug due to a change.


    If Not .ForeColor = -1 Then
    OldTextColor = SetTextColor(hDC, WinColor(PropForeColorFixed))
    Else
    ...
  35. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    The best is to use the VBFlexGrid in a "virtual" way.
    Means using the .FlexDataSource property. Schmidt provided a sample project somewhere showing how to use it for a SQLite Recordset.
    It would be...
  36. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Update, the OCX supports now accelerator keys in a VBA environment.

    https://www.vbforums.com/images/ieimages/2020/08/1.gif

    In order to replace to the new version of the OCX it is strongly...
  37. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Yes it's a known issue. Contrary to a VB.Form the VBA.UserForm doesn't implement IOleInPlaceActiveObject. That's why it doesn't get the "pre" accelerator keys.

    EDIT:
    I successfully "workarounded"...
  38. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Don't know what you mean. Please be as precise as possible. For me the arrow down key works as expected.
  39. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    When you populate your grid use .ColKey to define the column headings as keys.
    After you messed up the grid with drag drop you can use .ColIndex(Key) to get the related column index.
  40. Replies
    28
    Views
    2,488

    Re: [vb6] Fix Palette when IDE Manifested - AddIn

    No suggestion. Just wanted to say it was a good idea to include it in this add-in and not release another stand-alone add-in.
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width