Search Results - VBForums

Search:

Type: Posts; User: Krool

Page 1 of 8 1 2 3 4

Search: Search took 0.02 seconds.

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

    Thanks. Will take this fix into account for the next update.
  2. Re: CommonControls (Replacement of the MS common controls)

    There is already a integrated 'SetExplorerTheme' method for ListView and TreeView.
    But why do you use LVM_SETCALLBACKMASK in your code?
  3. Re: CommonControls (Replacement of the MS common controls)

    There is a integrated 'ItemHeight' property in the ListBoxW. Tried that?

    Also better make so

    Call SendMessage(ListBoxW1.hWnd, LB_SETITEMHEIGHT, 0,ByVal 40&)
    instead of

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

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

    Then an error will be raised when the interface IOleInPlaceActiveObjectVB is not supported. (That is the case when ActiveControl.Object is not a TextBoxW, for instance)
    But as there is an error...
  6. Re: CommonControls (Replacement of the MS common controls)

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

    There will be a big enhancement in the CommonDialog class in the next update.

    One of the things included will be a 'InitDialog' event where the hDlg is provided. There you can modify the dialog...
  8. Re: CommonControls (Replacement of the MS common controls)

    Thank you. Correction will be included in the next update.
  9. Re: CommonControls (Replacement of the MS common controls)

    Done. Also to note that this "bug" so called only exist in the Std-EXE Version.
    The OCX version will just work fine with this, without any additional code.
  10. Re: CommonControls (Replacement of the MS common controls)

    Reserved post for VBCCR12.OCX in the future. :)
  11. Re: CommonControls (Replacement of the MS common controls)

    Yes, because of performance issues. Especially on the ListView. (obtaining real index by a key in a ImageList control)
    For for non-mass items containing controls it can be an option, as the ToolBar...
  12. Re: CommonControls (Replacement of the MS common controls)

    I am planning to end support of the ToolTip control and remove it from the project. As there are plenty of ToolTip classes already available.
  13. Re: CommonControls (Replacement of the MS common controls)

    There is no license on the library.
    We can discuss source-code for the library. But not the whole. This can be a reason for CLSIDs conflicts for future in the world wide web. :)
  14. Re: CommonControls (Replacement of the MS common controls)

    This is not a bug. The VB.Form is forwarding the IOleInPlaceActiveObject::TranslateAccelerator method to the UserControl. If now a UserControl (e.g. TextBoxW) is embedded into another UserControl...
  15. Re: CommonControls (Replacement of the MS common controls)

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

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

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

    For the panel's 'Style' property values 'Time', 'Date' and 'DateTime' the vbShortDate/vbShortTime will be used for the GetDisplayText function. Just like the MS StatusBar control does.

    However, I...
  19. Re: CommonControls (Replacement of the MS common controls)

    Update released.
    Quite important when using the ImageList control. (Though it effects actually only WinXP)
  20. Re: CommonControls (Replacement of the MS common controls)

    I googled this and it seems that if an Input Method Editor is processing key input and the event is keydown, it returns always 229. Thus this is not a bug on my side.



    Yes. The BackColor is...
  21. Re: CommonControls (Replacement of the MS common controls)

    Open the .frm files in the text editor and change it directly there in one swoop. And for instance for the TabStrip control. Of course the 'InitTabs' property will cause an error when converting from...
  22. Re: CommonControls (Replacement of the MS common controls)

    So the crash appears when adding the references? Are there any forms "open" when you do that. Maybe try to close all forms, save, add references, save. ?

    And what happens if turn back on unhandled...
  23. Re: CommonControls (Replacement of the MS common controls)

    And what is the sense of this? Will the exe run without the OCX registered on another system?
  24. Re: CommonControls (Replacement of the MS common controls)

    The OCX itself will need the VB6Runtimes. There is no way for this.
    Included it in a resource?! Never heard of it.
  25. Re: CommonControls (Replacement of the MS common controls)

    What does not work? The property expects a value based on the scale mode of the container, e.g. in twips.

    So - in twips - for a 5 pixel margin you would need a value of 75 (5*15) and not 5. (5...
  26. Re: CommonControls (Replacement of the MS common controls)

    IEnumVARIANT is hidden. It is a member of the stdole library. (stdole2.tlb)
    This library is referenced in VB6 by default.
  27. Re: CommonControls (Replacement of the MS common controls)

    When you resize with the mouse then the resize handler will be fired constantly. But when you resize only 'once' you will see the point I mean. However..
  28. Re: CommonControls (Replacement of the MS common controls)

    I'm happy with the UserControl_Resize handler how it is now. Only the Padding component was wrong, thanks for this. But the rest is OK for me.

    You removed the row count check at the bottom. But if...
  29. Re: CommonControls (Replacement of the MS common controls)

    It would be good to know which IME and what key exactly generates two WM_CHARs.
    But the following would solve this case also?

    Case WM_CHAR
    Dim KeyChar As Integer
    If TextBoxCharCodeCache...
  30. Re: CommonControls (Replacement of the MS common controls)

    I recommend the use of the CommonDialog class instead of a control in this case.
    But, you can "wrap" the COmmonDialog class into a new UserControl, for you special needs. :)

    For the ToolBar:
    You...
  31. Re: CommonControls (Replacement of the MS common controls)

    You mean like following?

    Private Const WM_UNICHAR As Long = &H109, UNICODE_NOCHAR As Long = &HFFFF&

    Case WM_UNICHAR
    If wParam = UNICODE_NOCHAR Then WindowProcControl = 1 Else SendMessage...
  32. Re: CommonControls (Replacement of the MS common controls)

    In that case (sending WM_CHAR manually) the wParam value of the sendmessage function will be used. Because the cache variable is zero and therefore the value of wParam gets not altered. So only when...
  33. Re: CommonControls (Replacement of the MS common controls)

    Thanks to georgekar, I have finally a perfect solution. :)


    Private Type POINTAPI
    X As Long
    Y As Long
    End Type
    Private Type TMSG
    hWnd As Long
    Message As Long
  34. Re: CommonControls (Replacement of the MS common controls)

    But still there is one important issue.
    Open notepad and any of your Unicode TextBox. When you enter a dead key now in the notepad, for e.g. `. Then switch to the Unicode TextBox and enter the the...
  35. Re: CommonControls (Replacement of the MS common controls)

    Ok, then following way would solve it. (Though I cannot test)

    Case WM_CHAR
    Static SurrogateKeyChar As Integer
    Dim KeyChar As Integer, UniChar As String
    If...
  36. Re: CommonControls (Replacement of the MS common controls)

    Yes I removed that. Because 2 Unicode characters by a single keystroke just happens when you press a dead key twice. (for e.g. pressing two times ^ will result in ^^ or 2x time WM_CHAR with key char...
  37. Re: CommonControls (Replacement of the MS common controls)

    I finally got it now to work, the solution was to save the keystate of the dead key.

    @ DrUnicode, can you please test again on your side?


    Private Declare Function GetKeyboardState Lib...
  38. Re: CommonControls (Replacement of the MS common controls)

    I found the reason. I skipped the following from your original code:

    If Not IsUnicode(ToCharacterEx) Then 'This may not be necessary
    ToCharacterEx = ChrW$(KeyAscii)
    End If

    As I...
  39. Re: CommonControls (Replacement of the MS common controls)

    Can you please show me your source code implemented into my TextBox? (couldn't get it work by me straight from your original code)
  40. Re: CommonControls (Replacement of the MS common controls)

    Ok, it seems to work now. Can anyone else check it out. By replacing the code in my TextBox as following:


    Private TextBoxKeyCodeCache As Integer, TextBoxDeadKeyCodeCache As Integer


    Case...
Results 1 to 40 of 291
Page 1 of 8 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.