Search:

Type: Posts; User: Krool

Page 1 of 13 1 2 3 4

Search: Search took 0.65 seconds.

  1. Replies
    2,957
    Views
    724,134

    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...
  2. Replies
    25
    Views
    701

    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...
  3. Replies
    7
    Views
    209

    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.)
  4. Replies
    7
    Views
    209

    Re: MouseUp-Event not firing using DragDetect

    But why raise MouseUp when the mouse is still down?
  5. Replies
    7
    Views
    209

    Re: MouseUp-Event not firing using DragDetect

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

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

    Re: RtlToFromString - Number Bases

    A byte array passed to a Sub which has ByRef as Variant can have the VT_BYREF flag.
  8. Replies
    2,957
    Views
    724,134

    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.
  9. Replies
    2,957
    Views
    724,134

    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.
  10. Replies
    2,957
    Views
    724,134

    Re: CommonControls (Replacement of the MS common controls)

    I quote myself now.. This fix has been applied now.
  11. Replies
    2,957
    Views
    724,134

    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.
  12. Replies
    2,957
    Views
    724,134

    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...
  13. Replies
    2,957
    Views
    724,134

    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


    ...
  14. Replies
    2,957
    Views
    724,134

    Re: CommonControls (Replacement of the MS common controls)

    The PictureAndCaption property is meaningful only when the style property is 0 - Normal.
  15. 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
  16. Replies
    2,957
    Views
    724,134

    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)
    ...
  17. 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...
  18. Replies
    2,957
    Views
    724,134

    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 ?
  19. Replies
    2,957
    Views
    724,134

    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...
  20. Replies
    2,957
    Views
    724,134

    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...
  21. Replies
    2,957
    Views
    724,134

    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...
  22. Replies
    19
    Views
    1,242

    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...
  23. Replies
    2,957
    Views
    724,134

    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:...
  24. Replies
    19
    Views
    1,242

    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)
  25. Replies
    2,957
    Views
    724,134

    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.
    ...
  26. Replies
    5
    Views
    376

    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:
    ...
  27. Replies
    5
    Views
    376

    Re: installing VB6 freezes

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

    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.
  29. 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...
  30. 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...
  31. Replies
    2,957
    Views
    724,134

    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...
  32. 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)...
  33. 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...
  34. 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...
  35. Replies
    2,957
    Views
    724,134

    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)
  36. Replies
    2,957
    Views
    724,134

    Re: CommonControls (Replacement of the MS common controls)

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

    Update released.

    VBCCR17.OCX
  38. Replies
    2,957
    Views
    724,134

    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...
  39. Replies
    31
    Views
    1,557

    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...
  40. Replies
    17
    Views
    773

    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...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width