Search Results - VBForums

Search:

Type: Posts; User: Krool

Page 1 of 10 1 2 3 4

Search: Search took 0.02 seconds.

  1. Re: CommonControls (Replacement of the MS common controls)

    Update released.

    Could be important when using the ListView control as the Shift parameter in the ItemActivate event was not properly set. (LVN_ITEMACTIVATE handler)
  2. Re: CommonControls (Replacement of the MS common controls)

    Important update released.

    Mouse events now again in correct order in the ImageCombo, TreeView and ListView control.
    And there are raised 'After'. How it should be.

    Problem was an internal...
  3. Re: CommonControls (Replacement of the MS common controls)

    Oh.
    This is a side effect caused by my update from 21-Nov-2015.
    The update was reasonable.
    Will look soon for a fix to bring the events in right order.
    This bug now affects only ListView and...
  4. Re: CommonControls (Replacement of the MS common controls)

    Update released. (Discard the update yesterday)

    There was an issue with the CoolBar. It can be reproduced with the Demo project.

    Compile .exe at 96 DPI setting. Change system to 120 DPI and you...
  5. Re: CommonControls (Replacement of the MS common controls)

    You can ignore this message in the IDE as long as your .exe is "manifested" and linked to comctl32.dll version 6.0.
    In order to fully operate with the LinkLabel in the IDE you have to define a...
  6. Re: CommonControls (Replacement of the MS common controls)

    1. Thought that also.

    2. should not be an issue as my controls are working in VB6 only anyway.

    3. Some of mine are. E.g. ComboBox, Slider, CoolBar. But the internal resizing is based on the...
  7. Re: CommonControls (Replacement of the MS common controls)

    You mean the following addition in the UserControl_Resize handler fixes the DPI issue?


    If 1440 \ Screen.TwipsPerPixelX = 1440 / Screen.TwipsPerPixelX Then
    Extender.Move Extender.Left,...
  8. Re: CommonControls (Replacement of the MS common controls)

    The UserControl ScaleMode is already set to pixels. I dont get it why Extender.Width/Height should work.
  9. Re: CommonControls (Replacement of the MS common controls)

    Ok, thats for sizing the UserControl itself. But the issue Jonney raised was with MoveWindow and fitting the ListBox window into the UserControl space. That could be simply solved by GetClientRect...
  10. Re: CommonControls (Replacement of the MS common controls)

    But Extender.Width could be in twips? (ScaleMode of container)
    So maybe just use GetClientRect from UC's hWnd and size according to this. Does that work?
  11. Re: CommonControls (Replacement of the MS common controls)

    The MoveWindow API is just responsible to fill the ListBox window to the UserControl space. As the MoveWindow API expects pixels I use the UserControl.ScaleWidth/Height property. (ScaleMode of the...
  12. Re: CommonControls (Replacement of the MS common controls)

    You could open the .frm files in notepad and do "Replace All". For example "VB.TextBox" to "VBCCR12.TextBoxW" and so on.
  13. Re: CommonControls (Replacement of the MS common controls)

    The OCX is for VB6 only.
  14. Re: CommonControls (Replacement of the MS common controls)

    No, without rewrite it is not possible to get the controls to work without the *VB interfaces.

    You could try to create VB class objects for all *VB interfaces and replace them accordingly.
  15. Re: CommonControls (Replacement of the MS common controls)

    I don't get what you want. Even the non *VB interfaces are needed in the OLEGuids.tlb in order to work.

    What you can do is to build your own .tlb with only the *VB interfaces from OLEGuids.tlb and...
  16. Re: CommonControls (Replacement of the MS common controls)

    You could use the OCX version. No OLEGuids.tlb needed for it.
  17. Re: CommonControls (Replacement of the MS common controls)

    IEnumeration is equivalent to IEnumVARIANT, but "unrestricted". Thus it can be implemented into objects in VB.
    IEnumerationVB is a custom interface, but actually not needed anymore cause its now...
  18. Replies
    13
    Views
    1,239

    Re: [VB6] UserControl Ambient.UserMode workaround

    Just "another" way to determine if the UserControl is in design-mode or run-mode is to check if the root window of the UserControl (which is placed on a VB.Form, VB.PropertyPage or another...
  19. Re: CommonControls (Replacement of the MS common controls)

    Update released.

    Indeed, this bug happens on the ListView and TreeView control after the update on 21-Nov-2015.

    But this has been fixed now. Thanks!
  20. Re: CommonControls (Replacement of the MS common controls)

    Update released.
  21. Re: CommonControls (Replacement of the MS common controls)

    I was thinking to include "Copies" and "Orientiation" property to my CommonDialog class.
    But, when so thinking. I should also include, as you did, "PaperKind". And also others such as "ColorMode",...
  22. Re: CommonControls (Replacement of the MS common controls)

    I think it has something todo with the error trapping settings. As you have this problem only in the IDE. Please advise what you have set.

    Tools -> Options... -> General -> Error Trapping
    132415
  23. Re: CommonControls (Replacement of the MS common controls)

    I agree with "Copies" and "Orientation". But there is no such "PaperKind" property in the MS CommonDialog control. (?)
  24. Re: CommonControls (Replacement of the MS common controls)

    You need to specify the flag 'CdlPDUseDevModeCopiesAndCollate'.
    Then the VB.Printer.Copies will be set after the show printer dialog.

    In the MS CommonDialog you also need to specify the flag...
  25. Re: CommonControls (Replacement of the MS common controls)

    Yes, you can do.



    You have to take care in your code to print more than once when .Copies is > 1.
  26. Re: CommonControls (Replacement of the MS common controls)

    Printer.Orientation will be set already after dialog automatically.
  27. Re: CommonControls (Replacement of the MS common controls)

    Important update released.

    Control arrays are now working properly on all controls.
  28. Re: CommonControls (Replacement of the MS common controls)

    I do now understand what you mean. Yes, the reason is indeed due to control array.
    The cause for this is a little bit complicated.
    I will bring an update very soon to fix this issue on all controls.
  29. Re: CommonControls (Replacement of the MS common controls)

    This is normal. TabClick event is firing in response to TCN_SELCHANGE. So whenever the selected tab changes the event is firing.



    This is because you have set the Transparent property of my...
  30. Re: CommonControls (Replacement of the MS common controls)

    1. The Event is firing by me, even in an array of controls. Please let me have your project to resolve.

    2. It's quite tricky to do it properly. And not straight forward. Because you need to...
  31. Re: CommonControls (Replacement of the MS common controls)

    1)

    I did some test on the ImageLists.

    Here is the result when returning the 'Picture' property of a ListImage.

    131591

    Here is the result when returning the 'ExtractIcon' property of a...
  32. Re: CommonControls (Replacement of the MS common controls)

    The Divider property is not for the buttons. Its for the control itself. (Displays a divider line at bottom)
  33. Re: CommonControls (Replacement of the MS common controls)

    Use the 'Separator' with a CustomWidth value set. then its same as placeholder.
  34. Re: CommonControls (Replacement of the MS common controls)

    You have to set TextAlignment property to 'Bottom' instead of 'Right'.
    Then you get the correct result.

    131351131353

    And, about the point with the MinButtonWidth and MaxButtonWidth. This is...
  35. Re: CommonControls (Replacement of the MS common controls)

    Im not able to check right now...

    Is the TextAlignment property set to 'Bottom' instead of 'Right'?
  36. Re: CommonControls (Replacement of the MS common controls)

    @ Karl77,

    my ToolBar works correctly in your test, but only when the MinButtonWidth and MaxButtonWidth are set to 0 (zero). Or by keeping MinButtonWidth and MaxButtonWidth like you have set but...
  37. Re: CommonControls (Replacement of the MS common controls)

    Can you create an sample project that demonstrate the error and post it here? Or send me via PM. Thanks
  38. Re: CommonControls (Replacement of the MS common controls)

    Node.Next does not work as 'Next' is a locked keyword in VB6. You need to use Node.NextSibling instead in my TreeView.
  39. Re: CommonControls (Replacement of the MS common controls)

    I have tested on a TreeView created at design-time and one created at run-time and both are firing the KeyDown event with vbKeyDown. So do you have problem in getting the KeyDown event firing or...
  40. Re: CommonControls (Replacement of the MS common controls)

    Important update released fixing the following issue:



    The issue was that on dynamically added controls only the "InitProperties" event in the UserControl is fired. Problem was that on some...
Results 1 to 40 of 378
Page 1 of 10 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.